When I set textbox.Text with data contains apostrophe from a gridviewrow, it change the apostrophe to '. For example, the data in my database showing 40' and it shows 40' instead when I assign to the textbox. How do I decode it? Thanks for any help. Here is my code.
protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
{
GridViewRow row = GridView1.SelectedRow;
textbox.Text = row.Cells[1].Text;
}