Hi, I am a very beginner at C#, ASP.net and SQL and have been trying to solve an example using repeater control that I found on C-sharpcorner. http://www.c-sharpcorner.com/uploadfile/5089e0/how-to-use-repeater-control-in-asp-net/
I keep getting stopped at the public void RepeterData() method with an SqlException on the con.open();
and again on the da.Fill(ds);
This was posted by http://www.c-sharpcorner.com/members/nitin-bhardwaj6 in 2013
Can anyone offer suggestions on how to get this project to work? The zip file for source code is wrong and is in VB not C# as the project is.
The code that I have been trying to implement is at the below url
http://www.c-sharpcorner.com/uploadfile/5089e0/how-to-use-repeater-control-in-asp-net/
Any help would be greatly appreciated.......
Delpin Susai RajPosted Oct 3, 2016, 12:15 PM
Tim RooksPosted Oct 3, 2016, 12:44 PM
Delpin Susai RajPosted Oct 3, 2016, 12:16 PM
Delpin Susai RajPosted Oct 3, 2016, 12:16 PM
Delpin Susai RajPosted Oct 3, 2016, 12:16 PM
Midhun TpPosted Oct 3, 2016, 11:21 AM
Have you changed the sql connection to your sql?
SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=EmpDetail;Persist Security Info=True;User ID=sa;Password=****");
In above code, you have to change data source, user id, password, etc..