How to Assign a datarow object in .NET 1.1
- by dotnet-practitioner
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?