I'm using C# to run a couple stored procedures and return in dataset. I've been using:
if(dset.Tables.Count > 0)
{
for(int i = 0; i < dset.Tables[0].Rows.Count; i++)
{
//some code
}
}
is there a shorter way to do this without the if statement?