How to get dropdownlist selected value in Page_Init event c# -
i tried below code in page_init() getting null values. how dropdownlist selected values in page_init().
protected void page_init(object sender, eventargs e) { string test1 = request.form[ddlprojectresource.text]; string test2 = request.form[ddlprojectresource.selectedvalue]; }
Comments
Post a Comment