Hi Peter,
I have added a reply to you in Tue, 04 Jul 2006. I performed some search in
google and found that it is missed in groups.google.com, so I suspect it is
missed in the newsgroup, however, I still can see it in our internal suppor
tool. Anyway, I will paste that reply here:
"Hi Peter,
Thanks for your feedback!
DataGrid does not support formatting for individual cells, it can only
apply formatting at column level with DataGridTextBoxColumn.Format and
FormatInfo properties.
To customize ArrayDataView for supporting DataGridTextBoxColumn, I have
provided you some guide line in the link below:
http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/msg/
363eb3e9931a4041?hl=zh-CN&
To demonstrate my statement, I have modified that project regarding the
guide I provided. In the sample project, I set
DataGridTextBoxColumn.Format="c", so that all the cells will display
currency style of value.
I have attached my modified sample project in this reply. You can download
it with Outlook Express, not IE.
I am not sure I understand your second completely. Why do you mention
"Access Table"? I did not suggest you put the data in "Access Table". What
I was suggestion is that: since your data is huge, if you are binding all
the data with DataGrid, the initial databinding and displaying time will be
significant long, which gives the end user a not good experience on your
application. So it is better to introduce certain type of paging in
databinding. That is divide all your data into several sections, and only
bind 1 section of data with DataGrid, and provide another "Next Page"
button for the user, which will load next section of data and bind with the
DataGrid for displaying. This will improve the performance and GUI
significantly.
Anyway, if you have good reason to not use paging, you can remain the
current design.
Hope this helps!"
Regarding the sample project, you may send an email to me, I will send you
that project. You may contact me at: (e-mail address removed)(remove
"online.")
Thanks
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.