开发者

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

Cannot implicitly convert string to text box

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜