extract only literals from DataGrid.Item.Cells collection

Discussion in 'ASP .Net' started by John A Grandy, Nov 22, 2004.

  1. if i wish to extract string values from a DataGrid.Items.Cells collection
    but convert any pure formatting characters to null-strings, what is the best
    method ?

    for example, DataGrid.SelectedItem.Cells(0)=" " fr those cells that
    were bound to empty DataTable.Row.Columns .... however, i would like to
    retrieve them as null-strings ....
     
    John A Grandy, Nov 22, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QmlsbCBCb3Jn?=

    Hide datagrid TemplateColumn w/out using Cells collection

    =?Utf-8?B?QmlsbCBCb3Jn?=, Oct 21, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    1,656
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Oct 21, 2004
  2. yer darn tootin

    e.item.cells and paged datagrid

    yer darn tootin, May 30, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    781
    yer darn tootin
    May 31, 2005
  3. John Goche
    Replies:
    8
    Views:
    16,504
  4. Øyvind Isaksen
    Replies:
    1
    Views:
    998
    Øyvind Isaksen
    May 18, 2007
  5. Del

    Datagrid e.Item.Cells(1) argument was out of range

    Del, Nov 8, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    169
Loading...

Share This Page