Jump to content

calculation in datagridview column


rony_78

Recommended Posts

Hi friendsI am trying to learn how do i calculates between columns such as col1*col2=col3 col4-col3=col5 when i add columns and rows in datagridview like this .im not familiar with terminologies yet, i have added columns with rows in in datagridview and put it in form load event..

DataGridView1.ColumnCount = 5DataGridView1.Columns(0).Name = "col1"DataGridView1.Columns(1).Name = "col2"Dim row As String() = New String() {}DataGridView1.Rows.Add(row)row = New String() {}

can someone provide me a link or a sample code please

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...