how to subtract two rows asp ne gridview in asp.net
ServiceInsuranceList = new System.Data.DataTable();
how to subtract two rows asp ne gridview in asp.net
ServiceInsuranceList = new System.Data.DataTable();
how to subtract two rows asp ne gridview in asp.net
private void BtnAdd_Click(object sender, EventArgs e)
{
GrdServiceInsurance.DataSource = ServiceInsuranceList;
for (int i = 0; i < GrdServiceInsurance.Rows.Count; ++i)
{
GrdServiceInsurance.Rows[i].Cells["Total"].Value =(Convert.ToInt32( GrdServiceInsurance.Rows[i].Cells["Cost"].Value.ToString())) -(Convert.ToInt32( GrdServiceInsurance.Rows[i].Cells["InsuranceCost"].Value.ToString()))
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us