如何在DataList控件中使用分页获取结果搜索 [英] How can I get Result Search with Paging in DataList Control

查看:73
本文介绍了如何在DataList控件中使用分页获取结果搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用ASP.NET + C#设计和编程页面,但是我不能这样做,所以请帮助我.

我有一个名为mygroup的数据库,并且我有三个表
*目录表..列(CatalogeId int,CatalogeName nvarchar)
*品牌表..列(BrandId int,BrandName nvarchar)
*产品表,它由这些列组成:

ProductId int
产品编号nvarchar
CatalogeId int
BrandId int
主要规格nvarchar
详细信息规格ntext
图片image和我要设计产品的表单,此表单包含这些工具箱

*用于CatalogeId的DropDownList
* BrandId的DropDownList
*用于显示结果搜索的DataList控件
*按钮

当用户访问示例产品页面(productpage.aspx)时,他会看到两个DropDownList,然后选择目录名称(笔记本电脑,打印机等)之一,然后选择品牌名称之一(索尼,东芝, ....),然后单击按钮,并获得
在分页数据列表中搜索结果

顺便说一句,我希望成为C#

I want to design and program page with ASP.NET + C# but I could not do that so please help me.

I have Database called mygroup , and I have three tables
* Cataloges table .. columns (CatalogeId int, CatalogeName nvarchar)
* Brand table .. columns (BrandId int, BrandName nvarchar)
* Products table, it is consists of these columns :

ProductId int
ProductNO nvarchar
CatalogeId int
BrandId int
MainSpecification nvarchar
DetailsSpecification ntext
Image imageand I want to desgin form for products, and this form contain these ToolBox

* DropDownList for CatalogeId
* DropDownList for BrandId
* DataList Control for displaying the Result Search
* Button

When the user visit Product Page for Example (productpage.aspx), then he see the two DropDownList , then choose one of Cataloge Name (Laptop , Printer, ....) , and choose one of the Brand Name (Sony, Toshiba, ....) , then Click the Button, and get the
Result Search in Paging DataList

By the way I hope to be the code with C#

推荐答案

http的代码: //netomatix.com/Development/DataListPaging.aspx [ ^ ]


去抛出该链接
http://netomatix.com/Development/DataListPaging.aspx[^]


go throw this link


从ASP.NET&中的数据库填充下拉列表C# [ ]

Populate DropDown List from Database in ASP.NET & C#[]

DataList Custom Paging in ASP.NET using C#


[ ]


这篇关于如何在DataList控件中使用分页获取结果搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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