| | |
Storing custom event messages in sql table
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jul 2008
Posts: 1
Reputation:
Solved Threads: 0
Hi I have a small question. I'm building a website and I would like to make custom message strings that I can later put in a sql database. Is the following idea the correct way to go?
File: SystemMessages.vb
I'm guessing in the end I will have about 50 messages. I used to take this approach in VBA but since Im new to VB.NET I'm not sure if this is the right approach. I'm thinking it's an option to store the strings in a XML file but I have no idea how to go about. Please advice!
Thanks
File: SystemMessages.vb
VB.NET Syntax (Toggle Plain Text)
Select Case EventID Case 100 msg = "New user" & username & "added to the database." Case 101 msg = "User " & username & "has been deleted." End Select
I'm guessing in the end I will have about 50 messages. I used to take this approach in VBA but since Im new to VB.NET I'm not sure if this is the right approach. I'm thinking it's an option to store the strings in a XML file but I have no idea how to go about. Please advice!
Thanks
![]() |
Other Threads in the VB.NET Forum
- Previous Thread: Instant Messenger - Please Help
- Next Thread: Strange Error - could not load file or assembly or one of its dependacies.
Views: 306 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2005 2008 access account application array arrays basic bing button buttons c# center check checkbox code convert crystalreport data database datagrid datagridview date design designer dissertation dissertations dropdownlist excel fade file-dialog filter ftp generatetags google gridview hardcopy images inline input insert installer intel internet listview mobile monitor net networking objects output panel passingparameters picturebox port position print printing problem read remove save searchbox searchvb.net select serial shutdown soap sorting studio survey table tcp temperature text textbox time timer timespan toolbox trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet visual visualbasic visualbasic.net visualstudio2008 web webbrowser winforms wpf year





