Adding Template Field in a cell of a Gridview Dynamically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • giveDsolution
    New Member
    • May 2007
    • 107

    Adding Template Field in a cell of a Gridview Dynamically

    Hello Frds,

    I have bind a gridview with the help of a Datatable as the columns are added dynamically.
    But my problem is i have to add a gridview in any cell (which will be bind by another Query) which contains the value "0".

    How to do this,thanxs in advance for Any kind of suggestion .......
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Is that the number zero or null/nothing? This article may help:
    Nested GridViews with Skins in ASP.NET

    Comment

    • giveDsolution
      New Member
      • May 2007
      • 107

      #3
      Originally posted by kenobewan
      Is that the number zero or null/nothing? This article may help:
      Nested GridViews with Skins in ASP.NET
      Thnks for giving answer ........but its not a deal to access a nested gridview but the problem is I have to add Gridview Dynamically .
      The Columns of the GridView is also Dynamically generated.

      Comment

      • giveDsolution
        New Member
        • May 2007
        • 107

        #4
        Anyhow i got the clue........
        May this link help u all..
        http://www.developer.c om/net/asp/article.php/10917_3609991_2

        But after implementing this i got another problem.
        Actually I have to bind two columns with the help databind function of Gridview then autogenerate the Templatecolumn.
        But unfortunately the grid shows first Template columns then Another two columns.
        Is there any Solution plz let me know.

        Comment

        Working...