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
How can we load multiple tables in a dataset?
What is execute scalar in ado.net?
What are the difference between readonly vs. Const?
What is dao and ado?
How can we add relation between tables in a dataset?
What is the difference between Command and CommandBuilder object?
How to creating a SqlCommand Object?
Explain the advantages and disadvantages of using datalist?
What are the different methods available under the sqlcommand class to access the data?
What is the use of data grid?
If we are not returning any records from the database, which method is to be used?
Explain the namespaces in which .net has the data functionality class.
Explain the difference between data reader and data adapter?
Which provider is used to connect ms access, oracle, etc…?
If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?