![]() |
| |||||||
| Sponsored Links |
![]() | « Previous Thread | Next Thread » |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
| BLaaaarche gave me some code iin another post. The code is this: strSQL = "Select memberid, membername from members" Set objRS = siteConn.Execute(strSQL) I am getting an error. ASP Error occurred 3/20/2008 9:38:17 AM in Microsoft VBScript runtime Error number: -2146827864 (0x800A01A8) File: /test/Default.asp, line 3 Object required: 'siteConn' Can anyone please explain to me what this is? I am new to ASP, please bare with me!!!!!! Last edited by richyrich; May 6th, 2008 at 11:19 AM. |
| Sponsored Links |
|
#2
| ||||
| ||||
| You have to define what siteConn is: Code: Set siteConn = Server.CreateObject("ADODB.Connection")
strSQL = "Select memberid, membername from members"
Set objRS = siteConn.Execute(strSQL)
__________________ jmurrayhead If you agree with me... click the icon! If my post solved your problem, click the button in the lower right-hand corner of the post.Join our Folding team: DeveloperBarn Folding |
|
#3
| |||
| |||
| got it thanks. |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|