/* EventHandler (XMLTableInfo xmTable = BindType bind = GridViewTemplate (DataControlRowType, ===. xmTable = GridViewTemplate (DataControlRowType, controlID, =. controlID = DataControlRowType. header: (bind = // you can write lc as needed. text = (bind ===( bind ===; DataControlRowType. dataRow: (bind = + = del_DataBinding (= // you can handle method To write tb. text = + xmTable. CName ++ xmTable. EName ++ DataBinder. eval (row. dataItem, columnName ). toString () +} lec_DataBinding (==/// you can write tb according to your desired processing method. text = + xmTable. CName ++ xmTable. EName ++ DataBinder. eval (row. dataItem, columnName ). toString () + lic_DataBinding (====/// you can write here as needed to bind a check box class named CheckBox btn. text = + DataBinder. eval (row. dataItem, columnName ). toString () + tb_DataBinding (====
Call method example
LoadInfo (GridView NewGrid, eName, cName, === tableInfo = (tableInfo = [] Ename = tableInfo. split () []. split ([] Cname = tableInfo. split () []. split (id = (I =; I <Ename. length; I ++ = (I ===== TemplateField tempEditor = GridViewTemplate (DataControlRowType. header, === GridViewTemplate (DataControlRowType. header, = SQL = (sqlOrTop. length <= + sqlOrTop ++ eName ++ id + =View Code
The value of this example provides an idea. If you need other functions, you can modify the code to the header content you want.