|
-
May 16th, 2003, 02:30 AM
#1
Thread Starter
Fanatic Member
Connect Access MDB
how i connect Ms Access DB thru ASP.NET(ADO.NET)
.
also when i click a submit button it's go another page...
how can i do that...
-
May 16th, 2003, 11:10 AM
#2
PowerPoster
About the submit button, use Response.Redirect("MyPage.aspx") in your code.
Connecting to a Access DB is the same as it is for regular windows apps. What are you having problems with?
-
May 17th, 2003, 12:20 AM
#3
Thread Starter
Fanatic Member
thanks for replay...
in ASP i connect the db like this:
dim con
dim rs
dim constr
constr = "Provider=Microsoft.JET.OLEDB.4.0; Data source=E:\mydb.mdb"
set con = server.createObject("ADODB.Connection")
set rs = server.CreateObject("ADODB.Recordset")
con.open constr
rs.open "select * from mytable",con
can u plz tell me how i wrote it in ASP.NET.....
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
|