asp.net dataset each record [Resolved]

Posted by Vanchi050585 under ASP.NET on 6/8/2010 | Views : 1662 | Status : [Member] | Replies : 1
hi everybody,

pls let me know. how to retrieve all records of dataset for calculation with each record?
with sample coding.

Thanks in advance.

Thanks
tvn



Responses

Posted by: Rchennaiah on: 6/8/2010 [Member] Starter

Up
0
Down

Resolved
DataSet ds = new DataSet();

foreach (DataRow dr in ds.Tables[0].Rows)
{

// retrieve each column using dr["columnname or index"]

}

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response