locked
Store value to another variable RRS feed

  • Question

  • User1136423486 posted

    this.Context.Response.Write(retailContext.Dataid); 

    can i this store another variable is it possible?

    possibke means how?

    Wednesday, June 3, 2020 6:23 AM

Answers

  • User-719153870 posted

    Hi Noobewolf,

    If you are saying whether retailContext.Dataid can be set to another variable, then the answer is yes.

    Just declare another variable and assign value:

    string a = retailContext.Dataid;

    Or if i misunderstood anything, please provide more code and detailed information about current requirement.

    Best Regard,

    Yang Shen

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 3, 2020 8:20 AM

All replies

  • User-719153870 posted

    Hi Noobewolf,

    If you are saying whether retailContext.Dataid can be set to another variable, then the answer is yes.

    Just declare another variable and assign value:

    string a = retailContext.Dataid;

    Or if i misunderstood anything, please provide more code and detailed information about current requirement.

    Best Regard,

    Yang Shen

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 3, 2020 8:20 AM
  • User1136423486 posted

    Yeah It`s Works.

    Thank you

    Wednesday, June 3, 2020 9:06 AM