What is sequence of code in retrieving data from database?
Answer Posted / seshu
SQLConnection conn = new
SQLConnection("DataSource=;InitialCatalog=;User Id=;Password=");
SQLCommand cmd=new SQLCommand("select * from tablename",conn);
DataAdapter da=new DataAdapter(cmd);
Dataset ds=new Dataset();
da.fill(ds,"tablename");
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is the difference between dynamic SGA and static SGA?
How do we access view state value of this page in the next page?
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
Explain how asp.net different from asp?
What is different authentication mechanisms used in ASP.NET?
What is the use of web.config and machine.config files?
Can we handle the error and redirect to some pages using web.config?
What does session_start () do?
What is directive in asp net?
Explain how is the asp.net mvc architecture different from others? : asp.net mvc
How would you get asp.net running in apache web servers? Explain it's limitations.
Define a multilingual website?
What is session and cookies in asp.net?
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.