Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How can we load multiple tables in a dataset?

1172


What is execute scalar in ado.net?

958


What are the difference between readonly vs. Const?

1005


What is dao and ado?

924


How can we add relation between tables in a dataset?

994


What is the difference between Command and CommandBuilder object?

1226


How to creating a SqlCommand Object?

1135


Explain the advantages and disadvantages of using datalist?

1070


What are the different methods available under the sqlcommand class to access the data?

1040


What is the use of data grid?

951


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

1323


Explain the namespaces in which .net has the data functionality class.

1076


Explain the difference between data reader and data adapter?

966


Which provider is used to connect ms access, oracle, etc…?

995


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?

1053