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
Differentiate between namespace and assembly.
How will you do Redo and Undo in a TextControl?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
What are the major built-in objects in ASP.NET?
Explain what is postback in asp. Net?
Why is it preferred to not use finalize for clean up?
Give 2 examples for scenarios when routing is not applied?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
Do I need to have the latest version of windows media player installed?
Differentiate between structure and class.
Explain different types of Caching techniques in ASP.NET?
What is the purpose of using MVC programming pattern in ASP.NET?
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
Which type of state management is provided by Query String in ASP.NET?
What is difference between view and partial view?