标签文本未在浏览器中显示

时间:2014-12-12 10:45:36

标签: asp.net

我已经从数据表中为标签分配了值,当我使用断点检查时显示标签的值。但是它没有显示在浏览器中

if(loadingHubArrivalTable.Rows.Count > 0 && dt != Convert.ToDateTime("1900-01-01"))
            {
                //ReferenceLabel.Text = loadingHubArrivalAdapter.SelectReferenceNumber(Convert.ToInt32(VehicleDropDownList.SelectedValue)).ToString();
                ReferenceLabel.Text = loadingHubArrivalTable.Rows[0]["ReferenceNumber"].ToString();
                VehicleNumberLabel.Text = VehicleDropDownList.SelectedItem.Text;
                //loadingHubArrivalTable.Rows[0]["VehicleNumber"].ToString();

                ObjectDataSource1.Select();
                CheckBoxList.DataBind();

            }

0 个答案:

没有答案