Click here to Skip to main content
15,112,662 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a Datagridview in that startno textbox column and noofcheques dropdown.
Now i want enter startno in textbox column and select noofcheues from dropdown total will be displayed in endingno textbox column.How to do it.
Please give anylink for reference.
Thanks in advance.

What I have tried:

I am fresher.I don't understand where to start.Please help me.
Posted
Updated 9-May-17 3:31am

it is Easy to using javascript
   
private void dgvwChqs_CellLeave(object sender, DataGridViewCellEventArgs e)
       {
           dgvwChqs.Rows[e.RowIndex].Cells["endingno"].Value = Convert.ToInt32(dgvwChqs.Rows[e.RowIndex].Cells["startno"].Value) + Convert.ToInt32(dgvwChqs.Rows[e.RowIndex].Cells["noofcheques"].Value);
       }



It is working fine now.How to inserted datagridview data to database table using c# windows application.Please help me
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900