Quantcast
Channel: Learn C#
Viewing all articles
Browse latest Browse all 10

How to add a new Row to Dataset at runtime?

$
0
0

Adding a new datarow to dataset

DateTable dt = new DataTable();

DataRow DRow = dt.NewRow();

 DRow[0] = “First Column of New Row”;

dt.Rows.Add(DRow);    //Dset.Tables[“TableName”]. Add(DRow);

Udhaya

Pisquare



Viewing all articles
Browse latest Browse all 10

Trending Articles