ds.Tables["Url"].Rows.Count, will return total number of rows in your "Url" table.
As you know dataset could contains multiple tables.
if you want to know total numbers of tables in your dataset then it will be as below
int count = ds.Tables.Count;
it will return total count of tables in particular dataset .
suppose if you have 3 tables (t1,t2,t3) inside your dataset "ds" .
and u want to know abt total number of rows in any particular table then it should like below
int totalrows = ds.Tables["tableName"].Rows.count;
ie. int totalrows = ds.Tables["t1"].Rows.count;
for t1 table.perfectchourasia-9163, if this helps please login to Mark As Answer. | Alert Moderator