Connect your login page with a SQL Server database in ASP.NET Web Forms (C#)

✅ Step-by-Step: Login with SQL Server Database 🔹 1. Create a Database Table In SQL Server, create a table to store login credentials: sqlCopyEditCREATE TABLE AdminLogin ( ID INT PRIMARY KEY IDENTITY, Username NVARCHAR(50), Password NVARCHAR(50) -- In real apps, use hashed passwords ); 📌 Insert a sample record: sqlCopyEditINSERT INTO AdminLogin (Username, Password) VALUES ('admin', '123456'); 🔹 2. Add Connection String in Web.config In your ASP.NET project’s Web.config, add this inside <configuration>: xmlCopyEdit<connectionStrings> <add name="conns" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=YourDatabaseName;Integrated Security=True" providerName="System.Data.SqlClient" /> </connectionStrings> 📌 Replace YourDatabaseName with your actual DB name. 🔹 3. Update Your Login Page Code Replace the…

🧠 Top 10 MCQ Questions on Computer Fundamentals for Competitive Exams (With Answers)

Computer Fundamentals is a high-scoring section in many competitive exams like SSC, RRB, IBPS, UPSC, and even campus placements. A strong grasp of basic concepts can help you crack this section easily. Below are the Top 10 Multiple Choice Questions (MCQs) on Computer Fundamentals along with correct answers and brief explanations. ✅ Q1. What does CPU stand for? A. Central Processing UnitB. Central Programming UnitC. Central Performance UnitD. Control Processing Unit ✔️ Answer: A. Central Processing Unit📝 The CPU is considered the brain of the computer. It carries out instructions from software. ✅ Q2. Which of the following is an…

50 MS Word Basics questions and answers

1. What is Microsoft Word?Microsoft Word is a word processing software used to create, edit, format, and print documents. 2. How do you open a new document in MS Word?Click on File > New > Blank document. 3. What is the Ribbon in MS Word?The Ribbon is the toolbar at the top containing tabs like Home, Insert, Design, etc. 4. How do you save a document?Click File > Save or press Ctrl + S. 5. What is a template in MS Word?A pre-designed document format used to create new documents quickly. 6. How do you bold text?Select the text and…

Learn MS Word in 10 Easy Steps — A Complete Tutorial for New Users

Microsoft Word is one of the most popular word processing programs used worldwide. Whether you want to write letters, create reports, make resumes, or design flyers, MS Word is the tool for you. If you are new to MS Word, don’t worry! This tutorial will guide you step-by-step in 10 simple points to get you started quickly and confidently. Step 1: Open Microsoft Word Step 2: Understand the Interface Step 3: Create a New Document Step 4: Type and Edit Text Step 5: Format Text Step 6: Save Your Document Step 7: Insert Images and Shapes Step 8: Use Bullets…