예제 #1
0
 private void Get_InfoBySearch()
 {
     try
     {
         GvInfo.DataSource = GetCodeBySearch(0);
         GvInfo.DataBind();
     }
     catch
     {
     }
 }
예제 #2
0
 private void GetInfo()
 {
     try
     {
         GvInfo.DataSource = GetCodeBy(0);
         GvInfo.DataBind();
     }
     catch
     {
     }
 }
예제 #3
0
        private void Get_Info()
        {
            string    sql = "select  * from [KaoJuan]  where KaoJuanName like '%" + TextBox1.Text + "%' ";
            DataTable dt  = DBHelper.GetFillData(sql);

            if (dt != null && dt.Rows.Count != 0)
            {
                GvInfo.DataSource = dt;
                GvInfo.DataBind();
            }
        }