Hi, im .net-beginner and because of that please be patient with me...and
thanks for replies...
I tried this:
access your table with the index of 0 as below.
//string s = (string) myDataSet.Tables[0].Rows[0]["myColumn"];
but i get error message: Specified cast is not valid.
And if I write instead of:
string s = (string) myDataSet.Tables["myTable"].Rows[0]["myColumn"];
this lines:
DataTable table = myDataSet.Tables["myTable"];
DataRow row = table.Rows[0];
object value = row["myColumn"];
I get the same error message:
"Object reference not set to an instance of an object."
and this message appears for this line:
DataRow row = table.Rows[0];
This could mean that I can wrote "myTable" in
DataTable table = myDataSet.Tables["myTable"];
because the error message dont appear for this line.