hai there!..
need someone help regarding vb 2008 as below!!...huhu

1.how to make connection between mysql and visual basic 2008.
2.how to write insert the query...

please3 someone please help me with this..
i goin crazy already...huhuu

:sad::S:'(

Recommended Answers

Dim strCnn As String = "Persist Security Info=False; Data Source=”Your Server name”;UID=”User Id”;PWD=”Your Password” ;Initial Catalog=Databse to connect;"
You can write connection string in Appconfig file or Classfile..
Insert query always good to have in stored procedure than in ur code..

Jump to Post

All 2 Replies

Dim strCnn As String = "Persist Security Info=False; Data Source=”Your Server name”;UID=”User Id”;PWD=”Your Password” ;Initial Catalog=Databse to connect;"
You can write connection string in Appconfig file or Classfile..
Insert query always good to have in stored procedure than in ur code..

Look at this usefull website.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.