a string doesn't exist in the current context
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.
精彩评论