Quantcast
Channel: ASPSnippets RSS Feed
Viewing all articles
Browse latest Browse all 4757

Using Ternary operator in TemplateField (ItemTemplate) column in ASP.Net using C# and VB.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to use Ternary operator (? :) in TemplateField (ItemTemplate) column in ASP.Net GridView using C# and VB.Net. IF ELSE statement is not supported in TemplateField (ItemTemplate) column in ASP.Net GridView, hence using Ternary operator (? :) operator, a simple IF ELSE condition can be used in TemplateField (ItemTemplate) column in ASP.Net GridView.

Viewing all articles
Browse latest Browse all 4757

Trending Articles