Expand|Select|Wrap|Line Numbers
- string inputString;
- resultLabel.Text = "";
- using (StreamReader streamReader = File.OpenText(@"E:\projects\readtxt\nan.txt"))
- {
- inputString = streamReader.ReadLine();
- while (inputString != null)
- {
- resultLabel.Text += inputString + "<br />";
- inputString = streamReader.ReadLine();
- }
- }
string con = new SqlConnection(ConfigurationManager.ConnectionStrin gs["nandhaconnectionstring"].ConnectionString);
i get error The ConnectionString property has not been initialized.