Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
zez0
Starting Member
24 Posts |
Posted - 2008-06-18 : 04:21:57
|
| when i make connections to my sql database like that SqlConnection conn = new SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database1.mdf;Integrated Security=True;User Instance=True"); DataSet dszezo = new DataSet(); SqlCommand cmd = new SqlCommand("select * from users", conn); SqlDataAdapter sazezo = new SqlDataAdapter(cmd); //SqlCommandBuilder combuilder = new SqlCommandBuilder(sazezo); sazezo.Fill(dszezo); dataGridView2.DataSource = dszezo; dataGridView2.Visible = true; there errore is in the connection string there were an error occure so what is the problem ?zezo |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-06-18 : 04:27:54
|
Can we please have a look at the error message?It will help us a great deal! E 12°55'05.25"N 56°04'39.16" |
 |
|
|
zez0
Starting Member
24 Posts |
Posted - 2008-06-18 : 04:34:21
|
| the erro is "Error 1 Unrecognized escape sequence zezo |
 |
|
|
zez0
Starting Member
24 Posts |
Posted - 2008-06-18 : 04:55:20
|
| any help ???zezo |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-06-18 : 05:46:23
|
What have your tried this far?Did you GOOGLE "Unrecognized escape sequence"? E 12°55'05.25"N 56°04'39.16" |
 |
|
|
|
|
|