使用中继器控制添加数据 [英] Adding data using repeater control

查看:65
本文介绍了使用中继器控制添加数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

这就是我想要实现的目标-我正在接受用户的车辆详细信息,因为一个人可以拥有的车辆数量没有限制,我想提出一个添加他/他选择的车辆数量的选项,在飞行中.我考虑使用中继器控件,因为它似乎提供了该功能.但是,我不知道如何去做.有人可以帮我提供基本代码吗?

抱歉,如果这个问题太基本了.任何帮助表示赞赏.

感谢大家的期待.
Siddy_17

Hello,

This is what I want to achieve - I am accepting vehicle details from a user, since there is no limit to the no.of vehicles a person can have I would like to present the option of adding as many vehicles as s/he chooses, on the fly. I thought of using repeater control since it seems to provide that functionality. However, I have no idea how to go about it. Can someone please help me with the basic code?

Sorry, If the question is too basic. Any help is appreciated.

Thanking everyone in anticipation.
Siddy_17

推荐答案

通过此链接

http://msdn.microsoft.com/en-us/magazine/cc163780.aspx [ ^ ]

希望对您有帮助
go thru this link

http://msdn.microsoft.com/en-us/magazine/cc163780.aspx[^]

hope it helps


创建一个网页.

1.在该页面上,输入诸如车号之类的文本框,输入Customer Name Etx输入所有详细信息.

2.放置一个按钮以添加所有这些详细信息,并在数据库中创建一个表,该表将存储所有这些
车辆详细数据.

3.单击该按钮后,请在数据库中提交所有详细信息.

4.将所有这些数据从数据库绑定到转发器.并执行编辑更新删除功能.

希望对您有帮助.
create One WebPage .

1.On that page put textboxes like vehical number,type Customer Name Etx to enter all details .

2.Put One button to add all those details and create one table in the database where it will store all those
vehicles details Data.

3.On click of that button submit all details in the DataBas.

4.bind all those data to repeater from database. and perform edit update delete functionality.

Hope this will help you.


这篇关于使用中继器控制添加数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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