try calling the following function

private static void KludgeAutoIncrement(DataColumn dc, int value)
{
try
{
System.Reflection.BindingFlags bf =
System.Reflection.BindingFlags.Public |
System.Reflection.BindingFlags.NonPublic |
System.Reflection.BindingFlags.GetField |
System.Reflection.BindingFlags.IgnoreCase
|System.Reflection.BindingFlags.Instance;
System.Reflection.FieldInfo fInfo =
dc.GetType().GetField("autoIncrementCurrent",bf); fInfo.SetValue(dc,value);
}
catch (Exception)
{
//when the field is gone, perhaps MS fixed the autoincrement bug
}
}