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(); }
protected void PreencherbSetor() { MetodosPontoFrequencia.DataSetPontoFrequenciaTableAdapters.TBSetorTableAdapter adpSetor = new MetodosPontoFrequencia.DataSetPontoFrequenciaTableAdapters.TBSetorTableAdapter(); adpSetor.Fill(ds.TBSetor); //rbSetor.DataSource = ds.TBSetor; //rbSetor.DataBind(); }