Method name expect
By in ASP.NET on Mar 16 2007
  • Jack Hughes
    Mar, 2007 16

    sridhar --

    Your getting that error because false is literal and should not have the parentheses.

    Label5.Visible = false();

    Should look like this:

    Label5.Visible = false;

    Jack

    • 0
  • Mar, 2007 16

    public partial class welcome : System.Web.UI.Page

    {

    protected void Page_Load(object sender, EventArgs e)

    {

    Label5.Visible = false();

    }

    protected void LinkButton1_Click(object sender, EventArgs e)

    {

    Button4.Enabled = false();

    }

    when i am trying like this, it show error like Method name expected.What is mistake i have done here.Please let me know.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS