GRIRVIEW 没有取到任何记录的时候出现温馨提示

后台代码:

string myCondition1 = "ord_no=" + myCon1;
            xjy.BLL.ORDERS orders = new xjy.BLL.ORDERS();
            DataTable mytb = orders.GetList(myCondition1).Tables[0];
            if (mytb.Rows.Count >0)
            {
                GridView1.DataSource = mytb;
                GridView1.DataBind();
            }

前台代码:


          
               温馨提示:没有取得到任何记录!!!
          
      

GRIRVIEW 没有取到任何记录的时候出现温馨提示_第1张图片

你可能感兴趣的:(String)