protected void fundNameDropDownList_SelectedIndexChanged(object sender, EventArgs e) { if (fundNameDropDownList.SelectedValue.ToString() != "0") { refixationDateFromDropDownList.DataSource = reportObj.dtFillFixationDate(" AND FUND_CD='" + fundNameDropDownList.SelectedValue.ToString() + "'"); refixationDateFromDropDownList.DataTextField = "NAME"; refixationDateFromDropDownList.DataValueField = "ID"; refixationDateFromDropDownList.DataBind(); refixationDateToDropDownList.DataSource = reportObj.dtFillFixationDate(" AND FUND_CD = '" + fundNameDropDownList.SelectedValue.ToString() + "'"); refixationDateToDropDownList.DataTextField = "NAME"; refixationDateToDropDownList.DataValueField = "ID"; refixationDateToDropDownList.DataBind(); effectiveDateFromDropDownList.DataSource = reportObj.dtFillEffectiveDate(" AND FUND_CD = '" + fundNameDropDownList.SelectedValue.ToString() + "'"); effectiveDateFromDropDownList.DataTextField = "NAME"; effectiveDateFromDropDownList.DataValueField = "ID"; effectiveDateFromDropDownList.DataBind(); effectiveDateToDropDownList.DataSource = reportObj.dtFillEffectiveDate(" AND FUND_CD = '" + fundNameDropDownList.SelectedValue.ToString() + "'"); effectiveDateToDropDownList.DataTextField = "NAME"; effectiveDateToDropDownList.DataValueField = "ID"; effectiveDateToDropDownList.DataBind(); } else { refixationDateFromDropDownList.DataSource = reportObj.dtFillFixationDate(" "); refixationDateFromDropDownList.DataTextField = "NAME"; refixationDateFromDropDownList.DataValueField = "ID"; refixationDateFromDropDownList.DataBind(); refixationDateToDropDownList.DataSource = reportObj.dtFillFixationDate(" "); refixationDateToDropDownList.DataTextField = "NAME"; refixationDateToDropDownList.DataValueField = "ID"; refixationDateToDropDownList.DataBind(); effectiveDateFromDropDownList.DataSource = reportObj.dtFillEffectiveDate(" "); effectiveDateFromDropDownList.DataTextField = "NAME"; effectiveDateFromDropDownList.DataValueField = "ID"; effectiveDateFromDropDownList.DataBind(); effectiveDateToDropDownList.DataSource = reportObj.dtFillEffectiveDate(" "); effectiveDateToDropDownList.DataTextField = "NAME"; effectiveDateToDropDownList.DataValueField = "ID"; effectiveDateToDropDownList.DataBind(); } }