i've linked the database correctly,
but i can't view the value after i drag the table from data source, and my database already saved data.
why? :(
gahhon
13
Junior Poster
Recommended Answers
Jump to PostCan u show u connection code....
Jump to PostWhen you run the project in debug mode (or normally if you have set exceptions) what error messages do you get (if any)? If you get an error it will tell you if it is caused by the connection to the database or something else.
Jump to PostCan u check if the prvider string u are entering is correct....coz ur code worked for me but I just changed my provider...
below is my connection string....
connectionDatabase = New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0.;Data Source=pacs_skan.mdb;Persist Security Info=False;")
for debugging u need to add the debug.print statements .i.e.
…
Jump to PostAdding to a database is similar to what you have above except you have an INSERT or UPDATE statement as your SQL statement. SO, create a database connection object with a valid connection string, create a command object passing in the parameters of your SQL statement and the connection. Then …
Jump to PostFor insert query Click Here
For Executing The Command Click Here
You might want to have …
All 26 Replies
poojavb
29
Junior Poster
gahhon
13
Junior Poster
hericles
289
Master Poster
Featured Poster
gahhon
13
Junior Poster
gahhon
13
Junior Poster
gahhon
13
Junior Poster
poojavb
29
Junior Poster
gahhon
13
Junior Poster
hericles
289
Master Poster
Featured Poster
kRod
49
Junior Poster
gahhon
13
Junior Poster
hericles
289
Master Poster
Featured Poster
gahhon
13
Junior Poster
poojavb
29
Junior Poster
gahhon
13
Junior Poster
hericles
289
Master Poster
Featured Poster
gahhon
13
Junior Poster
gahhon
13
Junior Poster
gahhon
13
Junior Poster
hericles
289
Master Poster
Featured Poster
gahhon
13
Junior Poster
hericles
289
Master Poster
Featured Poster
gahhon
13
Junior Poster
kRod
49
Junior Poster
jezguitarist30
0
Light Poster
gahhon
13
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.