Exemplo n.º 1
0
 protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
 {
     var groupMAQuery = new GroupMAQuery();
     groupMAQuery.Select(groupMAQuery.GtId, groupMAQuery.GtCode);
     GroupMACollection gMAColl = new GroupMACollection();
     gMAColl.Load(groupMAQuery);
     this.RadGrid1.DataSource = gMAColl;
 }
Exemplo n.º 2
0
 public bool Load(GroupMAQuery query)
 {
     this.query = query;
     base.InitQuery(this.query);
     return(this.Query.Load());
 }