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)
What are Structural Design Patterns?
What are Structural Design Patterns? A structural design pattern establishes a relationship between entities. Thus making it easier for...
Name value collection in C#
Name value collection in C# The name value collection is same like the HashTable. We can set the Object value and the Key to that par...
Case Insesitive string Comparison in .NET
string a="hi"; if (a.ToLower()=="HI".ToLower()) { Response.Write("Matching"); } ...
No comments:
Post a Comment