2 // System.Data.DataColumnChangeEventArgs.cs
5 // Christopher Podurgiel (cpodurgiel@msn.com)
15 /// Provides data for the ColumnChanging event.
17 public class DataColumnChangeEventArgs : EventArgs
20 private DataColumn _column = null;
21 private DataRow _row = null;
22 private object _proposedValue = null;
25 /// Initializes a new instance of the DataColumnChangeEventArgs class.
27 /// <param name="row"></param>
28 /// <param name="column"></param>
29 /// <param name="value"></param>
30 public DataColumnChangeEventArgs(DataRow row, DataColumn column, object value)
34 _proposedValue = value;
38 /// Gets the DataColumn with a changing value.
40 public DataColumn Column
50 /// Gets or sets the proposed new value for the column.
52 public object ProposedValue
56 return _proposedValue;
60 _proposedValue = value;
66 /// Gets the DataRow of the column with a changing value.