PDA

Click to See Complete Forum and Search --> : What's goin on ?


nos
Nov 17th, 2002, 12:39 AM
I get this error "Overload resolution failed because no accesible 'Fill' can be called with these arguments"
for the following code: OleDbDataAdapter.Fill(Users1)

Another problem:
I created a Data Adapter, DBConnection and the dataset. But I get the following error: "Type netDemon.users is not defined"
'netDemon' is the name of my application and 'users' is the name of my dataset. I can see the users.xsd file in my solutions explorer so why is it giving me this error. What's goin' on?

One more thing: how do I implement 'just-in-time' debugging

P.S: This is a re-post from General VB Questions.

husain
Nov 20th, 2002, 02:01 AM
Make sure the database you are tring to access is in the same folder as your application. This is usually in the bin folder while you are developing.

Also, it is a good idea to enclose the code you feel will generate errors in a try catch block. You will get more user-friendly errors.

nos
Nov 22nd, 2002, 05:38 AM
Man .... you are amazing !
that really work, putting my DB in the bin folder.
Thanks alot !