hi all i have added 3 colums to a data grid view then i add the data manualy
the problem is it sorts price as 1,11,2 instead of 1,2,11
i have looked around on google cant seem to find anything that work on vb 2008 express
thank you for your time
VB.NET:
While Not Rec.EOF
sfbarcode = Rec.Fields("barcode").Value
sfprice = FormatCurrency(Rec.Fields("price").Value)
sfitem = Rec.Fields("Item").Value
DataGridView1.Rows.Add(sfbarcode, sfitem, sfprice)
end while
the problem is it sorts price as 1,11,2 instead of 1,2,11
i have looked around on google cant seem to find anything that work on vb 2008 express
thank you for your time