From: bthumber on
In my message attachment the user clicks on the message a new page is popped
up. Question, How

I get the contents of the message so the user can read it. Mind you the
message is stored in a

database file. I can see the ID on the next page, please see my code so far.

private void SetAttachment(Go.Message message)
if(message.MessageAttachments != null)
IDictionaryEnumerator enumer = message.MessageAttachments.GetNumerator();
GO.myFile file = (GO.myFile)enumer.Value;
Label hyper = new Label();
hyper.Text = file.FileNM;
hyper.Attributes.add("onclick", string.Format("return'GetFile.aspx?ID=

{0}');", file.FileID));