Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I hide or remove a row in grid when I checked its checkbox and click button. I have this code, please complete it

Dim a As HomePage = New HomePage
Dim i As Integer
For i = 0 To grdtaiid.Rows.Count - 1
  selectedkod = grdtaiid.Item(1, i).Value
  selectedTaiid = grdtaiid.Item(0, i).Value
  If grdtaiid.Item(0, i).Value Then
    a.updateTaiid(grdtaiid.Item(0, i).Value, txtdate.Text)
  End If
Next
Posted
Updated 23-Nov-10 19:01pm
v2
Comments
JF2015 24-Nov-10 1:01am    
Edited for code formatting.
Sandeep Mewara 24-Nov-10 3:55am    
Homework Q?

1 solution

Hi,
how about grdtaiid.currentrow.visible=false
 
Share this answer
 

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