コードビハインドから div に innerhtml 値を割り当てようとしています。これが私が得たものです:
private void ModalBody()
{
LoadTemplateOverride();
divModalBody.InnerHtml =
}
private void LoadTemplateOverride()
{
string templateURL = String.Format("{0}/leadgen/eodemails/templatecontroller.aspx?eodid={1}", site.Get("InternalApiUrl"), Email.ID);
HttpWebRequest request = HttpWebRequest.Create(templateURL) as HttpWebRequest;
HttpWebResponse response = request.GetResponse() as HttpWebResponse;
tbSubject.Text = response.Headers["EmailSubject"];
tbBody.Text = (new StreamReader(response.GetResponseStream())).ReadToEnd();
}