Hallo Vishu,
I can not verify loss of precision when importing rows. I did a quick test:
using System;
using System.Data;
namespace Removed_Seconds
{
class Program
{
static void Main(string[] args)
{
DateTime datetime = DateTime.Now;
DataTable tableOriginal = new DataTable("Original");
tableOriginal.Columns.Add("Time", typeof(DateTime));
DataTable tableCopy = new DataTable("Copy");
tableCopy.Columns.Add("Time", typeof(DateTime));
tableOriginal.Rows.Add(datetime);
tableCopy.ImportRow(tableOriginal.Rows[0]);
DateTime dtOriginal = (DateTime) tableOriginal.Rows[0]["Time"];
DateTime dtCopy = (DateTime) tableCopy.Rows[0]["Time"];
Console.WriteLine("Original Time: {0}:{1}", dtOriginal, dtOriginal.Millisecond);
Console.WriteLine("Copy Time: {0}:{1}", dtCopy, dtCopy.Millisecond);
Console.ReadKey();
}
}
}
Result: Values are imported as expected.
It seems you have some other problem.
Btw. You talked about Milliseconds but in your example you showed that Seconds are missing
(02.06.09 12:09)