C# code dtServerBOList.DefaultView.Sort = "ServerName"; for (int i = 0; i < dtServerBOList.DefaultView.Count; i++) { DataRowVew drv = dtServerBOList.DefaultView.Item[i] Console.WriteLine (drv["ServerName"].ToString()); }