cmd.ExecuteNonQuery value of i integer is going -1 from 0

Here i create table in database dynamically.
User enters name as his wish and selects language radiobutton.
So problem is after executing cmd.ExecuteNonQuery value of i integer is going -1 from 0. And shows that table couldnt be created but when i go to database its already created successfully. Please let me know where i am doing wrong. Thanx in Advance !!