DataRowChangeEventArgs.Row Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the row upon which an action has occurred.
public:
property System::Data::DataRow ^ Row { System::Data::DataRow ^ get(); };
public System.Data.DataRow Row { get; }
member this.Row : System.Data.DataRow
Public ReadOnly Property Row As DataRow
Property Value
The DataRow upon which an action has occurred.
Examples
The following example adds a DataRowChangeEventHandler and the procedure to handle the event when a row is changed.
Private dataTable As DataTable
Private Sub [AddHandler]()
dataTable = CType(DataGrid1.DataSource, DataTable)
AddHandler dataTable.RowChanged, AddressOf Me.dataTable_Changed
End Sub
Private Sub dataTable_Changed _
(ByVal sender As System.Object, ByVal e As System.Data.DataRowChangeEventArgs)
Console.WriteLine("Row Changed", e.Action, e.Row.Item(DataGrid1.CurrentCell.ColumnNumber))
End Sub
Applies to
See also
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.