Ask a Question related to ASP.NET Data Grid Control, Design and Development.

  1. #1

    Default Span rows/columns?

    Is there a way to make a column in a grid span all the others? For instance
    I have fields Client, Address, State, City, Zip, Comments. I would like
    Comments to appear under client, address, state, city, zip and span it so
    there is more room for comments.

    Thank you for your help.


    Eagle Guest

  2. Similar Questions and Discussions

    1. Add/Delete rows/columns in datagrid
      Hi, I'm trying to add additional or delete rows/columns to a datagrid based on a specified number. I tried addColumn, this only adds 1 column at...
    2. datagrid sort columns not rows
      Hi, I am filling a datagrid via xml and the columns as not created in the order I have in my xml. I've also added them in the correct order in...
    3. How to span a query into 2 columns
      I have a query that produces a list of products and some of those products are subdivided into groups within the list. I have a query that...
    4. DataGrid (body only) contained in <span>...</span> tags
      Hi, I have a DataGrid control that displays many records. As such, I have been given a requirement to contain only the body of my DataGrid...
    5. DataGrid, 7 columns on 2 rows?
      Is this possible? I currently have a datagrid showing 7 columns, I would like to show the 6th and 7th columns on the next row. How can I do this?
  3. #2

    Default Span rows/columns?

    Hi Eagle,

    Although it's possible to achieve your goal by datagrid,
    it's better to use datalist or repeater. In following URL,
    it gives you some hint for data control selection.

    [url]http://msdn.microsoft.com/library/default.asp?[/url]
    url=/library/en-us/dnaspp/html/aspnet-
    whenusedatawebcontrols.asp

    HTH

    Elton Wang
    [email]elton_wang@hotmail.com[/email]

    >-----Original Message-----
    >Is there a way to make a column in a grid span all the
    others? For instance
    >I have fields Client, Address, State, City, Zip,
    Comments. I would like
    >Comments to appear under client, address, state, city,
    zip and span it so
    >there is more room for comments.
    >
    >Thank you for your help.
    >
    >
    >.
    >
    Elton W Guest

  4. #3

    Default Re: Span rows/columns?

    Thanks for your help. I don't understand the DataList -- I still want it to
    be in columns with one header above each column and I don't seem to be able
    to achieve that. Can you direct me to some samples of how to accomplish
    that?
    "Elton W" <anonymous@discussions.microsoft.com> wrote in message
    news:201f01c5558a$a5a41950$a601280a@phx.gbl...
    > Hi Eagle,
    >
    > Although it's possible to achieve your goal by datagrid,
    > it's better to use datalist or repeater. In following URL,
    > it gives you some hint for data control selection.
    >
    > [url]http://msdn.microsoft.com/library/default.asp?[/url]
    > url=/library/en-us/dnaspp/html/aspnet-
    > whenusedatawebcontrols.asp
    >
    > HTH
    >
    > Elton Wang
    > [email]elton_wang@hotmail.com[/email]
    >
    >
    > >-----Original Message-----
    > >Is there a way to make a column in a grid span all the
    > others? For instance
    > >I have fields Client, Address, State, City, Zip,
    > Comments. I would like
    > >Comments to appear under client, address, state, city,
    > zip and span it so
    > >there is more room for comments.
    > >
    > >Thank you for your help.
    > >
    > >
    > >.
    > >


    Eagle Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139