开发者

a string doesn't exist in the current context

开发者 https://www.devze.com 2023-01-02 12:56 出处:网络
the following is a part开发者_Python百科 of my code. string lsStatus; lsStatus = ((Tv10DBLookup)(Sender)).EditValue.ToString();

the following is a part开发者_Python百科 of my code.

string lsStatus;
lsStatus = ((Tv10DBLookup)(Sender)).EditValue.ToString();

while im debuging the code, im getting the following: "lsStatus is not in the context" !

Knowing that (Tv10DBLookup)(Sender)).EditValue is returning the value "Closed"

what does this mean ?


This would happen if the current stack frame is in a different method.

Double-click on the entry in the Call Stack window for the method that contains your variable.

Also, look at the Locals window.

0

精彩评论

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