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 GuptaRank #190 · 12.8K reputationPosted Dec 21, 2016, 12:21 AM EST
Amit GuptaRank #190 · 12.8K reputationPosted Dec 20, 2016, 5:09 AM EST
SADAM HUSSAIN49 reputationPosted Dec 20, 2016, 8:06 PM EST