logo       

Testing a DataTable to see if it is assigned (C#): msg#00023

Subject: Testing a DataTable to see if it is assigned (C#)

What is the syntax for the if statement to see if a DataTable has 
been assigned?

i.e.

if (myDT == null)
{
 //Do something
}


"myDT == null" isn't right, but what is?  





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dpFolB/TM
--------------------------------------------------------------------~-> 

 


<Prev in Thread] Current Thread [Next in Thread>