我如何使用c#在asp.net中使用DropDownList,TextBox,Gridview进行搜索 [英] How Can I Search Using DropDownList, TextBox, Gridview in asp.net using c#

查看:109
本文介绍了我如何使用c#在asp.net中使用DropDownList,TextBox,Gridview进行搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用c#在asp.net中使用DropDownList,TextBox和Gridview进行搜索


ASPX设计页面

搜索-下拉列表
输入报价单编号-文本框
输入报价日期-文本框
输入客户代码-文本框

提交按钮

-------------------------------------------------- ------------------------------

假设用户在文本框中输入ID号1001并单击提交"按钮,则应从数据库中搜索数据,并应使用gridview进行显示.

How Can I Search Using DropDownList, TextBox, Gridview in asp.net using c#


Aspx-design page

Search by -- Dropdownlist
Enter Quote Number -- Textbox
Enter Quote Date -- Textbox
Enter Customer Code - Textbox

Submit Button

--------------------------------------------------------------------------------

Suppose when user enters id number 1001 into textbox and clicks on submit button the data should be searched from the database and should be displayed by using gridview.

推荐答案

通常在问答中被认为是不礼貌的.看您的其他问题,您似乎没有,但是阅读所有这些问题,它们看起来都很相似.您是否在其他问题中尝试了我的建议? [ ^ ]您是否了解ADO.Net?你尝试过什么吗?
Reposting questions is often considered rude here in Q&A. Looking at your other questions, it would seem that you did not, but reading all of them, they all look similar. Have you tried my advice on your other question?[^] Have you read about ADO.Net? Have you tried something?


这篇关于我如何使用c#在asp.net中使用DropDownList,TextBox,Gridview进行搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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