This is just sample messagebox code using vb.net language. I place this in the onclick button and prompt it during save. the code looks like this one.
Dim rstResult As DialogResult
rstResult = MessageBox.Show("Are you sure want to update?", _
"Business Card", _
MessageBoxButtons.YesNo, _
MessageBoxIcon.Question)
If rstResult = DialogResult.Yes Then
// do some action here. is the user selected Yes and nothing is no.
End If
Search
Wednesday, March 11, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment