Results 1 - 5 of 484
04 Jul 2019 04 Jul 2019 0 Comments  1032 Views
Here Mudassar Ahmed Khan has explained with an example, how to check whether CheckBox in GridView is checked or not in ASP.Net using C# and VB.Net.

When the Button is clicked, a loop will be executed over GridView Rows and then it will be determined whether the CheckBox inside the GridView Row is checked or not in ASP.Net.
24 Jun 2019 24 Jun 2019 0 Comments  795 Views
Here Mudassar Ahmed Khan has explained with an example, how to get list of Sheet (WorkSheet) names of Excel file in ASP.Net using C# and VB.Net.

The Excel file will be first uploaded and copied to a Folder (Directory) on Server and then it will be read and opened using OLEDB and the Sheet (WorkSheet) Names of the Excel file will be fetched.
17 Jun 2019 17 Jun 2019 0 Comments  1938 Views
Here Mudassar Ahmed Khan has explained with an example, how to encode QueryString parameter in NavigateUrl of HyperLink inside ASP.Net GridView using C# and VB.Net.

The QueryString parameters will be encoded inside the Eval function using UrlEncode function of the HttpUtility class in ASP.Net.
14 Jun 2019 14 Jun 2019 0 Comments  1604 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Image based on condition in GridView in ASP.Net using C# and VB.Net.

The ImageUrl property of the Image control is set with an Inline Expression which compares the value of the column and based on the value, the respective Image URL is returned which is used to conditionally display the Image in GridView.
13 Jun 2019 13 Jun 2019 0 Comments  1394 Views
Here Mudassar Ahmed Khan has explained with an example, how to get BoundField and TemplateField column values on Button Click in ASP.Net GridView using C# and VB.Net.

When the Button is clicked, the Selected GridView Row is referenced and then the values of the BoundField and TemplateField columns are extracted from it in ASP.Net using C# and VB.Net.
Results 1 - 5 of 484