Всі теги »
c# »
MS SQL 2005
Вибачте, але більше немає доступних тегів для фільтрації.
-
ответ:
[code language=''C#'']
using(SqlConnection con = new SqlConnection((String)key.GetValue(''ConnectionString'')))
{
connection.Open()
SqlCommand cmd = new SqlCommand()
cmd.CommandType = CommandType.Text;
cmd.CommandText = ''DELETE FROM table1 where col_ID = '' + x + '' AND col2_ID = '' + y;
cmd.Connection = ...