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 kumarRank #3,110 · 461 reputationPosted Mar 1, 2010, 11:35 PM EST
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
kiran kumarRank #3,110 · 461 reputationPosted Mar 2, 2010, 2:33 AM EST
mark the answer if it helps you
vijay antony43 reputationPosted Mar 2, 2010, 1:20 AM EST
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
kiran kumarRank #3,110 · 461 reputationPosted Mar 2, 2010, 1:30 AM EST
ok let me do
vijay antony43 reputationPosted Mar 2, 2010, 1:53 AM EST
please do it
thanks