Gridview Hyperlinkfield using DataNavigateUrlFormatString with Ampersand
问题 So I have gridview pulling fields from a table and my hyperlinkfield is used to go to a specific page for that row to get more detailed data. Everything seems to work great except when the field used in the hyperlinkfield has an ampersand. I assume it is reading the ampersand as something else and so it doesn't bring up the proper info because the ampersand is in the name in the database. Hyperlinkfieldcode: <asp:HyperLinkField HeaderText="Name" Text="{0}" DataNavigateUrlFields="Name"