e.Item.Cells[1].Text;
将那个设置成模板label1,然后public string GetItemString( int Row,string ColumnID )
{
if ( Row > this.Items.Count ) return "";
DataGridItem dgItem = this.Items[Row];
// Try to find & deal with each AmmicControls.Copy control.
for(int i=0;i<dgItem.Cells.Count;i++)
{
for(int j=0;j<dgItem.Cells[i].Controls.Count;j++)
{
Control ctrl = dgItem.Cells[i].Controls[j];
if ( ctrl.ID == ColumnID && ctrl is TextBox ) return (( TextBox )dgItem.Cells[i].Controls[j]).Text;
if ( ctrl.ID == ColumnID && ctrl is Label ) return (( Label )dgItem.Cells[i].Controls[j]).Text;
}
}
return "";
}