|
-
Nov 17th, 2002, 01:39 AM
#1
Thread Starter
Member
What's goin on ?
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.
** Praise none, but the CREATOR **
---------------------
T-break SUX
-
Nov 20th, 2002, 03:01 AM
#2
Junior Member
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.
-
Nov 22nd, 2002, 06:38 AM
#3
Thread Starter
Member
Man .... you are amazing !
that really work, putting my DB in the bin folder.
Thanks alot !
** Praise none, but the CREATOR **
---------------------
T-break SUX
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
|