C#:带有内置组件的数据库反射
我使用 TableAdapterManager、TableAdapter、BindingSource 和 DataSet 作为我的记录编辑器表单。我想自动化尽可能多的检查。例如我想知道字段 X 是否有“not null”选项。如果是这样,我可以在应用程序级别为相应的 TextBox 的 Text 属性运行关联的输入过滤器。 (例如修剪空格、检查是否与空字符串相等……)
- Visual Studio 2010
- Microsoft SQL Server 2005
I'm using TableAdapterManager, TableAdapter, BindingSource and DataSet for my record editor form. I would like to automate as many checks as possible. For example I want to know if field X has the "not null" option or not. If so, I can run the associated input filter at application level for the corresponding TextBox's Text property. (For example trimming white-spaces, checking after for equality with empty string, ...)
- Visual Studio 2010
- Microsoft SQL Server 2005
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)