How To Generate ConnectionString By Using Notepad??

Answer Posted / kesavan

string connString = System.IO.File.ReadAllText(filePath);

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of caching in asp.net?

753


What is global.asax file used for?

752


What is the difference between sealed vs static class?

773


What is asp.net version?

701


How to find out what version of asp.net I am using on my machine?

785


How can we update records in gridview?Is there any appropriate code for it?

1824


What is the difference between system.stringbuilder and system.string

453


How you can stop the validation of ASP.NET controls from client side?

746


How can we create a website?

713


Difference between Response.redirect vs server.transfer?

850


What language is asp.net written in?

755


Explain diff. Between friend and protected friend?

670


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

707


Where would you use an ihttpmodule, and what are the limitations if any?

734


Why would anyone need to implement their own hashtable or linked list?

2667