No announcements
Found 3294889 threads
-
21 Votes
Object of type 'X' cannot be converted to type 'X'.
I understand from Evan and Eryang's answers the object can't be deserialize after recompilation.Answered | 5 Replies | 13839 Views | Created by DavidLean - Friday, April 22, 2011 12:12 PM | Last reply by Zalak Shah - Thursday, September 1, 2011 9:38 AM -
4 Votes
Object of type 'mynamespace.myclass' cannot be converted to 'mynamespace.myclass'
The problem isn't about actually converting Types, the problem is that they are exactly the same Types so no actual conversion is needed.Answered | 12 Replies | 487 Views | Created by paulw2 - Wednesday, July 11, 2018 10:08 PM | Last reply by paulw2 - Tuesday, July 17, 2018 3:30 PM -
3 Votes
Unable to cast object of type 'X' to type 'X'
<new object>=(<new object>) <old object> always the new object need to be a newer or same version as the ...Answered | 30 Replies | 121562 Views | Created by Juan Ignacio Gelos - Tuesday, December 13, 2005 12:42 PM | Last reply by BBirajdar - Tuesday, January 19, 2010 7:32 AM -
2 Votes
"Object of type 'System.Runtime.Serialization.TypeLoadExceptionHolder' cannot be converted..." in SerializationBinder
When a type would come in that is a list, the whole Type ends in "]]" so I had to add that like so....Answered | 9 Replies | 2968 Views | Created by Tab S - Wednesday, July 29, 2015 6:02 PM | Last reply by Frank L. Smith - Thursday, July 30, 2015 7:31 PM -
3 Votes
Deserialization: Object of type <type> cannot be converted to type <type>.
to store the serialized object.Answered | 7 Replies | 16679 Views | Created by Douglas Hauck - Friday, July 17, 2009 1:43 PM | Last reply by weciii - Thursday, January 26, 2012 8:35 PM -
3 Votes
Converting an Object Using a String as the Object Type
If you mean with object the Base class of all classes in Net, then there is nothing to convert.Answered | 3 Replies | 736 Views | Created by Ray Brack - Friday, March 7, 2014 1:37 AM | Last reply by Cor Ligthert - Friday, March 7, 2014 11:51 AM -
1 Votes
RenderNext(),show exception 'object type cannot be converted to target type' (RS2000)
Same with us.Answered | 19 Replies | 8932 Views | Created by tchsuaskl - Sunday, November 8, 2009 5:44 PM | Last reply by StressedOut - Friday, February 10, 2012 6:51 PM -
0 Votes
error cannot implicitly convert type object to
thank you so muchAnswered | 5 Replies | 4209 Views | Created by Priya Arun - Monday, November 5, 2018 12:31 PM | Last reply by Zhanglong Wu - Tuesday, November 6, 2018 6:28 AM -
1 Votes
How do i convert type 'object[]' to 'System.Collections.ArrayList
Object []objs_1 = new object[20]; //Convert object array to arraylist ArrayList list = new ...Answered | 4 Replies | 9456 Views | Created by Abhi.Net - Thursday, June 24, 2010 1:57 AM | Last reply by Fafafaalex - Wednesday, June 30, 2010 8:25 AM -
1 Votes
Error converting linq var to custom object type
By definition, a read-only list cannot be written.Answered | 14 Replies | 6806 Views | Created by GemmaJones - Monday, March 1, 2010 1:33 PM | Last reply by Blair Allen Stark - Sunday, October 17, 2010 3:40 PM -
0 Votes
convert object to long?
so: A) What is the difference between (type) and as <type> B) Why am I getting back null when there is a ...Answered | 10 Replies | 26757 Views | Created by Christopher Pisz - Tuesday, February 2, 2010 4:13 PM | Last reply by Christopher Pisz - Tuesday, February 2, 2010 5:40 PM -
0 Votes
Convert Object Type Variable to String
I have records now on a object variable & want to write it to a flat file.Answered | 7 Replies | 11198 Views | Created by Arun Prithviraj - Monday, October 10, 2011 10:46 AM | Last reply by Shailesh Rajak - Monday, October 10, 2011 11:55 AM -
1 Votes
Convert a type to another in a wrapper
OK - Trying to keep this simple - the "alglib.complex" type provided accessors for the "X" and "Y" parts - since I need to further mofify these values ...Answered | 7 Replies | 2214 Views | Created by analoghome - Monday, February 20, 2012 4:43 PM | Last reply by analoghome - Tuesday, February 21, 2012 3:07 AM -
0 Votes
error CS0266: Cannot implicitly convert type 'object' to 'string'
As Timon mentions, you are mixing types.Answered | 4 Replies | 1105 Views | Created by 라바 - Tuesday, May 19, 2020 7:30 AM | Last reply by 라바 - Wednesday, May 20, 2020 2:38 AM -
0 Votes
Converting object array into a datatable
TaylorMichaelL said: Since there is no context of columns or rows you'd end up with a datatable with a single row containing X columns of type object where ...Answered | 3 Replies | 5258 Views | Created by Baji Prasad - Tuesday, November 4, 2008 4:36 PM | Last reply by alihijazi - Monday, July 6, 2009 12:16 PM -
3 Votes
Unable to cast object of type x to type x on setting dataSource to a table
I may pester you guys again if I can't make progress on this.Answered | 12 Replies | 3603 Views | Created by jjobcorp - Sunday, February 19, 2012 10:14 PM | Last reply by Armin Zingler - Tuesday, February 21, 2012 2:37 PM -
3 Votes
Why would converting from a type to the same type be potentially problematic?
So you could assign a D2 instance to an array that actually is an array of D1.Answered | 4 Replies | 1999 Views | Created by B. Clay Shannon - Wednesday, October 2, 2013 9:19 PM | Last reply by Chris-von-der-Wiese - Thursday, October 3, 2013 1:15 PM -
0 Votes
Cannot implicitly convert type
Best regards, Kristin We are trying to better understand customer views on social support experience, ...Answered | 4 Replies | 961 Views | Created by JarodBiker - Friday, March 13, 2015 9:27 AM | Last reply by Kristin Xie - Monday, March 16, 2015 6:30 AM -
1 Votes
Convert Object to List of Type at runtime dynamically
Hi, The list of object is almost the same as a list of type.Answered | 5 Replies | 32718 Views | Created by PadmaSatya - Wednesday, August 24, 2011 5:32 PM | Last reply by Paul Zhou - Thursday, September 1, 2011 6:43 AM -
1 Votes
Convert VarBinary type to Any Type
If "int" comes in TypeName particular row then I want to get Int type object (like we do in c# ...Answered | 9 Replies | 8327 Views | Created by Vipul Langalia - Wednesday, August 8, 2012 9:10 AM | Last reply by SQLZealots - Thursday, August 9, 2012 8:28 AM - Items 1 to 20 of 3294889 Next ›
No announcements