Public Sub PopulateColumns()
Dim colID As New GridViewDataTextColumn()
colID.FieldName = "ID"
ASPxGridView1.Columns.Add(colID)
Dim colItemName As New GridViewDataHyperLinkColumn()
colItemName.FieldName = "ItemName"
colItemName.PropertiesHyperLinkEdit.NavigateUrlFormatString = "~/details.aspx?Device={0}"
colItemName.PropertiesHyperLinkEdit.TextFormatString = "Device {0}"
colItemName.PropertiesHyperLinkEdit.TextField = "ItemName"
ASPxGridView1.Columns.Add(colItemName)
End Sub