I'm using ADO.NET 2.0 with vb 2005. I have a dataset as a datasource that selects all of the Shoe_Types from a Shoe_Type table. I am creating the data set and doing all of the data binding at runtime.
I then bind each label at run time by doing:
Expand|Select|Wrap|Line Numbers
- Me.lblShoeTypePrice.DataBindings.Add("text", Shoe_Type_DataTable, "Shoe_Price")
Right now I'm doing things like this:
Expand|Select|Wrap|Line Numbers
- Me.lblDailyCost.Text = FormatCurrency(Me.lblDailyCost.Text, 2)
I was wondering if formatting the datacolumn in the ShoeType DataTable to type currency would be best. Anyway...can anyone explain the common practice for this sort of thing? Thanks a ton!!