Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
e.Row.Cells[i].Visible = true; e.Row.Cells[i].Visible = false;
I notice that if I make the BoundField invisible all the time, then no data is bound for the Entry field (for any customer) but, of course, then I can't display the data for the one particular customer that has small data. . . . This requires further explanation: By setting the control's Visible property to false, I am not able to toggle it to being visible in the Code-Behind in RowDataBound, for some reason. Thus, I have been removing the visible property from the ASP.NET control BoundField and set it only in the Code-Behind.
<asp:BoundField DataField="Entry" HeaderText="Entry" SortExpression="Entry" />
Can anyone help me to display my desired column and perform a Data Bind only when I am displaying it?
<asp:BoundField DataField="Entry" HeaderText="Entry" SortExpression="Entry" visible="false" />
|C# - SOLID Question||6||35|
|Active Directory IIS needs to get user logged in from client not @ server||3||36|
|Can i Use Godaddy MySQL to my . Net Web Application||1||20|
|Add Server Certificate in IIS from C#||6||21|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
14 Experts available now in Live!