Код: Выделить всё
SqlCommand cmd = new SqlCommand("select * from View_1 where Words_Sh LIKE ' + @txbSearch + '%'", con);
cmd.Parameters.AddWithValue("@txbSearch", this.txbSearch.Text);
SqlDataAdapter da = new SqlDataAdapter(cmd, con)
Подробнее здесь: https://stackoverflow.com/questions/197 ... in-c-sharp
Мобильная версия