public DataTable m_bunrui_Select(m_bunrui_Entity mbe) { Dictionary <string, string> dic = new Dictionary <string, string>(); dic.Add("@nc_bunrui", mbe.nc_bunrui); dic.Add("@vm_bunrui", mbe.vm_bunrui); return(SelectData(dic, "m_bunrui_Select")); }
/// <summary> /// bind grid data /// </summary> private void BindGrid() { mbe = new m_bunrui_Entity(); mbe.vm_bunrui = txtvmbunrui.Text; dtBunrui = mbbl.m_bunrui_Select(mbe); dgvBunrui.DataSource = dtBunrui; if (dtBunrui.Rows.Count > 0) { dgvBunrui.Rows[0].Selected = true; } }
public DataTable m_bunrui_Select(m_bunrui_Entity mbe) { return(mbdl.m_bunrui_Select(mbe)); }