|
|
От: |
Решетин
|
|
| Дата: | 27.03.06 08:09 | ||
| Оценка: | |||
SqlConnection Connection = new SqlConnection("server=(local); database=" + DataBaseName + "; Trusted_Connection=yes");
SqlCommand Cmd= new SqlCommand(commandText,"delete from data");
Cmd.CommandType = CommandType.Text;
int Recs = Cmd.ExecuteNonQuery();