easy job... send me $150. and i 'll do it for you...


On Tue, Oct 27, 2009 at 7:50 AM, Ana <[email protected]> wrote:

>
> Hi Cerebrus, please confirm if I understood it right. Are you saying
> that I will have a Repeater bound with the list of Companies and for
> each Company (or for each row) I will have a GridView with the list of
> contacts?
>
> On Oct 24, 12:27 am, Cerebrus <[email protected]> wrote:
> > Because your table structure actually consists of two tables, this
> > sounds like a case for two nested GridViews (or better, a GridView
> > nested within a Repeater). The outer datasource is bound to the list
> > of companies. The Inner datasource is bound to Contacts within each
> > company.
> >
> > Conditional rendering such as the button with labels can be done by
> > handling the RowDataBound event.
> >
> > On Oct 23, 11:46 pm, Ana <[email protected]> wrote:
> >
> > > 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