请大虾帮我看一下:总是提示类型转换错误
System.Data.DataRow MyDataRow;
for(int i =0 ;i<MyDataTable.Rows.Count; i++)
{
MyDataRow = MyDataTable.Rows[i];MyDataRow[

TopoDataTable[0,i] = (double)(MyDataRow[MyLineIDFieldName]); TopoDataTable[1,i] =  (double)(MyDataRow[MyLineLeftPointFieldName]) ;
TopoDataTable[2,i] =  (double)(MyDataRow[MyLineRightPointFieldName]);
}