ID PercentofSales 1 0 2 25 3 50 4 75
For Each dr As DataRow In m_dtPercentofSales.Rows Me.cmbPercentofSales.Items.Add(dr("PercentofSales")) Next
SELECT ID, CAST(PercentofSales AS VARCHAR(10))+'%' AS PercentofSales FROM yourtable
foreach (DataRow row in MyDataTable.Rows) { row["columnNameHere" Or index] = value; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)