阅读背景:

如何从文本框(windows窗体)c#检查数据库中是否存在主键

来源:互联网 

I have a textbox and a button in a windows form application. I want to check if the primary key (persId) exists in my sql database/dataset (made with Visual studio) when I enter a number in the textbox and press the button. I dont know how to compare the text with persId from the database.I have a textbox and a button in a windows form




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: