示例#1
0
        public void printfs(object sender, Ext.Net.DirectEventArgs e)
        {
            bindUser();
            RowSelectionModel sm  = GridPanel1.GetSelectionModel() as RowSelectionModel;
            List <string>     ids = new List <string>();

            ids = sm.SelectedRows.Select(row => row.RecordID).ToList <string>();

            List <EB_Student> namelist = (from people in stulist
                                          where people.Id == ids[0]
                                          select people).ToList <EB_Student>();

            X.Call("SelectNum", namelist);
        }