ADO.Net in JScript Question
From: slimasian (evn22_at_drexel-dot-edu.no-spam.invalid)
Date: 05/03/04
- Next message: VB Programmer: "Error when connected to Access MDB"
- Previous message: RS: "XSD Schema and SQL database"
- Next in thread: Mary Chipman: "Re: ADO.Net in JScript Question"
- Reply: Mary Chipman: "Re: ADO.Net in JScript Question"
- Messages sorted by: [ date ] [ thread ]
Date: 3 May 2004 14:05:06 -0500
Hey guys,
Relative newbie to ADO here. I wanted to see if I could perhaps
receive some guidance from the experts in here. I need to create an
ADO connection to a SQL Server database in JScript. I read SOME
material on MSDN, but it is very confusing. Just a few simple
questions...any help at all would be extremely appreciated:
1) How do I create an ADO connection through JScript? Once I do have
a connection, all I want to do is a simple query that will return
only one row...I'd assume once the ADO is open, I'd do something
similar to sqlConnection.ExecuteNonQuery, a la VB.NET?
2) Once my query has executed, how can I pass that value onto a
variable? Like I said, my query will only return one row, and I am
only selecting one value. How do I pass that onto a variable in
JScript?
Thanks a lot for the help, guys.
slim...
- Next message: VB Programmer: "Error when connected to Access MDB"
- Previous message: RS: "XSD Schema and SQL database"
- Next in thread: Mary Chipman: "Re: ADO.Net in JScript Question"
- Reply: Mary Chipman: "Re: ADO.Net in JScript Question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|