string queryString = "SELECT * FROM ContactDetails;"; using (SqlConnection connection = new SqlConnection(connectionString)) { SqlCommand command = new SqlCommand(queryString, connection); connection.Open(); SqlDataReader reader = command.ExecuteReader(); while (reader.Read()) { Here i want to encode each value } reader.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)