コード例 #1
0
 protected void uiButtonSearch_Click(object sender, EventArgs e)
 {
     VedioLib objData = new VedioLib();
     objData.GetAllVediosLibByCategory(Convert.ToInt32(uiDropDownListAllCategories.SelectedValue));
     uiGridViewSubCategories.DataSource = objData.DefaultView;
     uiGridViewSubCategories.DataBind();
 }
コード例 #2
0
 private void BindData()
 {
     VedioLib objData = new VedioLib();
     objData.GetAllVediosLibByCategory(Convert.ToInt32(uiDropDownListAllCategories.SelectedValue));
     uiGridViewSubCategories.DataSource = objData.DefaultView;
     uiGridViewSubCategories.DataBind();
 }