Hello everyone,

In the page I’m developing, I need to create a table (GridView,
DataGrid, etc) in the following structure:

   Company  |   Email Sent        | Email Responded
Company1   |           -               |              -
 - Contact1   |       Yes              |          No
 - Contact2   |       Yes              |          Yes
Company2   |           -               |              -
 - Contact1   |        No               |          No
 - Contact2   |       Yes              |          Yes


If an email wasn’t sent, in the column Email Sent I have to display:
“Email Not Sent” and include a Button “Send Email”
If an email was sent but wasn’t responded, in the column Email Sent I
have to display: “Email Sent” and Include a Button “Send Reminder”
If an email was sent and responded, in the columns Email Sent and
Email Responded I have to display, respectively, “Email Sent” and
“Email Responded”

Besides, the list of companies has to be show like this:
Company
  -  Contact 1
  -  Contact 2

The binding for Email Sent and Email Responded is done only for the
rows Contact1 and Contact2, I mean, it’s like “Company” was only a
title for the list of contacts.

I’m totally lost about how to do it! How do I include multiple
controls (e.g. a Label and a Button) in a single cell? How do I create
the structure I mentioned for the rows (Company name, followed by a
list of contacts, putting information only for the Contact rows)?

All help will be greatly appreciated!

Thanks in advance,

Ana

Reply via email to