Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Fill dataset

Fill dataset

Scheduled Pinned Locked Moved C#
csshelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rmokkenstorm
    wrote on last edited by
    #1

    Got my CustomRowEvent working.. able to fill my textboxes in my new form. but i think it's not the fastest or best way. i now use this line of code : t075_BORGTOCHTNUMMER_1TextBox.Text = Grid["t075BORGTOCHTNUMMER1DataGridViewTextBoxColumn", RowIndex].Value.ToString(); this work just great.. really.. BUT... if you got about.. 60 textboxes.. it's kinna like a lot of work.. so i was thinking.. if i change my fill command with something like this..: this.dBANBM_T075_BORGTOCHTTableAdapter.Fill(testdb1DataSet, Grid, RowIndex); he give's me the error that Grid and RowIndex does not excist in my current contex.. however.. i use the following code public dborgtocht(testdb1DataSet DSet, DataGridView Grid, int RowIndex) { InitializeComponent(); PopulateTextBoxes(testdb1DataSet, Grid, RowIndex); } so you really should think that he should be able to find them.. hope i explained enough now.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups