get value from Linq and put it in the tex box
<p>i have this code</p>

<pre><code>MasterSoapClient sp = new MasterSoapClient();
MasterData[] lstMasterData = sp.GetActivityType(stid, null, 1);
grdEditActivityType.DataSource = lstMasterData;
grdEditActivityType.DataBind();
Session["opType"] = 2;

txtActivityCode.Text = lstMasterData.ToString();
txtActivityCode.DataBind();
</code></pre>

<p>here i called web service and put all data in this Gridview "grdEditActivityType "
and already workin 
but there is column of lstMasterData  i want to put it in the text box out of the grid 
how i can do this ? </p>
