Tom Krueger
1/14/2003 10:16:00 PM
Hello,
Thanks for the post!
I have tried the ObjectList control, however, I have not been able to get it
to do what I am looking for.
The output results as:
TI 1
TI 2
You can then click on them and you get the following when clicking on TI 1:
Time Items TI 1
Hours 8.00
[back]
I am hoping to get the following:
TI 1 8.00
TI 2 12.00
Is there a configuration setting that I am missing?
Here is the code I am using.
// Load DataSet.
System.Data.DataTable table = ds.Tables.Add();
table.Columns.Add("TimeItem");
table.Columns.Add("Hours");
table.Rows.Add(new String[] {"TI 1", "8.00"});
table.Rows.Add(new String[] {"TI 2", "12.00"});
// Bind to object list (timeItems).
timeItems.DataSource = ds;
timeItems.DataBind();
// Object list code (HTML)
<mobile:ObjectList id="timeItems" runat="server"
CommandStyle-StyleReference="subcommand" LabelStyle-StyleReference="title"
AutoGenerateFields="False">
<Field Title="Time Items" Name="TimeItem" DataField="TimeItem"></Field>
<Field Title="Hours" Name="Hours" DataField="Hours"></Field>
</mobile:ObjectList>
Thanks for any help!
Tom
"dip" <bom2180@yahoo.com> wrote in message
news:496001c2bc0e$5abfd2c0$d2f82ecf@TK2MSFTNGXA09...
> Use the ObjectList control.
>
> >-----Original Message-----
> >Hello,
> >
> >I am developing with the Mobile Information Toolkit and
> am wondering how to
> >display columns.
> >
> >For instance:
> >
> >TimeItem Hours
> >Met with client xyz 3.0
> >Did this 2.0
> >
> >
> >Thanks for any assistance or suggestions.
> >
> >Tom
> >
> >
> >
> >
> >
> >
> >.
> >