SELECT @@IDENTITY in Access always returning 0

前端 未结 4 1721
清歌不尽
清歌不尽 2021-01-25 13:39

I have been trying to find a solution to this problem but so far nothing worked.

private void Insert()
    {
        string ConnectionStringAccess = Provider=Mic         


        
4条回答
  •  北荒
    北荒 (楼主)
    2021-01-25 14:27

    thanks for all the responses. I found out what the problem was. Apparently the access file is very old, 1997 to be exact and that was the problem. As soon as a tried a new access 2010 file it worked.

    Thanks again

提交回复
热议问题