asp.net - Cannot load second form c# -
i'm working web form. want open windows form in web page. cannot load windows form. can it.
protected void btn_insertperson_click(object sender, eventargs e) { if (txt_tagetstartdate.text != "" && txt_targetenddate.text != "") { slmslct = new salemanselect(); slmslct.show(); btn_insertperson.enabled = false; } }
i believe proper usage is
slmslct.showdialog();
Comments
Post a Comment