public DataTable RetornarCamposVendaCampanhas(int iIDCampanha) { campanhaDAL DCampanha = new campanhaDAL(); string sSql = DCampanha.RetornarCamposVendaCampanhas(iIDCampanha); return(PontoBr.Banco.SqlServer.RetornarDataTable(sSql)); }
public string RetornarCampanhas(int iIDUsuario)//r { campanhaDAL DCampanha = new campanhaDAL(); string sSql = DCampanha.RetornarCampanhasUsuario(iIDUsuario); return(sSql); }
public DataTable RetornarCampanhasUsuario(int iIDUsuario) { campanhaDAL DCampanha = new campanhaDAL(); string sSql = DCampanha.RetornarCampanhasUsuario(iIDUsuario); return(PontoBr.Banco.SqlServer.RetornarDataTable(sSql)); }
public void ReconfigurarCampo(int iIDCampanha, string sIDCampo, string sTexto, string sTamanhoTextBox, string sLocalizacaoTextBox, string sLocalizacaoLabel, int iObrigatorio, string sLista) { campanhaDAL DCampanha = new campanhaDAL(); string sSql = DCampanha.ReconfigurarCampo(iIDCampanha, sIDCampo, sTexto, sTamanhoTextBox, sLocalizacaoTextBox, sLocalizacaoLabel, iObrigatorio, sLista); PontoBr.Banco.SqlServer.ExecutarSql(sSql); }
public DataTable RetornarCampoConfiguracaoInicial(string sIDCampo) { campanhaDAL DCampanha = new campanhaDAL(); string sSql = DCampanha.RetornarCampoConfiguracaoInicial(sIDCampo); return(PontoBr.Banco.SqlServer.RetornarDataTable(sSql)); }
public DataTable RetornarCampo(int IDCampanha, string sIDCampo) { campanhaDAL DCampanha = new campanhaDAL(); string sSql = DCampanha.RetornarCampo(IDCampanha, sIDCampo); return(PontoBr.Banco.SqlServer.RetornarDataTable(sSql)); }
public int RetornarIDCampanhaPreditivo(string sCampanha) { campanhaDAL DCampanha = new campanhaDAL(); string sSql = DCampanha.RetornarIDCampanhaPreditivo(sCampanha); string sIDCampanha = PontoBr.Banco.SqlServer.RetornarDadoUnicoDoBanco(sSql); if (sIDCampanha == "") { return(0); } else { return(Convert.ToInt32(sIDCampanha)); } }
public campanha RetornarCampanha(int iIDCampanha) { campanhaDAL DCampanha = new campanhaDAL(); string sSql = DCampanha.RetornarCampanha(iIDCampanha); DataTable dataTable = PontoBr.Banco.SqlServer.RetornarDataTable(sSql); campanha Campanha = new campanha(); Campanha.iIDCampanha = Convert.ToInt32(dataTable.Rows[0]["IDCampanha"].ToString()); Campanha.sCampanha = dataTable.Rows[0]["Campanha"].ToString(); Campanha.Fila = dataTable.Rows[0]["Fila"].ToString(); Campanha.TipoDiscador = dataTable.Rows[0]["TipoDiscador"].ToString(); Campanha.iAtivo = Convert.ToInt32(dataTable.Rows[0]["Ativo"]);//r Campanha.sOperadora = dataTable.Rows[0]["operadora"].ToString(); return(Campanha); }
public string RetornarDadosVenda(string sIDCampanha) { campanhaDAL DCampanha = new campanhaDAL(); return(DCampanha.RetornarDadosVenda(sIDCampanha)); }