Witam mam problem ;p nie wiem jak z bazy danych wlazyc do textboxa stringa za pomoc z gory dzieki
oto fragment kodu :
SqlConnection sc = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=" +
@"C:\Documents and Settings\chudy\Moje dokumenty\Visual Studio 2008\Projects\UGK.End\UGK.End\baza.mdf" +
@";Integrated Security=True;Connect Timeout=30;User Instance=True");
SqlDataAdapter sda = new SqlDataAdapter("SELECT * from Tabela", sc);
sc.Open();
string string_imie = "SELECT Imie FROM Tabela WHERE Nr_komputera = " +
textBox8.Text.ToString() + " AND Nazwisko LIKE '" +
textBox9.Text.ToString()+"'";
SqlCommand objCmd = new SqlCommand(string_imie, sc);
textBox3.Text = ???????????????????????????????????;