ict-torquilclark
asked on
DataGridView display member
I have a datagrid view setup that pulls data from a dataset.
Is there a way I can change the way that the column displays the data. For instance I have a column "Salary" set as datatype double. this may show as 20000.00. can I do something like concatenate a "£" onto the start of the field?
Is there a way I can change the way that the column displays the data. For instance I have a column "Salary" set as datatype double. this may show as 20000.00. can I do something like concatenate a "£" onto the start of the field?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
But after the datagridview is loaded ? Check if the name of the column is correct ... you can try to use the column index instead of the name.
ASKER
sorry about that my fault.
I had accidentaly removed the column from the datagridview.
I added it back in and its working fine now.
Thanks
I had accidentaly removed the column from the datagridview.
I added it back in and its working fine now.
Thanks
ASKER
Object reference not set to an instance of an obeject
?