{"id":16897,"date":"2015-06-17T05:07:36","date_gmt":"2015-06-17T00:07:36","guid":{"rendered":"https:\/\/www.thenerdmag.com\/?p=16897"},"modified":"2019-12-27T06:49:35","modified_gmt":"2019-12-27T01:49:35","slug":"create-login-website-validation-controls-part-1-asp-net","status":"publish","type":"post","link":"https:\/\/thenerdmag.com\/create-login-website-validation-controls-part-1-asp-net\/","title":{"rendered":"How to Create a Login website – Validation Controls (Part 1) in ASP.net"},"content":{"rendered":"

Hi we are back with something new for you regarding asp.net. Lastly we discussed about how to Bind list with Database in ASP.net<\/a>. Today we will try to keep everything as simple as possible. We consider that the user is a beginner. So be easy and ask in the comments section whatever problem you are facing. You will be entertained accordingly. Let\u2019s move on. \u00a0When, you go to a website. You are treated as a register or unregistered user. For the registration of user, a website mostly provides a section where you can enter the information and get registered.
\nWell, today we are\u00a0going to teach you how to create a login page. Let\u2019s first see what we will do for this.
\nFirst we have to make tables in the web form. Where the required information will be entered and align it according to the requirement. For that open Visual Studio for web. And add a form in it. After that in the menu section click the table and insert a table. A screen will open where you have to enter 7 rows and 3 columns. Isn\u2019t it cool? Web development is so much fun.
\n<\/strong>
\n<\/strong>
\"1\"

Now you have the cells where you have to enter the data.\u00a0 In the most left cell enter the username, email, password confirm password and country option respectively. In the middle section add textboxes in front of the labels. And in the most right section put the validation control on it. Except country, put the RequiredFieldValidtion<\/strong> from the toolbox into all the boxes on the most right. And add a button. \u00a0It will look like this.
\nWe are going great!<\/p>\n

\"2\"