VS BS
-
Visual Studio 2010 says:
Cannot implicitly convert type 'System.Data.DataRowView' to 'System.Data.IDataRecord'. An explicit conversion exists
Really, VS? I've never seen one, MSDN doesn't list an explicit conversion. If you know of one, please show me. * * To clarify; this I ask of VS, not the denizens of the Lounge.
Visual Studio 2010 says:
Unable to cast object of type 'System.Data.DataView' to type 'System.Data.IDataRecord'.
Yeah, I thought so, come back when you make up your mind. I think VS just always says there's an explicit conversion and crosses its fingers. It sure would be nice if DataRow and DataRowView implemented IDataRecord. :sigh: (And I had left off the rant icon.)
-
PIEBALDconsult wrote:
If you know of one, please show me.
Is it a programming quesiton
The Jurassic period produced such an abundance of lethal predators, that the oceans were a virtual STEW OF ASSASSINS - The history channel
Nareesh1 wrote:
Is it a programming quesiton
Even that might qualify as one. :~
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
-
Visual Studio 2010 says:
Cannot implicitly convert type 'System.Data.DataRowView' to 'System.Data.IDataRecord'. An explicit conversion exists
Really, VS? I've never seen one, MSDN doesn't list an explicit conversion. If you know of one, please show me. * * To clarify; this I ask of VS, not the denizens of the Lounge.
Visual Studio 2010 says:
Unable to cast object of type 'System.Data.DataView' to type 'System.Data.IDataRecord'.
Yeah, I thought so, come back when you make up your mind. I think VS just always says there's an explicit conversion and crosses its fingers. It sure would be nice if DataRow and DataRowView implemented IDataRecord. :sigh: (And I had left off the rant icon.)
[^] Thank you for using CodeProject's QA forum where we understand your fingers are tired. And, really, why should you have to suffer the imposition of actually going to look for information yourself when you can come here, post an error message, and get sprayed with a refreshing spritzer of links one of which might actually have some relevance to your error message ? Looking forward to your next errors. :) Cordially, BW
«OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. » Alan Kay's clarification on what he meant by the term "Object" in "Object-Oriented Programming."
-
Visual Studio 2010 says:
Cannot implicitly convert type 'System.Data.DataRowView' to 'System.Data.IDataRecord'. An explicit conversion exists
Really, VS? I've never seen one, MSDN doesn't list an explicit conversion. If you know of one, please show me. * * To clarify; this I ask of VS, not the denizens of the Lounge.
Visual Studio 2010 says:
Unable to cast object of type 'System.Data.DataView' to type 'System.Data.IDataRecord'.
Yeah, I thought so, come back when you make up your mind. I think VS just always says there's an explicit conversion and crosses its fingers. It sure would be nice if DataRow and DataRowView implemented IDataRecord. :sigh: (And I had left off the rant icon.)
object herp = (object) myDataRowView;
IDataRecord derp = (IDataRecord)herp;:rolleyes:
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
object herp = (object) myDataRowView;
IDataRecord derp = (IDataRecord)herp;:rolleyes:
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
Pfft, I wrote,
IDataRecord derp = (IDataRecord) myDataRowView;
, knowing full well that it would fail, just to call VS' bluff. -
[^] Thank you for using CodeProject's QA forum where we understand your fingers are tired. And, really, why should you have to suffer the imposition of actually going to look for information yourself when you can come here, post an error message, and get sprayed with a refreshing spritzer of links one of which might actually have some relevance to your error message ? Looking forward to your next errors. :) Cordially, BW
«OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. » Alan Kay's clarification on what he meant by the term "Object" in "Object-Oriented Programming."
You should have signed that SAK.
-
PIEBALDconsult wrote:
If you know of one, please show me.
Is it a programming quesiton
The Jurassic period produced such an abundance of lethal predators, that the oceans were a virtual STEW OF ASSASSINS - The history channel
Only a rhetorical one.
-
Visual Studio 2010 says:
Cannot implicitly convert type 'System.Data.DataRowView' to 'System.Data.IDataRecord'. An explicit conversion exists
Really, VS? I've never seen one, MSDN doesn't list an explicit conversion. If you know of one, please show me. * * To clarify; this I ask of VS, not the denizens of the Lounge.
Visual Studio 2010 says:
Unable to cast object of type 'System.Data.DataView' to type 'System.Data.IDataRecord'.
Yeah, I thought so, come back when you make up your mind. I think VS just always says there's an explicit conversion and crosses its fingers. It sure would be nice if DataRow and DataRowView implemented IDataRecord. :sigh: (And I had left off the rant icon.)
PIEBALDconsult wrote:
I've never seen one. If you know of one, please show me.
Here you go: 1 :rolleyes: Ok, I am outta here..
Your time will come, if you let it be right.
-
[^] Thank you for using CodeProject's QA forum where we understand your fingers are tired. And, really, why should you have to suffer the imposition of actually going to look for information yourself when you can come here, post an error message, and get sprayed with a refreshing spritzer of links one of which might actually have some relevance to your error message ? Looking forward to your next errors. :) Cordially, BW
«OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. » Alan Kay's clarification on what he meant by the term "Object" in "Object-Oriented Programming."
:thumbsup:
Your time will come, if you let it be right.
-
PIEBALDconsult wrote:
I've never seen one. If you know of one, please show me.
Here you go: 1 :rolleyes: Ok, I am outta here..
Your time will come, if you let it be right.
No no, you're number 1.
-
You should have signed that SAK.
My father told me it was best to rattle the bars of a tiger's cage from the outside, rather than the inside, of the cage. :) cheers, Bill
«OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. » Alan Kay's clarification on what he meant by the term "Object" in "Object-Oriented Programming."
-
No no, you're number 1.
He is not a number, he is a free man!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
He is not a number, he is a free man!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
That's what they want you to think...
-
That's what they want you to think...
Ok, I have no idea what's going on here.. :sigh: Or maybe I am too "innocent" to understand this.. :-O
Your time will come, if you let it be right.
-
Ok, I have no idea what's going on here.. :sigh: Or maybe I am too "innocent" to understand this.. :-O
Your time will come, if you let it be right.
Precisely... ;)
-
Ok, I have no idea what's going on here.. :sigh: Or maybe I am too "innocent" to understand this.. :-O
Your time will come, if you let it be right.
-
My father told me it was best to rattle the bars of a tiger's cage from the outside, rather than the inside, of the cage. :) cheers, Bill
«OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. » Alan Kay's clarification on what he meant by the term "Object" in "Object-Oriented Programming."
'Tis best to argue with the 800-pound gorilla in the room via the telephone.
Software Zen:
delete this;
-
29 September 1967 – 1 February 1968? Well, it's not that old you know, only about 23 years after that I was born.. :laugh: Sorry, I should't be pointing this out to you, should I?
Your time will come, if you let it be right.