Hi i have two dropdownlists the first one is: "State" which which will show the state depending on a session located in the first html page the user will see it to choose his country, the 2nd dropdownlist is cities which depend on state dropdownlist to show
the cities of each state. The state dropdownlist is working fine but i am facing difficulty with cities dropdownlist that didnt show the cities at all. the below codes is for state and the 2nd is for the cities i hope if some one can help me to fix this case
:-)
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Session["location"] != null)
{
DataTable StateDT = new DataTable();
using (SqlConnection con2 = new SqlConnection(ConfigurationManager.ConnectionStrings["BeravaConnectionString"].ConnectionString))
...
Go to the complete details ...