What is sequence of code in retrieving data from database?

Answer Posted / srujana

using data.sqlclient;

sqlconnection cn;

cn=new sqlconnectin("user id=sa;database=pubs;data
source=server");
cn.open();

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define xmlreader class.

579


Is asp.net core faster?

548


Do session use cookies in asp net?

500


Differentiate between authentication and authorization.

565


Why is global asax is used for?

520






What is directive in asp net?

546


Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?

567


They mostly asked difference between versions of technologies

959


How ASP.NET page works?

678


Explain the asp.net mvc folder conventions? : asp.net mvc

512


What is OSI layer? Explain different layers.

607


How to implement globalization and localization in the use interface in .net.

540


In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?

569


What is another word for redirect?

516


Is asp.net 64-bit enabled? How?

595