I have a couple of textboxes that I am trying to concatenate and I receive some error about that. Here's what I have.
string strSummary;
strSummary = txtFstName.Text + " " + txtLstName.Text;
The error message is:
Cannot convert from 'System.Web.UI.WebControls.TextBox' to 'string'
Your help is appreciated.
string strSummary;
strSummary = txtFstName.Text + " " + txtLstName.Text;
The error message is:
Cannot convert from 'System.Web.UI.WebControls.TextBox' to 'string'
Your help is appreciated.