K
Karim
I have a stored procedure that's called in a loop with a different
paramater each time and a typed dataset that gets filled through a
sqldataadapter as in:
this.sqlDataAdapter2.Fill(dsFunding2, "Table" + i.ToString());
I know that the first iteration of the stored procedure returns 18 rows.
The problem is that when I do dsFunding2.Tables[0].Rows.Count, it returns 0
instead of 18. When I do dsFunding2.Tables[1].Rows.Count, I get 18.
And later the rows count for each iteration seems ok. The problem is with
the first datatable.
I expected datatable[0], the first datatable, to contain the first
resultset. Is this normal behaviour?
Karim
paramater each time and a typed dataset that gets filled through a
sqldataadapter as in:
this.sqlDataAdapter2.Fill(dsFunding2, "Table" + i.ToString());
I know that the first iteration of the stored procedure returns 18 rows.
The problem is that when I do dsFunding2.Tables[0].Rows.Count, it returns 0
instead of 18. When I do dsFunding2.Tables[1].Rows.Count, I get 18.
And later the rows count for each iteration seems ok. The problem is with
the first datatable.
I expected datatable[0], the first datatable, to contain the first
resultset. Is this normal behaviour?
Karim