Datagrid to String

Hi,

I want to convert a datagrid back to a string. I tried

var myString = _root.myDatagrid.toString(); 

But this does not seem to work.