Question: Can someone show me ho can i use the variables stored in this Ajax call:

```
            $.get( "nuoviServiziReview.html", function( data ) {
                var nuovoServizioReview = $('<div/>',{id:'servizio'+ incremento});

                nuovoServizioReview.html(data);
                nuovoServizioReview.appendTo(parentDiv2);  

                servizio = nuovoServizioReview;
                reviewOption1 = nuovoServizioReview.find('.select1');
                reviewOption2 = nuovoServizioReview.find('.select2');
                reviewOption3 = nuovoServizioReview.find('.select3');
                prezzoFisso = nuovoServizioReview.find('.select1').children('label:last-child');

                nuovoIdCheckbox.attr('checked', true);
                $(thisBtnOk).addClass('hidden');

                //Add title to Review Section
                var newServiceTitle = ($(idInputeText).val());
                servizio.text(newServiceTitle);
            }); 

```

After the call is done, I need to use the variables inside it but from outside the function. 
I tried to console.log for example the "servizio" var but it print out nothing on the console. 
I tried to check different examples but I didn't understand how to use them.
Can someone show me a practical example?
This ajax call is done after a button is clicked on my index page.

Answer: 
markup:

```
       <ItemTemplate>
            <asp:Label ID="lblStage" runat="server" Text='<%#ShowStage(Eval("codingStage"))%>'></asp:Label>
        </ItemTemplate>

```

in code behind:

```
protected string ShowStage(int codingStage)
{
    switch (codingStage)
    {
        case 0:
            return "All";
        case 1:
            return "Uncode";
        case 2:
            return "Code";
        default:
            return "All";

    }
}

```
In the same RowDataBound event, check e.RowRowType to detect the Header row. Once you are in the Header row, find the dropdown with a FindControl call. Once you have the dropdown, save the selected value are text in an instance variable. Then you can access it when RowDataBound fires for data rows.