嵌套中继器控件. [英] Nested Repeater Control.

查看:62
本文介绍了嵌套中继器控件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一种情况,如下所示.

每个项目都有阶段和子阶段.
每个项目可能包含几个阶段,每个阶段又可以包含几个子阶段.

我需要创建一个插入表单,该表单将使用两个转发器控件.
第一个转发器将具有(下拉列表)ddlPhase和addnew按钮,第二个转发器将具有ddlsubphase和addnew按钮.

此表格应能够映射项目的阶段和子阶段.

请帮忙.

在此先感谢
Sanjeev Singh

hello All,

I have a scenario and that is as follows.

Every project has Phase and Subphase.
Each project may contain several phases and again each phase can contain several subphases.

I need to create an insert form that will use two repeater control.
The first repeater will have (dropdownlist)ddlPhase and addnew button, the second one will have ddlsubphase and addnew button.

This form should be able to map phase and subphase against a the project.

Please help.

thanks in advance
Sanjeev Singh

推荐答案

尝试
ASP.Net中的嵌套数据绑定(转发器)控件 [在ASP.NET中使用嵌套转发器的快速指南 [
Try
Nesting Data bound (Repeater) Controls in ASP.Net[^]
A quick guide to using nested repeaters in ASP.NET[^]


希望您会得到足够的例子.

http://www.asp.net/data-access/tutorials/nested- data-web-controls-vb [ ^ ]
http://programming.top54u.com/post/ASP-Net- Repeater-Nested-Using-C-sharp.aspx [ ^ ]
http://support.microsoft.com/kb/306154 [
Hope you will get enough examples.

http://www.asp.net/data-access/tutorials/nested-data-web-controls-vb[^]
http://programming.top54u.com/post/ASP-Net-Repeater-Nested-Using-C-sharp.aspx[^]
http://support.microsoft.com/kb/306154[^]


您好,

感谢您的答复.这些是显示从数据库到转发器的数据的示例.但是我想要的是不同的东西.
我想要的是这样的东西.


Phase [Design] ddl [AddPhase] btn
SubPhase [formdesign] ddl [AddSubPhase] btn
子阶段 [Layoutdesgin] ddl [AddSubPhase] btn
阶段 [正在测试] ddl [AddPhase] btn
SubPhase [formtesting] ddl [ AddSubPhase] btn



[保存] btn [取消] btn

请帮助
Hello,

thanks for ur reply. these are the example for displaying the data from database to repeater. but what i want is some thing different.
what i want is some thing like this.


Phase [Design]ddl [AddPhase]btn
SubPhase [formdesign]ddl [AddSubPhase]btn
SubPhase [Layoutdesgin]ddl[AddSubPhase]btn
Phase [Testing]ddl [AddPhase]btn
SubPhase[formtesting]ddl[AddSubPhase]btn



[save]btn [cancel]btn

please help


这篇关于嵌套中继器控件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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