Search results for query: *

  1. Cragstor

    Resolved DataTable global variable changing when DataGridView.DataSource is changed

    Thank you for all your help. In the end I used the properties available in the datagridview to automatically resize the cells and change the presentation so I didn't need to mess around as much (in hindsight a lot better). The information on how reference types work is really useful. You're...
  2. Cragstor

    Resolved DataTable global variable changing when DataGridView.DataSource is changed

    Thank you both. The information on reference types is useful. I have had some experience of referencing objects vs creating a separate instance of that object, and thought that might be the case. It just wasn't immediately clear to me. string test1 = "test"; string test2 = "test 2"; string...
  3. Cragstor

    Resolved DataTable global variable changing when DataGridView.DataSource is changed

    Hello, I'm new to here, so firstly hello everyone. I have looked through the forums but can't find an answer and I'm struggling to find one online anywhere with how datasources work in this case. The code below is a snippet of a program I am writing to transfer files. The problem I had is...
Back
Top Bottom