Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void avtoincrement(string table)
- {
- SqlConnection sqlconnect = Conectiong();
- SqlCommand command = new SqlCommand(@"ALTER TABLE " +table+ " AUTO_INCREMENT=0", sqlconnect);
- command.ExecuteNonQuery();
- }
Add Comment
Please, Sign In to add comment