DataGrid ItemMand Response

zhaozj2021-02-16  54

Need to set the commandName of the web control, then judge ItemCommand

Private void mainDataGrid_itemcommand (Object Source, System.Web.ui.WebControls.DataGridCommandeventArgs E) {if (e.commandname == "xxxx") {

...} else if (e.commandname == "xxxx") {...

} Binddata ();

转载请注明原文地址:https://www.9cbs.com/read-19819.html

New Post(0)