changing values of a column in datatable in vb.net
I want to loop through a databale and change the values of a specific column in that datatable. eg: the database returns Request_ID , Desc , Date and Status_Ind . The Status_Ind column contains integer values. I dont want to show the integer values to the user. I want to convert that to a string value based on the integer values returned in that columns. if Status_Ind = 1 then 'the values changes to Published You could do it by creating another column: Dim dt As New DataTable dt.Columns.Add(New DataColumn("status_int", GetType(Int32))) dt.Columns.Add(New DataColumn("status_str", GetType(String