July 2014
-
VB.NET Basic Database Query Examples
Here is my compilation of example code for a variety of database operations written in VB.NET These range from:
-
ShowModalDialog: How to Run a Function on the Parent Page
Sometimes when putting together a Web-based application, you will need to show a custom modal dialog that is a bit more complex than the inbuilt JavaScript alert( or confirm( dialogs, and that unlike a jQuery modal dialog will run as a separate window. Your best option in this case is to use the JavaScript ShowModalDialog function.…
-
Basic Example of using the ASP.NET FileUpload to Save into a Database
Here is a super-simple bare-bones example of an ASP.NET Web form page in C# that uses the .NET FileUpload component to allow a user to upload a file into a SQL Server database table. I’ve put this together as a template to show just how easy it is to do and how few lines of…