Pleasehelp me for SSL and DropDownList
-
Hi all, I have two Problem please help me. One: I want secure pages and i wrote this code for it <authentication mode="Forms"> <forms name="myCookie" timeout="30" loginUrl="English.aspx" defaultUrl="_Default.aspx"> <credentials passwordFormat="Clear"> <user name="myUserName" password="myPassword"/> </credentials> </forms> </authentication> <authorization> <allow users="myUserName"/> <deny users="?"/> </authorization> but I don't access to _Default.aspx page. Two: I want a DropDownList that AutoPostBack property is true and i wrote this code for select an item: protected void ddlField_SelectedIndexChanged(object sender, EventArgs e) { row = myFunction(2, ddlField.SelectedItem.Text);//row select index in database DT_SelectAdeptP = TA_SelectAdeptP.GetData(1, row); ddlAdept.DataSource = DT_SelectAdeptP; ddlAdept.DataTextField = "Adept"; ddlAdept.DataBind(); } but this code didn't execute and page is loading agian Please help me. Thanks in advance.