On 2013-04-10 17:04, Tony wrote:
> Here I have a short method and when I hover over loopnr or gdslag in
> debugger nothing is shown but
> if I hover over the right part on the same row the debugger display the
> value.
...
> public override object RunRecordSave(int iplevel)
> {
> string freeText = ""; // free text to be used in combo
>
> switch (iplevel)
> {
> case 2:
> this.DataSet.ttFgodsdag[0].anlpnr =
> Convert.ToInt32(this.CallNo.Value.ToString());
> if (goodsOrWaitingReason.SelectedIndex != -1) // A
> choice has been selected if true
> {
> string loopnr =
> ((ListItem)goodsOrWaitingReason.SelectedItem.DataValue).Loopnr;
> string gdslag =
> ((ListItem)goodsOrWaitingReason.SelectedItem.DataValue).Gdslag;
> }
> else
> {
> freeText = goodsOrWaitingReason.Text;
> }
>
> break;
> }
>
> return null;
> }
>
Just some "stupid" control questions...
When you are hovering over loopnr or gdslag have you executed the line?
and are you still within the braces {} ?
// Anders
--
English isn't my first language.
So any error or strangeness is due to the translation.
Please correct my English so that I may become better.