CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2003
    Location
    Lahore
    Posts
    31

    Detect changes in data on win forms in vb.net?

    Hi All i have some forms in my application. They are all inherited from a single form. i have different controls on the form. I have also used typed datasets on my inherited forms. But i dont want to use dataset.Getchanges() for this purpose. Tell me any other way how to detect the changes on the form.

    Regards Asad

    If possible plz mail me at this address: [email protected]
    May Allah keep this world Peaceful. (Aameen)

  2. #2
    Join Date
    Oct 2005
    Location
    Islamabad, Pakistan
    Posts
    1,277

    Re: Detect changes in data on win forms in vb.net?

    u can use hasChanges to detectchanges in the dataset
    Code:
    If Ds.HasChanges() Then     ' Changed rows detected
    
    Else
         ' No changes
    End If

  3. #3
    Join Date
    Jun 2003
    Location
    Lahore
    Posts
    31

    Re: Detect changes in data on win forms in vb.net?

    AoA
    Thank you Anis
    but i want to use dataset for this purpose. I want to check the changes at control level.

    Asad
    Lahore, Pakistan
    May Allah keep this world Peaceful. (Aameen)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured