在按钮单击上选择多行并在新窗口窗体的文本框中逐个显示所选行? [英] select multiple rows on button click and show selected rows one by one in textboxes on new window forms?

查看:56
本文介绍了在按钮单击上选择多行并在新窗口窗体的文本框中逐个显示所选行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个窗口,其中我有两个日期时间选择器工具。现在我要做的是根据提交按钮的数据库中的datetime选择器中的日期选择之间的行。并且现在我想在新窗口窗体中显示的文本框中逐个显示这些日期之间选择的行。

我必须做什么这个功能????? ??

帮助...









谢谢

I have a window from in which i have a two datetime picker tools. Now what i do is select the rows between on the basis of date present in both of datetime picker from data base on submit button. And now i want to shows the rows selected between those dates one by one in textboxes present on new windows form.
what i have to do this fuctionality???????
Help...




Thanks

推荐答案

您编写代码。我们不了解您的数据库格式,但您可以使用SQL获取数据。我可能会将日期传递给新表单,该表单调用DAL获取项目列表,然后显示它。答案是非常基本的,因为你已经提出了一个问题,这个问题基本上没有意义。
You write code. We have no idea about your database format, but you get your data with SQL. I'd probably pass the dates to a new form, which calls the DAL to get the list of items, then shows it. The answer is pretty basic, because you've asked a question that's basic to the point of being meaningless.


这篇关于在按钮单击上选择多行并在新窗口窗体的文本框中逐个显示所选行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆