hi every one,
i have done the project in the vb.net
in the i used dial grid for list out the values
in that the dial grid contains 3 columns and 15 rows
i have to substract the value from first row cell to second row cell
the result should be placed in the third row cell
for example,
5 3 2
regrds
vijay
Loading
kiran kumarPosted Mar 2, 2010, 7:33 AM
mark the answer if it helps you
kiran kumarPosted Mar 2, 2010, 4:35 AM
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim i As Integer
Dim su As Integer
su = DataGridView1.Rows(0).Cells(0).Value - DataGridView1.Rows(1).Cells(0).Value
DataGridView1.Rows(2).Cells(0).Value = su
End Sub
End Class
mark the answer if it helps you
vijay antonyPosted Mar 2, 2010, 6:53 AM
please do it
thanks
kiran kumarPosted Mar 2, 2010, 6:30 AM
ok let me do
vijay antonyPosted Mar 2, 2010, 6:20 AM
this is wat i done already
but i need the result which is following here
5 3 2
10 5 5
20 10 10
by using of for or some loop will be used here what shall i do and also the no.of rows will be infinitive give some solution
regrds
vijay