i dont know how to read from database SQL.
i try this :
string sql = "Select * from Table1 ";
DataSet ds = new DataSet();
string connStr = @"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection conn = new SqlConnection(connStr);
SqlCommand cmd = new SqlCommand(sql, conn);
conn.Open();
SqlDataAdapter adapter = new SqlDataAdapter(cmd);
adapter.Fill(ds);
conn.Close();
how i call to the row to give me information or to write for row?(C#);
thanks;