Connecting Tech Pros Worldwide Help | Site Map

Object ToString in DatagridView

  #1  
Old November 21st, 2008, 05:25 PM
Vic
Guest
 
Posts: n/a
A datagridview is populeted by a List(of cInfo) The Datagridview Columns are
bound to properties of cInfo. Some of the properties are object types (for
example cByteInfo) and for that the cByteInfo class as a Overrdes ToString
who represent the class State. This is working fine and like i need. But now
i want to edit the grid and also the column who is bound to a object. By
validate so a cell i recive of cource a FormatException (Invalid conversion
from System.String to cByteInfo).
Cane somebody help me to find a solution for this probleem.

Best Regards
Vic


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in datagridview datetimepicker column. priyamtheone answers 0 July 24th, 2009 04:42 PM
C#App: Problem in DataGridView CellclickEvent ssknov answers 2 December 21st, 2007 02:01 PM
C#-FORM: Populate treeview from dataset and edit the tables in datagridview Dennis Francek answers 0 December 10th, 2007 01:38 PM
Discrepancy in DataGridView column order & databound DataTable Mike answers 3 July 27th, 2006 05:35 PM