Re: Identifying Rows

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Milosz Skalecki [MCAD]" <mily242@xxxxxxxxxxxxxxxxx> wrote in message news:EDE6104A-03AC-45F4-A7A2-FB3FC6205413@xxxxxxxxxxxxxxxx

Refering to Mark's reply, bound field is represendted by DataTableCell
(which does not contain any child controls) therefore in order to get the
value you must use Text property
row.Cells[index].Text

You are right of course, but I took the OP's statement of "so I put a <LABEL> in one of the cells" to mean that he'd created a TemplateColumn containing an <asp:Label> control - I have a feeling now that he didn't...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

.



Relevant Pages

  • Re: Clicking and dragging column and row lines
    ... There doesn't seem to be any control over row sizing ... the label addresses. ... > cells and pre-print them. ... >> Microsoft MVP ...
    (microsoft.public.word.tables)
  • Re: Splitting cells within a specific label and applying it to all
    ... When you state 'create a second doc' you mean another label mail ... splitting all the cells in this table. ... that my information would format in unison - is there a way to do ...
    (microsoft.public.word.mailmerge.fields)
  • Re: How can I create a 5264 label using my return address and grap
    ... I understand that a label template is just partitioning a sheet of paper into ... several cells and printing text where it is assigned to be printed. ...
    (microsoft.public.office.misc)
  • Re: Doing Place name cards in mailmerge
    ... one of them (or rotate one left and one right as necessary). ... >> formatting in the new document. ... create a new document based on the label format. ... >> text in the table cells by 90 degrees clockwise or counterclockwise. ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Event handlers from components
    ... My custom component, which has a label and a text box - ... Clicking on the label itself, ... Child controls get first chance at user input events, and if they handle them, the parent container won't see them. ...
    (microsoft.public.dotnet.languages.csharp)