Hi there, Until today I was working with listviews...
but now i need to start working with the DataGrid object to show data
from my SQLMobile tables.
I would really appreciate if someone could contact me on MSN messanger:
chook_rl@hotmail.com
I have some questions that i'm sure that for you will be easy to
answer.
I'll post them here anyway:
The datagrid shows the two columns clientID and clientName,
How can I change the appearnces of those two, meanning that the
clientName will be on the right and the clientID on the left.
Moreover, how can I change the width of the columns on default without
having the user expand when he needs...
And the last for now.. how can I iterrate on the table, Where can I
find the bound..
(DataGrid.DataSource?DataBindings... too much stuff I get confused)
By the way, I'm programming C# .net2005 for PocketPC2003,
Thanks for any help you can provide.
> Hi there, Until today I was working with listviews...
> but now i need to start working with the DataGrid object to show data
[quoted text clipped - 18 lines]
>
> By the way, I'm programming C# .net2005 for PocketPC2003,
How does PPC2003 version compare to Windows Mobile for Pocket PC, Windows
Mobile for Smartphone?
If DataGridView is supported on your device, it makes everything you are
asking about very easy.
> Thanks for any help you can provide.
chook.harel@gmail.com - 05 Jun 2006 16:06 GMT
No there isn't any DataGridView...
Is there any solution to what i've asked in the ordinary DataGrid
> Hi there, Until today I was working with listviews...
> but now i need to start working with the DataGrid object to show data
[quoted text clipped - 11 lines]
> How can I change the appearnces of those two, meanning that the
> clientName will be on the right and the clientID on the left.
If they are filled from a SQL statement the roder of the columns as
pulled from the database make the difference.
If a table mapping is used, however, the table mapping specifies the
order and the names.
> Moreover, how can I change the width of the columns on default without
> having the user expand when he needs...
I'm almost there myself. :)
I see a property for preferred column width in the data grid. Not sure.
> And the last for now.. how can I iterrate on the table, Where can I
> find the bound..
> (DataGrid.DataSource?DataBindings... too much stuff I get confused)
The datasource is the dataset the datagrid is bound to. A dataset is a
collection of datatables (and dataviews, datarelations, et al).
It matters what you want to iterated. To iterate what the database
returned does not require referencing the datagrid.
> By the way, I'm programming C# .net2005 for PocketPC2003,
I'm using VB 2003. I hope what i say is relevant.
> Thanks for any help you can provide.
B.
chook.harel@gmail.com - 07 Jun 2006 08:54 GMT
Thanks alot!,
Do you know how to disable the horz scroll bar
I dont want to appear even if needed
> > Hi there, Until today I was working with listviews...
> > but now i need to start working with the DataGrid object to show data
[quoted text clipped - 42 lines]
>
> B.
Brian Tkatch - 07 Jun 2006 16:46 GMT
> Thanks alot!,
>
> Do you know how to disable the horz scroll bar
>
> I dont want to appear even if needed
Nope. Not yet.
To resize the columns, however check out this article, with the
comments.
<URL:http://www.hanselman.com/blog/CommentView.aspx?guid=f3e94fab-335d-497f-8340-9c4a
e8e02fa3>
B.
> > > Hi there, Until today I was working with listviews...
> > > but now i need to start working with the DataGrid object to show data
[quoted text clipped - 42 lines]
> >
> > B.