How to add new column to asp.net gridview where columns are autogenerated? -


How to add new hyperlink columns to an asp.net gridview where the columns are autogenerated? Columns are not predefined in gridview.

Simply add the part of the gridview to your column definition. Your generated generated column should be shown on the left side of this one.

  & asp: gridview AutoGenerateColumn = "true" ... & gt; & Lt; Columns & gt; & Lt; Asp: hyperlink ... /> & Lt; / Column & gt; & Lt; / ASP: gridview & gt;  

Comments

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

c# - XMLDocument.Validate Error: System.InvalidOperationException : The XmlSchemaSet on the document is either null or has no schemas in it -