开发者

Cannot implicitly convert string to text box

开发者 https://www.devze.com 2022-12-25 11:12 出处:网络
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

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

精彩评论

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