Devexpress aspxgridview oncustomcallback 无刷新更新数据

2021-01-11 10:32

阅读:487

标签:tab   def   ctp   nta   protect   tar   send   value   sele   

  protected void gridView_CustomCallback(object sender, ASPxGridViewCustomCallbackEventArgs e)
        {
            ASPxGridView gridView = sender as ASPxGridView;
            if (e.Parameters=="1")
            {
                    SqlDataSource1.SelectParameters[0].DefaultValue = "1=1";
            }
            else{
            SqlDataSource1.SelectParameters[0].DefaultValue = " PosID=" + e.Parameters;
            }
            gridView.DataBind();
        }

Devexpress aspxgridview oncustomcallback 无刷新更新数据

标签:tab   def   ctp   nta   protect   tar   send   value   sele   

原文地址:https://www.cnblogs.com/qqhfeng/p/13493687.html


评论


亲,登录后才可以留言!