Submit Data in Database Through The Store Procedure
Hello Guys,
You want to enter the data into the database through the Store Procedure.
Using the Text Boxes.
just go krishan.stranger@gmail.com .
First of all you'll have to make a store procedure and then you would be enter the data into the Database through the single click of a submit button.
sqlconnection con=null;
sqlcommand cmd=null;
private void click_event(object sender, Eventergs e)
con=new sqlconnetion("connetion string");
cmd=new sqlcommand("StoreProcedure name",con);
cmd.commandtext=commandtext.stroreprocedure;
cmd.parameters.add["attributes name"].value=textbox.text;
hey its good ! thanks !
ReplyDelete