Code:
<% if(txtEmpID.Text!=null) Response.Write("<a href='Assign_Dept.aspx?id=" + txtEmpID.Text + "&sname=" + txtlname.Text + ", " + txtfname.Text + "' + target='_new' + toolbar='no'' > Testing Response with IF </a>"); %>
<% if(txtEmpID.Text!=null) Response.Write("<a href='Assign_Dept.aspx?id=" + txtEmpID.Text + "&sname=" + txtlname.Text + ", " + txtfname.Text + "' + target='_new' + toolbar='no'' > Testing Response with IF </a>"); %>
<% if (txtEmpID.Text != null)
{
Response.Write("<a href='Assign_Dept.aspx?id=" + txtEmpID.Text + "&sname=" + txtlname.Text + ", " + txtfname.Text + "' + target='_new' + toolbar='no'' > Click Here . . .</a>");
}
else
{
Response.Write("Please select a record.");
}
%>
Comment