NpgsqlCommand cmd = new NpgsqlCommand("Select * from \"Locations\" where \"LocationName\" LIKE @loc_name",con);
cmd.Parameters.AddWithValue("@loc_name","%" + Location_Name + "%");
NpgsqlCommand cmd = new NpgsqlCommand("Select * from \"Locations\" where \"LocationName\" LIKE @loc_name",con);
cmd.Parameters.AddWithValue("@loc_name","%" + Location_Name + "%");