formate datagrid text columns

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i currently have a datagrid with a price column and would like to know if
there is a way to formate the column so a '$' appears in front of everything
in the column. i've seen a few of the table style utilities people have
built, but i can't help but think there should be an easy way to do it. the
datagrid gets its info from a dataview.

i'm also curious if there is a way to make a column in the dataview display
as checkboxes in the datagrid. they user will not be able to use the check
boxes, just see if it is checked or not. is this possible and if so how? i'm
currently using c# .net and it is for a windows form, not a web form.

thanx for the help
 
Hi Oscar,
i currently have a datagrid with a price column and would like to know if
there is a way to formate the column so a '$' appears in front of
everything
in the column.

The DataGridTextBoxColumn has the Format and FormatInfo properties you can
use to specify data formatting.
 
Back
Top