Mike Belcher wrote:
> Im still confused a little. I tried the below but it Doesn't work. It
> is probably easy for one of you masters of .Net on here.
>
>
> 'Create a DataSet ----------------------------------------
> Dim objDataSet As New DataSet
> 'Create a DataSet ----------------------------------------
>
> 'Create a DataAdapter ------------------------------------
> Dim objDataAdapter As SqlDataAdapter
> objDataAdapter = New SqlDataAdapter(strSQLstring, objConn)
> objDataAdapter.Fill(objDataSet, "users")
> 'Create a DataAdapter ------------------------------------
>
Try
{
If(objDataSet.Tables[0].Rows[0][0]>1) // usually a key in all my data
tables
( )
}
Catch
{
// your code here for failure to return data
}
I like to try for errors myself.
Stephen Russell
S.R. & Associates
Memphis, TN 38115
901.246-0159
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/