hi guys. how to calculate the two input columns values to Total column. plz help me..
private void dgSubject_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e)
{
if (e.EditAction == DataGridEditAction.Commit)
{
var column = e.Column as DataGridBoundColumn;
if (column != null)
{
var bindingPath = (column.Binding as Binding).Path.Path;
else if (bindingPath == "Subject1")
{
var el = e.EditingElement as TextBox;
if (el!=null)
{
// How to Calculate the Subject1,Subject2,Subject3 Columns
}
}
}
}
}
Amit GuptaPosted Dec 21, 2016, 5:21 AM
SADAM HUSSAINPosted Dec 21, 2016, 1:06 AM
Amit GuptaPosted Dec 20, 2016, 10:09 AM