binding to datagridview in C#? -


i have problem datagridview binding access table(access 2007), can retrieve data database, when wan store data cant, no code generated, want user fill rows in datagridview , store them in table of database, please me new c# please me

  private void form1_load(object sender, eventargs e)     {         // todo: line of code loads data 'policiasdataset.lineaaccion' table. can move, or remove it, needed.         this.lineaacciontableadapter.fill(this.policiasdataset.lineaaccion);         // todo: line of code loads data 'policiasdataset.seccion' table. can move, or remove it, needed.         this.secciontableadapter.fill(this.policiasdataset.seccion);         // todo: line of code loads data 'policiasdataset.actividad' table. can move, or remove it, needed.         this.actividadtableadapter.fill(this.policiasdataset.actividad);         // todo: line of code loads data 'policiasdataset.proyecto' table. can move, or remove it, needed.         this.proyectotableadapter.fill(this.policiasdataset.proyecto);         // todo: line of code loads data 'policiasdataset.proyectoobjetivo' table. can move, or remove it, needed.         this.proyectoobjetivotableadapter.fill(this.policiasdataset.proyectoobjetivo);         // todo: line of code loads data 'policiasdataset.objetivo' table. can move, or remove it, needed.         this.objetivotableadapter.fill(this.policiasdataset.objetivo);         // todo: line of code loads data 'policiasdataset.municipio' table. can move, or remove it, needed.         this.municipiotableadapter.fill(this.policiasdataset.municipio);         // todo: line of code loads data 'policiasdataset.logro' table. can move, or remove it, needed.         this.logrotableadapter.fill(this.policiasdataset.logro);      }      private void fillbytoolstripbutton_click(object sender, eventargs e)     {         try         {             this.proyectotableadapter.fillby(this.policiasdataset.proyecto);         }         catch (system.exception ex)         {             system.windows.forms.messagebox.show(ex.message);         }      } 

it's hard know happen if dont post source code here. guess might want have @ oledbdataadapter.update(datatable table) manual.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -