skip to main | skip to sidebar

The all purpose blog

Friday, September 5, 2008

Check dataset is null or not

//To check if the dataset is null or not just count tables in that dataset
if (DS.Tables.Count>0)
{
//Dataset is not null do whatever you want
}
Posted by Mahmad Khoja at 11:17 AM
Labels: Asp.Net

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2011 (14)
    • ►  December (2)
    • ►  October (6)
    • ►  September (4)
    • ►  August (1)
    • ►  February (1)
  • ►  2010 (8)
    • ►  April (1)
    • ►  March (5)
    • ►  February (2)
  • ►  2009 (39)
    • ►  October (8)
    • ►  September (2)
    • ►  August (2)
    • ►  July (2)
    • ►  May (1)
    • ►  April (5)
    • ►  March (14)
    • ►  February (4)
    • ►  January (1)
  • ▼  2008 (69)
    • ►  December (5)
    • ►  November (8)
    • ►  October (9)
    • ▼  September (9)
      • Current Income Tax Slab
      • Convert letters to Uppercase
      • Connection Pooling in Asp.Net
      • Compare case sensitive or case-insensitive string
      • Comp off
      • CMM 5
      • Check dataset is null or not
      • ACID rule
      • @@identity
    • ►  August (38)

About Me

Mahmad Khoja
Khoja Mahmadhusen.A Software Developer (BCA,MscIT,MCP 2.0).
View my complete profile