需要插入返回last

需要插入返回last

本文介绍了需要插入返回last_insert_id()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人

现在,我希望将插入函数添加到具有以下规范的tableadpator中:

1.接受一个参数(一个绑定到数据库的数据表)
2.标量化后才能返回last_insert_id()

如何使用VS2005和Mysql在C#中完成此操作

我尝试了数百万种方法,这些方法带来了数百万种无休止的错误!!

感谢您的帮助

Bye

Dear all

Now i want a insert function to be added to a tableadpator with following specs:

1. take one parameter ( one datatable which is binded to the DB)
2. to be scalar to be able to return last_insert_id()

How this can be done in C# using VS2005 & Mysql

I tried millions of ways which gives millions of endless bugs !!

Thanks for any help

Bye

推荐答案




这篇关于需要插入返回last_insert_id()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 21:42
查看更多