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…

What is CCC? A Complete and In-Depth Guide to Computer Basics and Future Opportunities

In today’s fast-paced digital age, computers and technology have become an essential part of our daily lives. Whether you are a student, job seeker, professional, or homemaker, understanding the basics of computers is crucial. But if you have little or no experience with computers, where should you start? That’s where CCC (Course on Computer Concepts) comes in. CCC is a fundamental computer literacy course designed by the Government of India through NIELIT (National Institute of Electronics & Information Technology) to empower people from all walks of life with basic computer knowledge and digital skills. It aims to bridge the digital…

How Do the Parts Inside a Mobile Phone Work Together?

Imagine your mobile phone as a small team where each part has a special job. When you use your phone, all these parts communicate and cooperate to make everything happen smoothly. Step-by-Step Process: Summary: The processor acts like the brain, controlling and communicating with all other parts, while the battery provides the energy. Together, these parts make your mobile phone smart, fast, and easy to use. Here’s a simple diagram to help you understand how the parts inside a mobile phone work together: lessCopyEdit [You Touch Screen] ↓ [Touchscreen] ↓ [Processor (CPU)] / | \ [Memory] [Camera] [Antenna] | |…