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...

how save recoreed in the database

Answer Posted / y.gangi reddy

SqlConnection cn = new SqlConnection("user id=sa;pwd=xxx;database=yyy;data source=.");
SqlDataAdapter da = new SqlDataAdapter("select * from tablename", cn);
DataSet ds = new DataSet();
da.Fill(ds, "tablename");

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is anchoring different from docking?

1185


What is the full form of gac?

1186


Explain how many number of events does the timer controls?

936


Which of the following position is the default docking position of the statusstrip control on the form?

1003


Can you create a tabletype of recordset in Jet - connected ODBC dbengine?

2278


Name the property which of menu cannot be set at run time?

1090


What are the advantages of form?

971


How can you pause a timer control?

1061


What is the use of play() playlooping() functions?

1050


What is the use of form?

932


Explain how to split a column header in gridview using c#.net?

1010


which property is used to change to some value to access a identity column in datacontrols?

2105


What is form technology?

944


How many types of dialog boxes windows provides?

1074


how see report periviwe

2729