Exemplo n.º 1
0
 protected void PreencherbSetor()
 {
     ds.EnforceConstraints = false;
     MetodosPontoFrequencia.DataSetPontoFrequenciaTableAdapters.TBSetorTableAdapter adpSetor = new MetodosPontoFrequencia.DataSetPontoFrequenciaTableAdapters.TBSetorTableAdapter();
     adpSetor.FillByIDEmpresa(ds.TBSetor, Convert.ToInt32(Session["IDEmpresa"]));
     //rbSetor.DataSource = ds.TBSetor;
     //rbSetor.DataBind();
 }
Exemplo n.º 2
0
 protected void PreencherbSetor()
 {
     MetodosPontoFrequencia.DataSetPontoFrequenciaTableAdapters.TBSetorTableAdapter adpSetor = new MetodosPontoFrequencia.DataSetPontoFrequenciaTableAdapters.TBSetorTableAdapter();
     adpSetor.Fill(ds.TBSetor);
     //rbSetor.DataSource = ds.TBSetor;
     //rbSetor.DataBind();
 }