TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Navaz
NA
96
45.1k
error
Aug 29 2013 1:05 AM
protected void Page_Load(object sender, EventArgs e)
{
classfill();
}
public void classfill()
{
ClassSp spclass = new ClassSp();
DataTable dtblclass = new DataTable();
dtblclass = spclass.classViewAll();
ddlclasname.DataSource = dtblclass;
ddlclasname.DataValueField = "classId";
ddlclasname.DataTextField = "className";
ddlclasname.DataBind();
ddlclasname.Items.Insert(0, "--select--");
}
public void divfill()
{
DivisionSp spdivision = new DivisionSp();
DataTable dtblc = new DataTable();
dtblc = spdivision.divisionSearch(DivSearch);
ddldivisionname.DataSource = dtblc;
ddldivisionname.DataValueField = "divisionId";
ddldivisionname.DataTextField = "divisionName";
ddldivisionname.DataBind();
ddldivisionname.Items.Insert(0, "--select--");
}
then
protected void ddlclasname_SelectedIndexChanged(object sender, EventArgs e)
{
DivSearch = ddlclasname.SelectedValue.ToString();
divfill();
}
but div is not fill
Reply
Answers (
3
)
how to add child control method on master page button click
File Uploading , Save and Retrieve in ASP.NET