ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Advance Web Programming | TYIT | MU |Practical 6 B: Display Records using Database(SQL Server).

#education

#informationTechnology

#it

#computerscience

#cs

#mumbaiuniversity

student

class

control

awp

tyit

last year practical

visual studio practical

web practical

awp practical

adrotatot

advertisement

Автор: BANSODE TECH SOLUTION

Загружено: 2025-09-16

Просмотров: 64

Описание: Advance Web Programming | TYIT | MU |Practical 6 B: Display Records using Database(SQL Server).

Full video:-
Short Video:-   • Advance Web Programming | TYIT | MU |Pract...  

✅ Practical 6 (B) Create a web application to display records by using database.

✅ Steps to Implement in ASP.NET
🔶 Step 1: Create Database and Table in SQL Server
CREATE DATABASE CollegeDB;
GO
USE CollegeDB;
GO

CREATE TABLE Students(
StudentID INT IDENTITY(1,1) PRIMARY KEY,
Name NVARCHAR(100),
Age INT,
Class NVARCHAR(50)
);

-- Insert sample records
INSERT INTO Students (Name, Age, Class) VALUES
('Ajay Bansode', 20, 'TYIT'),
('Riya Sharma', 19, 'SYIT'),
('Vikram Patil', 21, 'TYIT'),
('Neha Joshi', 20, 'FYIT');

🔶 Step 2: Create Web Application
Open Visual Studio → File → New → Project → Select ASP.NET Web Application (.NET Framework).
Choose Web Forms template.

🔶 Step 3: Add Connection String in web.config
<connectionStrings>
<add name="DBConn"
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=CollegeDB;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>

🔶 Step 4. Create a Page Display.aspx
Add Grid View to display data

🔶 Step 5: Code-Behind (Display.aspx.cs)

protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindGrid();
}
}

private void BindGrid()
{
string connStr = ConfigurationManager.ConnectionStrings["DBConn"].ConnectionString;
using (SqlConnection con = new SqlConnection(connStr))
{
SqlCommand cmd = new SqlCommand("SELECT StudentID, Name, Age, Class FROM Students", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);

gvStudents.DataSource = dt;
gvStudents.DataBind();
}
}
}
🔶 Step 6:Run the Application
Press F5 → Open Display.aspx.
You’ll see all student records displayed in a GridView. 🎉

✨ Final Output
A simple web page that shows all student records from SQL Server inside a GridView.
👉 No edit, no delete, no search — only read/display operation.

Git Hub Link Repository
https://github.com/BansodeTechSolutio...

Advance Web Programming Practical Playlist
   • Advance Web Programming Practical TyIt Mum...  

#Subscribe the Channel Link :- #bansodetechsolution #ajupgrading
https://www.youtube.com/c/AjUpgrading...

If you have any Queries or Doubts DM me on #instagram:- #bansode_ajay_2102
https://www.instagram.com/bansode_aja...
@AjUpgradingBANSODETECHSOLUTION

LinkedIn Profile
  / aj-upgrading-bansode-tech-solution-0a99657a  

Link for slides, code samples, and text version of the video #blogger
https://bansodetechsolution.blogspot.com

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Advance Web Programming | TYIT | MU |Practical 6 B: Display Records using Database(SQL Server).

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Advance Web Programming | TYIT | MU |Practical 6 B: Display Records using Database(SQL Server).

Advance Web Programming | TYIT | MU |Practical 6 B: Display Records using Database(SQL Server).

Advance Web Programming Practical TyIt Mumbai University

Advance Web Programming Practical TyIt Mumbai University

How to configure Wireless Network

How to configure Wireless Network

Satya Nadella demos an app he built | Microsoft AI Tour Bengaluru

Satya Nadella demos an app he built | Microsoft AI Tour Bengaluru

Asp.Net C# With SQL

Asp.Net C# With SQL

ANARCHIA SMP - ULEPSZAMY MACE BABCI! DZIEŃ DOBRY! LIVE PRZEDŁUŻANY BEZ ŚCIEMY!

ANARCHIA SMP - ULEPSZAMY MACE BABCI! DZIEŃ DOBRY! LIVE PRZEDŁUŻANY BEZ ŚCIEMY!

AWP | TYIT(MU) Practical 7C: inserting and deleting record from a database (Using Execute-Non Query)

AWP | TYIT(MU) Practical 7C: inserting and deleting record from a database (Using Execute-Non Query)

NIEMIECKI TARTAK z czasów wojny. NIEZNISZCZALNY Miejscowość: Łupianka Stara

NIEMIECKI TARTAK z czasów wojny. NIEZNISZCZALNY Miejscowość: Łupianka Stara

Informacje Telewizja Republika 14.12.2025 godz. 15:30

Informacje Telewizja Republika 14.12.2025 godz. 15:30

'Godfather of AI' warns of existential risks | GZERO World with Ian Bremmer

'Godfather of AI' warns of existential risks | GZERO World with Ian Bremmer

AWP | TYIT(MU) Practical 8 B: how to bind and display data using DetailsView and FormView controls

AWP | TYIT(MU) Practical 8 B: how to bind and display data using DetailsView and FormView controls

How to Connect SQL Server with Visual Studio in asp.net C# | programminggeek

How to Connect SQL Server with Visual Studio in asp.net C# | programminggeek

Googles AI Boss Reveals What AI In 2026 Looks Like

Googles AI Boss Reveals What AI In 2026 Looks Like

I built a 2500W LLM monster... it DESTROYS EVERYTHING

I built a 2500W LLM monster... it DESTROYS EVERYTHING

OOP with C++ Practical Introduction | FYIT | Bansode Tech Solution

OOP with C++ Practical Introduction | FYIT | Bansode Tech Solution

Как установить Visual Studio 2019 на Windows 10

Как установить Visual Studio 2019 на Windows 10

AWP | TYIT(MU) Practical 8 C: Disconnected Data Access and DataBinding in GridView.

AWP | TYIT(MU) Practical 8 C: Disconnected Data Access and DataBinding in GridView.

NotebookLM's Biggest Updates Yet - Every New Feature Explained

NotebookLM's Biggest Updates Yet - Every New Feature Explained

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]