Remove selected Items from Grid serverside

9 replies. Last post: August 24, 2009 11:54 PM by Gordon Tumewu
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
P KiddMember
I use the ObjectDataSource to bind the grid to my business layer.
My users will filter the returned data and then set the checked row checkbox for multiple entries.
They then select an external to grid update button to update the database with the changes.
I tried webGrid1.databind  server side, but no luck.
How do I now get the grid to refresh with the entries now removed?
 
For Each keyValue As String In WebGrid1.RootTable.GetCheckedRows()

For Each keyValue As String In WebGrid1.RootTable.GetCheckedRows()

clsExtractManager.Save(CInt(keyValue), "Sideline", True, intUserID)

Next

WebGrid1.Databind()

All times are GMT -5. The time now is 11:47 AM.
Previous Next