Hi,
I have this code but I don't know where I have made mistake?
I have 2 tables X & Y in dataset.
Now i would like to loop through records of tableA (in the dataset) and read the
values.
Code:for (long i = 0; i <= oDataSetMessages.Tables["tableA"].Rows.Count; i++) { long lngPrimaryKeyId = Convert.ToInt64(oDataSetMessages.Tables["tableA"].Columns["PrimaryKeyId"]); Response.Write (lngPrimaryKeyId); }
Bookmarks