Skip to main content

Posts

Showing posts with the label webform

How to connect SQL Database to your Web Form (Tutorial)

          In this tutorial we will see how to connect SQL Database to our WebForm page created in Visual Studio 2015. You will need SQL Server 2014 which you can download from  here . The tutorial will include how to make a simple webform page and add textbox and buttons to it. And then apply database to it with CRED operations but we will only be checking insertion.           Now open Visual Studio and create a ASP.NET Web App in WEB section. Add a new web form to your project. If you do not know this previously you can follow my previous tutorial,  How to create a beginner web form . Now what we want a is a view like this.           Now in order to do that, we will select Split view from the bottom on Visual Studio. Now you also able to see the code section behind your webform. You can see the textbox ID and the Button ID. We will use these Ids in order to receive data from the fields.  ...

How To Create a Beginner Web Form (Tutorial)

         In this tutorial we will see how to create a simple web page. It is really a beginner level tutorial so you may find it slow or boring, but it is great for the crowd who are just getting into it and want to peek into things and there basic working.          Let us start by launching Visual Basic, I'm using the 2015 enterprise version and you can use any version and the community one as well. We select New Project or use the short cut of it Ctrl+Shift+N. And then we select Visual C# from the left tab and expanding it, we will select Web option. It will show you a option on the right of ASP.NET Web Application. Name it what you want and proceed.          Selecting this and proceeding, we will have the following dialog box.          Here we will select an Empty ASP.NET file with the option Web Forms checked. Click OK. Now we will have an WebApplication or whatever yo...