如何在数据适配器查询中使用别名?
我正在使用 SQL Server 数据库,并将时间值存储在日期时间变量中。我正在 vb.net 中开发一个预订系统应用程序。当我想使用 datagridview 并通过实现 dataadapter 和数据集查看已经进行的预订时...当表显示在 datagridview 中时,我希望显示自定义列名称,所以任何人都可以告诉我如何在查询中使用别名在datadapter初始化部分给出
I am using a sql server database and i am storing the time value in the datetime variable. I am developing a booking system application in vb.net. When I want to view already made bookings using datagridview and by implementing dataadapter and dataset...When the table is shown in the datagridview I want custom column names to be shown so can any one tell me that how can i use alias in the query given in datadapter initialization part
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在查询中...
在隐藏代码中:
在设计器中:
In the query...
In the code-behind:
In the designer: