Click here to Skip to main content
15,914,070 members
Home / Discussions / Database
   

Database

 
GeneralThanks for the answer, but.... Pin
Le centriste7-May-02 5:27
Le centriste7-May-02 5:27 
GeneralRe: Thanks for the answer, but.... Pin
Matt Gullett7-May-02 8:02
Matt Gullett7-May-02 8:02 
GeneralRe: Sensitive data in database tables Pin
AndyG13-May-02 7:45
AndyG13-May-02 7:45 
GeneralOLEdb & SQL with VC6 --> Help me please Pin
Dels5-May-02 23:38
Dels5-May-02 23:38 
GeneralRe: OLEdb & SQL with VC6 --> Help me please Pin
Carlos Antollini7-May-02 8:06
Carlos Antollini7-May-02 8:06 
GeneralRe: OLEdb & SQL with VC6 --> Help me please Pin
Dels11-May-02 19:55
Dels11-May-02 19:55 
GeneralRe: OLEdb & SQL with VC6 --> Help me please Pin
Dels12-May-02 3:09
Dels12-May-02 3:09 
GeneralFilling a DataGrid Pin
Crocmort5-May-02 7:08
Crocmort5-May-02 7:08 
I just started with Visual C# .NET and I have some difficulties using a simple Acess database to show a table on a datagrid... I searched a lot before posting here. I always get this error even if I know the database is not open anywhere:

The Microsoft Jet database engine cannot open the file 'C:\test.mdb'. It is already opened exclusively by another user, or you need permission to view its data.

They say the error is at the line "adapter.Fill(DataSet);"... That's the only 2 lines I've written.

private void Page_Load(object sender, System.EventArgs e)
{
adapter.Fill(DataSet);
DataGrid1.DataBind();
}

adapter is my oleDbDataAdapter, DataSet is the dataSet that have been generated with the adapter when I ask him to SELECT * FROM CLIENT (where client is the only table in test.mdb)... DataGrid1 is my DataGrid control. I did the exact same thing they say to do in the help files in a walkthrough for data-acess with the datagrid control...
GeneralRe: Filling a DataGrid Pin
Mazdak5-May-02 9:00
Mazdak5-May-02 9:00 
GeneralRe: Filling a DataGrid Pin
Crocmort5-May-02 13:51
Crocmort5-May-02 13:51 
GeneralRe: Filling a DataGrid Pin
Mazdak5-May-02 19:10
Mazdak5-May-02 19:10 
GeneralRe: Filling a DataGrid Pin
Crocmort5-May-02 18:02
Crocmort5-May-02 18:02 
GeneralRe: Filling a DataGrid Pin
Mazdak5-May-02 19:12
Mazdak5-May-02 19:12 
GeneralRe: Filling a DataGrid Pin
CSharpLady8-May-02 10:08
CSharpLady8-May-02 10:08 
GeneralAccess auto-query help Pin
alex.barylski4-May-02 17:55
alex.barylski4-May-02 17:55 
GeneralRe: Access auto-query help Pin
Nick Parker5-May-02 16:39
protectorNick Parker5-May-02 16:39 
GeneralRe: Access auto-query help Pin
alex.barylski6-May-02 19:05
alex.barylski6-May-02 19:05 
GeneralUpdating a Access Database Pin
Sparky256DSL4-May-02 7:55
Sparky256DSL4-May-02 7:55 
GeneralRe: Updating a Access Database Pin
l a u r e n4-May-02 23:17
l a u r e n4-May-02 23:17 
GeneralRe: Updating a Access Database Pin
Sparky256DSL5-May-02 4:29
Sparky256DSL5-May-02 4:29 
GeneralSQL Server Desktop - VS NET Pin
Martin Haesemeyer3-May-02 8:12
Martin Haesemeyer3-May-02 8:12 
GeneralDSN question Pin
alex.barylski2-May-02 16:14
alex.barylski2-May-02 16:14 
GeneralRe: DSN question Pin
markkuk2-May-02 19:47
markkuk2-May-02 19:47 
GeneralRe: DSN question Pin
alex.barylski2-May-02 22:38
alex.barylski2-May-02 22:38 
GeneralRe: DSN question Pin
markkuk3-May-02 0:00
markkuk3-May-02 0:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.