The text of this article is not in this database — only its details are. Read it on the old site: Caching Data in WinForms DataGridView in NET 2.0
1 Comment
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Caching Data in WinForms DataGridView in NET 2.0
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
SmitheditedPosted Jun 8, 2007, 9:28 AMEdited Jun 8, 2007, 11:06 AM
Hi, Private Sub grdFunctions_UserDeletingRow work very nice... I have coded my function as below. But in the message box. No matter i click on Yes or No. It still can delete that selected row. Can you please teach me what is the essential code that i missing. Thank [quote] Private Sub dgSupplier_UserDeletingRow(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewRowCancelEventArgs) Handles dgSupplier.UserDeletingRow 'prompt a msg when deleting a row Dim answer As Integer answer = MsgBox("Are you sure that, you want to delete this record?", MsgBoxStyle.YesNo, "PO System") If answer = 6 Then MsgBox("O") Else End End If End Sub [/quote]