Datagrid Formatting

  • Thread starter Thread starter MadCrazyNewbie
  • Start date Start date
M

MadCrazyNewbie

Hey Group,

I have a Table with 3 Others bound to it. Alls working fine. I have a combo
box bound to on of the rows. Its setup as follows.

Datasource: dsArcirisUsers
DisplayMember: BomAccess.AccessLevel
ValueMemeber: BomAccess.BomAccessArcirisUsers.BomAccessID

On My datagrid I have formated my coloums, but no Matter what I set my
MappingName to in the DatagridColoumnStyle Collection Editior, it always
give me the Key Value in the coloumn and not the Value.

Can somebody give me a Example of some code So it will show me the Value and
not the Key?

Any Links?

Many Thanks
MCN
 
Hi MCN,

Only links, there are so many ways to use that combobox in a datagrid.
(I thought you needed the one with the columnstyles, althouhg that is not
complete in my opinion, I changed it to fit it for me but do not know
anymore which are relevant for you).

However have a look at these links.

Complete very nice control
<http://dotnet.leadit.be/extendeddatagrid>

Combobox
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q480q

DateTimePicker (is the microsoft sample to use it)
http://msdn.microsoft.com/library/d...windowsformsdatagridcolumnstyleclasstopic.asp


Faqs
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp

http://www.microsoft.com/belux/nl/msdn/community/columns/jtielens/datagrid.mspx

http://msdn.microsoft.com/library/d...ry/en-us/dnwinforms/html/wnf_CustDataGrid.asp

http://msdn.microsoft.com/library/d...ormsdatagridtextboxcolumnclassformattopic.asp

I hope this helps a little bit?

Cor
 
Back
Top