PC Review


Reply
Thread Tools Rate Thread

ASP.NET 2.0 in Visual Basic Language

 
 
Joe Chan
Guest
Posts: n/a
 
      21st Nov 2008
To whom it may concern about

Dear Sir, Madam

How are you doing? My name is Joe, and this is my first time that I use this
service to ask for the question. My question is:

I created a search box and search box is link to SQLDatabase. When I enter
the SSN in the search box and click "Search" button to locate if there is an
existing SSN on SQLDatabase or not. If not, then I wish to create a message
that display on pagetitle which says "Please enter a new record". If yes,
there is an existing SSN on the SQLDatabase then it will display a message
"Please update your existing record".

I try so many ways to see if I can display that message but I could not.
Would you(someone) please show me how to create this message.

Thank you
V/R
Joe

my email: (E-Mail Removed)

 
Reply With Quote
 
 
 
 
NoodNutt
Guest
Posts: n/a
 
      21st Nov 2008
G'day Joe

Don't think this is the right newsgroup you need.

But for what is worth, I can give you the VBA equivalent of what your after.

Sub YourControls_AfterUpdate()

Dim TheMessage As Integer

TheMessage = MsgBox("What you want the Message to Say", vbOKCancel)

If TheMessage = vbOK Then
DoSomething
Else
CancelEvent = True
End If
End Sub

HTH
Mark


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change default language from Visual Basic to C# in IDE. averydarkplace Microsoft Dot NET Framework 4 11th May 2007 04:27 PM
Multi-language with visual Basic 2005 =?Utf-8?B?Q8OpZHJpYw==?= Microsoft VB .NET 1 8th Feb 2006 05:11 PM
[ANN] Visual Basic Language Specification v8.0 available for download Jason Cooke [MSFT] Microsoft VB .NET 17 29th Nov 2005 11:12 PM
Mixed language programming with Visual Basic.NET Robert Liles Microsoft VB .NET 2 11th Mar 2005 07:56 PM
Access vs Visual Basic (Language Issue) [SolarAngel] Microsoft Access External Data 0 5th Aug 2004 10:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:23 AM.