Professional Web Applications Themes

Opinion - ASP.NET Data Grid Control

I need some opinions. Here is the situation: I have a DataGrid with TemplateColumns. To display my values, I use the ASP code in the HTML. So for example, I have <%# DataBinder.Eval(Container.DataItem, "myData", "{0:C}") %> Question: Is this the perferred way of displaying my data? When I do this, I can no longer use the desing tab in VS.NET. Need your Opinion!...

  1. #1

    Default Opinion

    I need some opinions.

    Here is the situation: I have a DataGrid with TemplateColumns. To display
    my values, I use the ASP code in the HTML. So for example, I have <%#
    DataBinder.Eval(Container.DataItem, "myData", "{0:C}") %>

    Question:
    Is this the perferred way of displaying my data? When I do this, I can no
    longer use the desing tab in VS.NET.

    Need your Opinion!


    bspann Guest

  2. #2

    Default Opinion

    You only lose the designer functionality if you use the
    statement inside of a property, for instance:

    <asp:label text='DataBinder.Eval
    (Container.DataItem, "myData", "{0:C}") %>' />

    However, if you don't need to use it as a property and are
    just displaying text you could do something like this:

    <span>DataBinder.Eval
    (Container.DataItem, "myData", "{0:C}") %></span>

    With this solution you won't lose the designer
    functionality.


    >-----Original Message-----
    >I need some opinions.
    >
    >Here is the situation: I have a DataGrid with
    TemplateColumns. To display
    >my values, I use the ASP code in the HTML. So for
    example, I have <%#
    >DataBinder.Eval(Container.DataItem, "myData", "{0:C}") %>
    >
    >Question:
    >Is this the perferred way of displaying my data? When I
    do this, I can no
    >longer use the desing tab in VS.NET.
    >
    >Need your Opinion!
    >
    >
    >.
    >
    Adam Guest

  3. #3

    Default Re: Opinion

    >>Unfortunately from what I've heard the
    Brooks-Bilson book will not have a new edition for CFMX 7, which is a pity
    because it's a great book.

    You heard correctly - from the horses mouth, (unofficially at least), its
    becasue the demand is not there for coldfusion with the typical o'reilly
    reader. (your more techy sort) this is bad news for coldfusion when O'Reilly
    ditch you as a worthy topic. Speaks volumes when combined with the other
    stuff us naysayers have been expressing concerns about recently.

    Wasn't impressed with cfopen.org either, its written in PHP becuase "thats
    what is available to us at this time" - seeing this issue way too much. CF
    developers not even getting the oppurunity to code in coldfusion because of
    expensive/scace hosting and lack of jobs, and eventually ditching it. This
    is bad bad bad news for us all.


    "mpwoodward *TMM*" <mpwoodwardNOSPAM> wrote in message
    news:BE33A37F.BBE9%mpwoodwardNOSPAM...
    > On 2/12/05 11:25 AM, in article cule6f$9r3$1forums.macromedia.com, "Wally
    > Kolcz" <wkolczcomcast.net> wrote:
    >
    >> I am just beginning to learn Coldfusion MX. In anyone/everyone's opinion,
    >> what is the best book(s) to learn beginning to intermediate to advance
    >> coding / concepts?
    >>
    >>
    >
    > Ben Forta's Web Application Construction Kit and/or Programming ColdFusion
    > MX by Rob Brooks-Bilson. Unfortunately from what I've heard the
    > Brooks-Bilson book will not have a new edition for CFMX 7, which is a pity
    > because it's a great book. The new edition of the Forta book is supposed
    > to
    > be release in March I believe.
    >
    > Matt
    > --
    > Matt Woodward
    > Team Macromedia Member - ColdFusion
    >

    ronnie Guest

Similar Threads

  1. Opinion on site
    By SmooveJC webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 9
    Last Post: September 21st, 04:50 AM
  2. In My Humble Opinion...
    By Gregory Toomey in forum PERL Miscellaneous
    Replies: 2
    Last Post: August 17th, 08:39 AM
  3. Please share your opinion with me.
    By Jerry in forum ASP.NET General
    Replies: 4
    Last Post: August 4th, 06:44 AM
  4. Opinion which to get?
    By Rick Blythin in forum Mac Portable
    Replies: 2
    Last Post: July 24th, 04:40 PM
  5. your opinion
    By oliverkelso webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 11
    Last Post: July 19th, 07:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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