You are connected the Dropdownlist by automatically by Database connection wizard. When program starts running the values in Database which you specified is loaded Dropdownlist. Again it will not goto database to retive the values for dropdownlist. So you can't get updated values. Instaed of that you will write the code in separate method RetriveData() to retive the data from database and add the SqlDataReader values to Dropdownlist. Call thet method when page load and update button click methods . Take another connection object to for RetriveData() method Open the connection when RetriveData() is called and Close at the method end. U will get updated list evrytime. Hope you can do the coding simple try it..
C
Cnu55555
@Cnu55555
Posts
-
Problem updating DetailsView when added DropDownList -
What is the code for Credit card no. validation in C#?Thank Q
-
What is the code for Credit card no. validation in C#?Actually SECURE E-COMMERCE is my acadamic project. In that i need to validate Credit card atleast Visa card. My thinking is when the user give card no. how can we validate ? and what are the reqmnts to validate?
-
What is the code for Credit card no. validation in C#?Thanks for Ur reply.. But i need to validate CCNumber is it possible?
-
What is the code for Credit card no. validation in C#?Dear Skilties...
I am doing a project on "SECURE E-COMMERCE" so I need to validate the Credit Cards. Kindly anyone send the code to me.