I am looking for sending any server control in mail ..
but I am getting the Error which is:
Control 'TextBox1' of type 'TextBox' must be placed inside a form tag with runat=server.
this is CODE BEHIND:
protected void Page_Load(objec
{
TextBox1.Text = "Finishing";
StringBuilder SB = new StringBuilder()
StringWriter SW = new StringWriter(SB
HtmlTextWriter HTW = new HtmlTextWriter(
TextBox1.Render
}
this is ASPX page.
thanks !!!
Replies
Know the answer? Post it — somebody with the same question will find it here.