General discussion

Locked

web Application

By nco00 ·
Hy,

I need to know how can I connect my web form to an access database.
Is it by edditing the web.config.
or by creating an ordinar:
OledConnection
OledbDataadapter
and a Dataset??

I tried these methode but got errors in the dataadapter.fill.

Please it's urgent tell me what to do.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by amoljpatil In reply to web Application

dim con as sqlclient.sqlconnection("Data Source=server;Initial Catalog=catalog;Integrated Security=True")
dim cmd as sqlclient.sqlcommand("select * from table1",con)
dim ds as dataset
cmd.fill(ds,"table1")
FGrid.datasource=ds

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums