Actually TextBox value are string by default (varchar for sql), and the column in database expects int value. So its throwing this error. YOu need to typecast this value to int.
int a = like Convert.ToInt32(textbox1.Text)
than use this value to pass to database.