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


Please Help Members By Posting Answers For Below Questions

What does adodb stand for?

487


If we are not returning any records from the database, which method is to be used?

717


Can datareader hold data from multiple tables?

653


What are the types of databinding?

535


What are the different row versions available in table?

506






how we can fire event in databound coulm in datagfrid withot using button?

551


Explain how to copy the contents from one table to another table and how to delete the source table in ado.net?

434


How to copy the contents from one table to another table and how to delete the source table in ado.net?

501


What is fill method in ado.net?

522


Describe ado.net object model in detail.

508


If a table contains 20000 records. In a page at each time 100 records to be displayed.

493


How can you identify whether or not any changes are made to the DataSet object since it was last loaded?

536


What is microsoft ado.net?

556


What is a datagridview?

495


What is ado full form?

489