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.

How to convert textbox.text to string?
JeffRusso
wes73
The code doesn't give me any errors.