HTML <A> tag not appearing on page
I have a Dataset with two DataTable. I want to show some fields of the DataTables in labels.
I am using Stored Procedure. Code is here------
private void GetInfoCompany()
{
int companyid;
if (int.TryParse(hidCompanyId.Value, out companyid))
{
var ds = CompanyData.GetCompanyInfo(companyid);
if (ds != null && ds.Tables[0].Rows.Count > 0)
{
var dtcontact = ds.Tables[0];
var dtprofile = ds.Tables[1];
}
if (dtcontact != null && dtcontact.Rows.Count > 0)
{
lblContactName.Text = dtcontact.Rows[0]["Name"].ToString();
lblEmailId.Text = dtcontact.Rows[0]["Email"].ToString();
lblPhoneNo.Text = dtcontact.Rows[0]["ContactNumber"].ToString();
lblState.Text = dtcontact.Rows[0]["State"].ToString();
lblCountry.Text = dtcontact.Rows[0]["Country"].ToString();
}
if (dtprofile != null && dtprofile.Rows.Count > 0)
{
lblC开发者_开发技巧ompanyName.Text = dtcontact.Rows[0]["CompanyName"].ToString();
lblWebsite.Text = dtcontact.Rows[0]["Website"].ToString();
lblEmail.Text = dtcontact.Rows[0]["Email"].ToString();
lblAltMail.Text = dtcontact.Rows[0]["AlternateEmail"].ToString();
lblCompanyAddress.Text = dtcontact.Rows[0]["Address"].ToString();
lblPhNo.Text = dtcontact.Rows[0]["Phone1"].ToString();
lblMobileNo.Text = dtcontact.Rows[0]["Mobile1"].ToString();
}
}
}
What css are you using for the footer table
.footerTable{background-color:#191919;width:100%;} //inline css
<table cellpadding="5" cellspacing="1" border="0" class="footerTable">
<tr> <td> <a href="#"> Link </a> </td> </tr> </table>
You should look in firebug for the rendered output, hit F12.
精彩评论