0
Answer

sql server-database insert

gokhan gokhan

gokhan gokhan

17y
1.9k
1
i guess there is something i am missing,i made the settings of databasedataset and it has the source like;
file:///C:/.../Projects/WindowsApplication3/WindowsApplication3/DataBase.mdf

my database is in the directory above and it does not exist anywhere else,however i try to insert a new info to the database like the code below

                this.TableAdapter.Insert(textBox1.Text.ToString()...);
                MessageBox.Show("Succeeded");
                Application.Exit();
however then there exist another database on the directory below

file:///C:/.../Projects/WindowsApplication3/WindowsApplication3/bin/Debug/DataBase.mdf

and the new row is inserted to the row that new created but this new row isn't inserted to the database i aim to insert

what is the point that i am lacking?

thanx