Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Getting binded DataSource from a DataGrid ??


Message #1 by "Piyush Prakash" <piyush_prakash@i...> on Thu, 13 Mar 2003 12:35:35 +0530
Hi all,
How to extract the binded DataSource from a  dataGrid ?
Something of this sort :

			DataSet dsTemp =3D new DataSet();

			dsTemp =3D (DataSet)DataGrid1.DataSource;
			LabelTest.Text =3D dsTemp.GetXml();

Ho to achieve this ?
The DataSet binded to this DataGrid was returned from a WebMethod ( so
can't connect to Database).

Regds,
Piyush
-------------------------------------------------
Piyush Prakash
Infosys Technologies Ltd,
Bangalore ,India
Ph :  91-80-51174701 (Direct) .
      91-80-8520261 (Extn : 54701).
-------------------------------------------------




  Return to Index