|
-
Nov 27th, 2003, 05:06 PM
#1
Thread Starter
Hyperactive Member
dataset, does table exist?
How can i tell if a certain table is already in the dataset?
-
Nov 27th, 2003, 06:50 PM
#2
Addicted Member
VB Code:
Dim bolTableExists As Boolean
Dim myTable As DataTable
myTable = myDataSet.Tables("TableName")
If myTable = Nothing Then
bolTableExists = False
Else
bolTableExists = True
End If
You obviously don't need to use the boolean values, basically just use the tables property to find the dataset.
-
Nov 27th, 2003, 11:01 PM
#3
Thread Starter
Hyperactive Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|