c#
StatCounter
View My Stats
Tuesday, February 5, 2008
To Add Empty Row in DataTable in ADO.NET
To Add Empty Row in DataTable in ADO.NET
if ((Ds.Tables[0].Rows.Count == 0))
{
Ds.Tables[0].Rows.Add(Ds.Tables[0].NewRow());
}
Ds-DataSet Name that containes Tables
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment