求助我想做一个指定分配的功能!
<link title="指定分配" url="teacher_assign_appoint.aspx"></link>用一个wizard控件
1、选择老师
2、选择老师的课题
3、选择学生
选择了老师然后就选择那个老师的课题!然后就到那个老师选择学生!可是怎么才能知道那些学生选择了这个老师呢?还有他们分别是选了那些课题?
应该用什么控件用什么程序呢?那个思路应该怎么样的呢?这个是我做的程序using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class BS_teacher_assign_appoint : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Wizard1_ActiveStepChanged(object sender, EventArgs e)
{
if (Wizard1.ActiveStepIndex == 1)
{
sdsProjects.SelectCommand = "SELECT [PNAME] FROM [KYProjects] WHERE PRINAME='" + DropDownList2.SelectedValue + "'";
//sdsProjects.SelectParameters.Add("PRINAME",);
ddlProjects.DataBind();
}
}
}