I am trying to open a mailto that will use the emailaddress from the databound field and add a custom subject line and custom body.
My mailto window pops up and the email address specific to the data field is populated, however the subject and the body remain empty.
<asp:BoundField DataField="EmailAddress" HeaderText="Refer Patient"
SortExpression="EmailAddress"
DataFormatString="<a href=mailto:{0}>{0}<?subject=Email%20Subject&body=Email%20Body%20Text > </a>"
HtmlEncode="false"
HtmlEncodeFormatString="false" />
Any suggestions on where I am going wrong?