public void CargarGrilla() { DBUtil db = new DBUtil(); G_Banco.DataSource = db.consultar("Select * from [dbo].[Comision_Regla]"); G_Banco.DataBind(); }
public void CargarGrilla() { DBUtil db = new DBUtil(); G_Banco.DataSource = db.consultar("Select * from Cobranza_bancos"); G_Banco.DataBind(); }
public void CargarGrilla() { DBUtil db = new DBUtil(); G_Banco.DataSource = db.consultar("Select [id],[cod_banco],[nom_banco] from Cobranza_bancos where tipo_cuenta ='CLIENTE' "); G_Banco.DataBind(); }
public void CargarGrilla() { DBUtil db = new DBUtil(); G_Banco.DataSource = db.consultar("Select * from categoria"); G_Banco.DataBind(); //modal_unidad }
public void CargarGrilla() { string where1 = ""; if (Session["SW_PERMI"].ToString() == "1") { where1 += " where grupo = 'ABARROTES' "; } else { where1 += " where grupo = 'GRANOS' "; } DBUtil db = new DBUtil(); G_Banco.DataSource = db.consultar("Select * from correo_bodega " + where1); G_Banco.DataBind(); }
public void CargarGrilla() { DBUtil db = new DBUtil(); string where1 = ""; if (Session["SW_PERMI"].ToString() == "1") { where1 += " where grupo = 'ABARROTES' "; } else { where1 += " where grupo = 'GRANOS' "; } G_Banco.DataSource = db.consultar("Select [cod_trans],[nombre_trans],[rut],[fono],[direccion], [cod_bodega] from transportista" + where1); G_Banco.DataBind(); }
public void CargarGrilla() { DBUtil db = new DBUtil(); string where1 = ""; if (Session["SW_PERMI"].ToString() == "1") { where1 += " where grupo = 'ABARROTES' "; } else { where1 += " where grupo = 'GRANOS' "; } G_Banco.DataSource = db.consultar("Select * from V_Chofer_Trans" + where1); G_Banco.DataBind(); JQ_Datatable(); }