Because the SQLEnumerator does not supporting async calling, I have added delegates to call those methods asynchronously. NET 2.0, Sql Command object supports async calling to the database.

I use this feature to get all tables from the selected database.

I have never used the Ole Db Data Adapter & Ole Db Command and am not sure what I am doing.

NET Allow Numbers only in a Text Box - Visual Basic .

The application uses an async calling mechanism to make database calls.

Close() con = Nothing End Sub ' Save data back into database Private Sub Button1_Click(By Val sender As System. I copied this code into a project, ran it and the "Data Grid View1. The question marks are just placeholders for the data that will be used to update the database. I used to rock and roll every night and party every day. Now I'm lucky if I can find 30 minutes a week in which to get funky. Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!

This line in Form_Load should be throwing an object reference error: Data Grid View1. Fill(my Data Set, "Table1") Then you try to access it with "My Table". Then in the button click sub, make that reference the same.

After Begin Invoke(), the user is free to perform any task. This is how you can invoke a method asynchronously by using a delegate.

Here is the call back method that will handle all call backs from different methods.

This let me allow sorting and, in case you do not want to show any columns, you can do it here.

Here is one of the sample methods that gets SQL Server instances asynchronously.

I have faced a very common problem of cross thread exception.