i want 2 pass values(enterd in textbox)to table in sql
server without using stored procedure in c#.plz tell me
code with an example.
Answer Posted / srinivas shahukaru
we havwe differnt ways to pass data to back end .we can pass
data in dis way also
cmd.Command Type=CommandType.Text;
then we can pass values values using inserrtquery in sql
server... insert into tablename values ('textbox1.text,...);
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
Which method is used to sort the data in ADO.Net?
What is the procedure to call a Stored Procedure of Back End in ADO (ActiveX Data Object) and RDO (Remote Data Objects)?
Difference between sqlcommand and sqlcommandbuilder?
Is ado.net dead?
What is the default timeout specified for "sqlcommand.commandtimeout" property?
Which is faster sqldataadapter and sqldatareader?
how Sequence to connect and retrieve data from database using dataset?
Compare Data Reader & Dataset in ado.net?
What is the role of the dataset object in ado.net?
What provider ado.net use by default? Explain the role of data provider in ado.net?
What we do with the object of ado.net dataset after using it?
If we are not returning any records from the database, which method is to be used?
How to store data in memory?
How can we add relation between tables in a dataset?
What is ado.net object model?