I have a new one for you guys...
I have a list box that is populated via a stored procedure .... Now here is the wierd thing my list box is being double populated... that is if I have only two names in my database where the reader is reading from i.e. Adams and Zach it is printing them ouit twice adams zach adams zach...
its like the method is being called twice...
does anyone know how to stop it from doing that???
SqlConnection con = new SqlConnection(Settings.GetConfigValue("PARK_IRB_V1_11_19_2010", "IRB2010ConnectionString"));
SqlCommand cmd = new SqlCommand("P_sp_PopulateNewFactSup", con);
SqlDataReader r = cmd.ExecuteReader();
DataTable dt = new DataTable();
ListItem i = new ListItem(r["truename"].ToString().Trim(), r["ParkID"].ToString().Trim());