Intersoft ClientUI Documentation
HasChanges Property
See Also  Send Feedback
Intersoft.Client.UI.Data Namespace > UXGridView Class : HasChanges Property






Gets or sets a value that indicates whether there are data changes or not.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Data Editing")>
Public Property HasChanges As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UXGridView
Dim value As Boolean
 
instance.HasChanges = value
 
value = instance.HasChanges
C# 
[CategoryAttribute("Data Editing")]
public bool HasChanges {get; set;}
Delphi 
public read-write property HasChanges: Boolean; 
JScript 
CategoryAttribute("Data Editing")
public function get,set HasChanges : boolean
Managed Extensions for C++ 
[CategoryAttribute("Data Editing")]
public: __property bool get_HasChanges();
public: __property void set_HasChanges( 
   bool value
);
C++/CLI 
[CategoryAttribute("Data Editing")]
public:
property bool HasChanges {
   bool get();
   void set (    bool value);
}

Remarks

If you prefer to automatically update the records after each CUD operation, you can perform the server operation in the InsertRowCommand, UpdateRowCommand and DeleteRowCommand respectively, and perhaps followed with the RefreshCommand to refresh the data. However, if you prefer a batch update, you can notify the UXGridView by setting the HasChanges property to true, and later call the SaveChanges method to save all changes in one server call.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.