471,354 Members | 2,060 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

How to format a DataGrid with a DataRow[] as DataSource?

I have a DataGrid control with a DataRow as Data Source and need to format
the displayed columns (Can i use a TableSytle?).

Thanks,
Juan.
Jul 21 '05 #1
2 1062
Juan,

Yes however keep in mind that there is only the datagridtextboxcolumn, the
datagridtextbox and the datagridboolcolumn. The rest you must make yourself
by inheriting other controls.

DateTimePicker (describes how to make datagridcolumncontrols)
http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps a little bit?

Cor
Jul 21 '05 #2
Thanks, I created a DataTable and populated it with the DataRow[]...

"Cor Ligthert" <no************@planet.nl> escribió en el mensaje
news:#q**************@TK2MSFTNGP15.phx.gbl...
Juan,

Yes however keep in mind that there is only the datagridtextboxcolumn, the
datagridtextbox and the datagridboolcolumn. The rest you must make yourself by inheriting other controls.

DateTimePicker (describes how to make datagridcolumncontrols)
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwindowsformsdatagridcolumnstyleclasstop ic.asp
I hope this helps a little bit?

Cor

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by xrow | last post: by
7 posts views Thread by TT (Tom Tempelaere) | last post: by
2 posts views Thread by pei_world | last post: by
3 posts views Thread by Newbie | last post: by
7 posts views Thread by localhost | last post: by
4 posts views Thread by tshad | last post: by
reply views Thread by Familjen Karlsson | last post: by
2 posts views Thread by =?Utf-8?B?TWFyYw==?= | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.