FelixMosses, Thanks for replying so quickly
I tried using the recordset before, because I had it working using traditional ASP, but could not get it to work in ASP.NET because I was using a SQLConnection Object and I could not get the recordset to work with this.
My code was as follows:
Dim mySqlConn As New SqlConnection _
("Data Source=myServer;" _
& "Initial Catalog=mytestdb;" _
& "User ID=sa;" _
& "Password=password")
mySqlConn.Open
Dim myQueryString As String = "Select * from " _
& "table where client_diwor = " _
& varClientRowID & ";"
Dim rsClient
rsClient = Server.CreateObject("ADODB
rsClient.Open = myQueryString,mySqlConn,ad
It may be a problem with my syntax!
I will try your other suggestion. I look forward to you reply on the recordset question.
Fraser
Main Topics
Browse All Topics





by: FelixMosesPosted on 2003-10-08 at 03:48:10ID: 9512421
Fraser.
ORDSET")
U can use the RecordSet as it is ASP.NET. Just use the following.
Dim Rs
Rs=CreateObject("ADODB.REC
NOw u can use all the features of a recordset.
To handle dbnull value u have to check u'r value before assigning it.
Check for System.DBNULL.value=false with u'r value and then try to assign it.
Hope this resolves u'r problem