Hi, josh can i send my file so that you can see my program will not insert if i use like this Code: "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Mydatabase\Book.mdf;Integrated Security=True;User Instance=True" Thank you in advance.
Here is my file.can you please see this..this is just my example because i am still beginner in this vb.net http://www.mediafire.com/?wbc98cb2kkktnft