give me introduction of given above text answer in properly
Gridview control in c#
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
give me introduction of given above text answer in properly
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Cynthia SathuragiriRank #937 · 2.2K reputationPosted May 14, 2026, 4:36 AM EDT
A Gridview control in C# ASP.NET Web Forms is a server-side control used to display data in a table format.
It is commonly used to:
Show database records
Edit data
Delete data
Sort and paginate data
Example:
Code-behind example:
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { gvUsers.DataSource = GetUsers(); gvUsers.DataBind(); } }Features of GridView:
Data binding
Paging
Sorting
Row editing
Row deleting
Template columns
GridView is mainly used in ASP.NET Web Forms applications and is not used in ASP.NET Core or mobile applications.