Search results for query: *

  1. C

    event changes to DataGridView

    I would have thought asking a question like that somewhat pointless as it does not contribute to the forum but to answer: If you are NOT concerned with building an elegant solution or if you do not deliver to a set quality standard then it does not matter. If it did not matter for the...
  2. C

    event changes to DataGridView

    Thanks for your assistance
  3. C

    event changes to DataGridView

    Hi How do I get the DataTable events (RowChanged, RowDeleted and TableNewRow)? The DataTable is not an object on the form.
  4. C

    event changes to DataGridView

    Hi, Thanks So if I use the Events (TableNewRow, RowChathanged and RowDeleted) to run a check getting GetChanges, that will give me the rows that have been added, deleted and changed and then I can determine if there is a net change be comparing each row to the row in the original Table. I will...
  5. C

    event changes to DataGridView

    Hi I have a DataGridView with a datatable as its datasource. I am looking for a way to determine if data has been chaned or added or deleted so that I can enable a Save button. I can use the DataSourceChanged Event but id a row is added then deleted the net change is 0 also if a cell is edited...
  6. C

    Question Explain DataTable copy

    Thanks, I have revised strategy to use RejectChanges as suggested.
  7. C

    Question Explain DataTable copy

    Hi, Sorry I dont have the full code here, the objective is to build an entry form with a DGV to edit data but that would not directly edit the dataset. at the end of editing the user could choose to save the data or discard. If they save then the save process would do what ever checks and...
  8. C

    Question Explain DataTable copy

    Hi, I am trying to understand copying of DataTables and processing changes. I have created a DataTable dt1 (with not rows) in a Dataset ds1 and persisted it into an XML file. And set Column 1 as a Primary Key and an Autoincrement Integer: Dim key(0) As DataColumn key(0)...
  9. C

    Data changed

    Hi I have a DataGridView with a datatable as its datasource. What is the best way to detect that data has been changed by a User? Thanks
  10. C

    Question Update Label (text) on form from Module

    Hi jmcilhinney, Thanks for your help, I was too close to the problem to see what it really was. The Load code of the splash form was terminating with an unhandled error and without reporting or cascading back to the Main module and so the form and its controls did not exist hence the...
  11. C

    Question Update Label (text) on form from Module

    Hi My problem has still not been resolved; while the control 'LabelStatus' is recognised, I am getting an error 'System.NullReferenceException' at: .LoadStatus.Text = "Test"
  12. C

    Question Update Label (text) on form from Module

    Hi again, jmchilhinney, I did not understand your advice correctly and did not declare correctly. I do now and have declared Public mFormSplash as New FormSplash and I can now access the controls. If possible can you explain why declaring it as type Form and then setting it = to FormSplash is...
  13. C

    Question Update Label (text) on form from Module

    Hi jmcilhinney, Thanks for your reply, Declaring mFormSplash as type FormSplash (Public mFormSplash As FormSplash) or (Public mFormSplash As FormSplash=New Formplash) doesn't resolve the problem, the controls on the form are still not accessible. Also I can not use Visual Studio option to set...
  14. C

    Question Update Label (text) on form from Module

    Hi, I have a Main Module that loads a form. I want to update text on a Label, my code is: Public mFormSplash As Form = New FormSplash Sub Main With mFormSplash .Show() .LoadStatus.text = "Test" .Update()...
Back
Top