Posts

Showing posts from March, 2025

Create a Responsive User Registration Page in ASP.NET using Bootstrap and SQL Server Database

Image
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="signup.aspx.cs" Inherits="Responsive_Registration_Page.signup" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title>User Registration Form</title>     <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"/>     <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> </head> <body>     <div class="container">         <div class="alert alert-success" role="al...

Create Responsive Login Page (Same as Gmail) in ASP.NET using Bootstrap and SQL Server

Image
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="Responsive_Login_Page_Same_as_Gmail.login" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title>Login Page</title>     <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"/>     <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> </head> <body>     <div class="row">         <div class="col-lg-4"></div>         <div class...

Display Data on or Bind/Populate GridView - ASP.NET and SQL Server

Image
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="aspInsertUpdateDeleteOperation.WebForm1" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title>     <style type="text/css">         .auto-style1{             width:100%;         }         .auto-style2 {             width: 71px;         }     </style> </head> <body>     <form id="form1" runat="server">         <div>             <table align="center" class="auto-style1">                 <tr>                     <td class="auto-style2">ID</td...

ASP.NET and SQL Server- How to Insert, Delete and Update(CRUD operation)

Image
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="aspInsertUpdateDeleteOperation.WebForm1" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title> </head> <body>     <form id="form1" runat="server">         <div>             <table align="center">                 <tr>                     <td>ID</td>                     <td>                         <asp:TextBox ID="txtID" runat="server"></asp:TextBox>                     </td>               ...

Create Multi User Login Form in ASP.NET using SQL Server Database

Image
 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="home.aspx.cs" Inherits="MultiUserLoginForm.home" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title> </head> <body>     <form id="form1" runat="server">         <div>             <table align="center">                 <tr>                     <td>Username</td>                     <td>                         <asp:TextBox ID="txtUser" runat="server"></asp:TextBox>                     </td>                 </tr...