How to find gridview footer Control in asp.net gridview using C#


 Code to find gridview footer control 

To find TextBox Control
   TextBox FooterTextValue = (TextBox)GridView1.FooterRow.FindControl("FooterTextBox");


To find Label Control
   Label FooterTextValue = (Label)GridView1.FooterRow.FindControl("FooterLabel");


To find DropDownList Control
DropDownList FooterTextValue = (DropDownList)GridView1.FooterRow.FindControl("FooterDropDownList");

How to find gridview footer Control in asp.net gridview using C# How to find gridview footer Control in asp.net gridview using C# Reviewed by (C#) Csharp examples on 10:43 PM Rating: 5

No comments:

Facebook

Powered by Blogger.