How To Generate ConnectionString By Using Notepad??
Answers were Sorted based on User's Feedback
Answer / kesavan
string connString = System.IO.File.ReadAllText(filePath);
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kesavan
StreamReader fStream = new StreamReader(Application.StartupPath + "/Coninfo.ini");
fStream.BaseStream.Seek(0, SeekOrigin.Begin);
companyId = fStream.ReadLine().ToString().Substring(20);
ComPanyName = fStream.ReadLine().ToString().Substring(20);
serverName = fStream.ReadLine().ToString().Substring(20);
userId = fStream.ReadLine().ToString().Substring(20);
Password = fStream.ReadLine().ToString().Substring(20);
dataBase = fStream.ReadLine().ToString().Substring(20);
dbPath = fStream.ReadLine().ToString().Substring(20);
dbType = fStream.ReadLine().ToString().Substring(20);
fStream.Close();
Is This Answer Correct ? | 0 Yes | 0 No |
What is voluum?
Explain how do you validate the controls in an asp .net page?
What are main return types supported in Web API?
Create the Output by mearging 2 tables and taking common column sid from both you should not use database create table and data in it Randomly table 1 sid sname saddress 1 sa ampt 2 na hyd 3 ha hyd table 2 sid dno dname 1 12 stats 2 23 phy 3 12 stats OutPUt sid sname saddress did dname 1 sa ampt 12 stats 2 na hyd 23 phy 3 ha hyd 12 stats
How does the XmlSerializer work? What ACL permissions does a process using it require?
What is the relationship(in oops) between codebehind and inline code(.aspx to .aspx.cs)??? explain
Where would you use an ihttpmodule, and what are the limitations of any?
Who can consume WebAPI?
Where is ViewState information stored?
About session modes
What are the security types in ASP/ASP.NET? Different Authentication modes?
What is csrf attack in asp.net?