vs2003 : assign datarow object
Posted
by dotnet-practitioner
on Stack Overflow
See other posts from Stack Overflow
or by dotnet-practitioner
Published on 2010-03-16T18:33:36Z
Indexed on
2010/03/16
18:41 UTC
Read the original article
Hit count: 261
currently I am doing this...
object s = new object(); ... s = mydatarow["mycolumn"];
What I would like to do is...
DataRow r = null; ... r = mydatarow["mycolumn"];
and I get an error saying that can not covert from object to DataRow..
is there a better way of doing this?
© Stack Overflow or respective owner