While executing the following statement to bind my database to my datagridview, I get this error:
Cannot find table 0.
How can I determine if Tables[0] exists prior to executing this statement? :
myDataView = myDataSet.Tables[0].DefaultView;
I am using SQL Server 2005 Express.