Hi,
I have a problem in Application
Now in My Application have a TextBox1 in this Text Box Pass a connection String
& Second TextBox2 is Multiline TextBoxt in this TextBox To Write A SqlQuery .
& one Submit Button if u click in submit button then Result show in a label like(Command is Executed Succesfully or Any Error Message)
Please help me..
Loading

Shirsendu NandiPosted May 2, 2011, 10:00 AM
Sqlconnection con=new SqlConnection(txtbox1.text);
con.open();
Sqlcommand cmd=new SqlCommand(txtbox2.text.con);
cmd.ExecuteNonquery();
con.close();
Shirsendu NandiPosted May 3, 2011, 5:09 AM
Abhimanyu K VatsaPosted May 2, 2011, 8:20 AM
thanks