Cannot implicitly convert string to text box
I am getting the following failure message when i build on the below two lines
http://www.freeimagehosting.net/][img]http://www.freeimagehosting.net/uploads/eb92ef98ac.jpg
Exceptions = message.Substring(trav + 开发者_Go百科1, expdiff - 1); ExceptionList.Add(Exceptions);
Exceptions.Text = message.Substring(trav + 1, expdiff - 1);
ExceptionList.Add(Exceptions.Text);
seems like Exceptions
is the name of a TextBox
, and not a string
.
Try using the Exceptions.Text
property in both places that you currently have Exceptions
You need to use the Textbox.Text property
精彩评论