Search


Monday, March 23, 2009

Dataset to Datarow in c#

dsStyle as my Dataset
row for my Datarow.

Dataset dsStyle = // already assigned some records then i want it to get those data display to the page. also if you want to put it on the option box you can do that also.


results.Append("All Style");
foreach (DataRow row in dsStyle.Tables[0].Rows)
{
results.Append("" + DB.RowField(row, "CATEGORYCODE").ToString() + "");
}

No comments:

Post a Comment