Hi, it's a very simple question, but I cant see how to solve it!

I'm doing a web form,
I have a button inside a table, the thing is, I can't access to the code of this button,

Usually you just double click on the design view over a button, and you get to the .cs to the part of

 protected void Button1_Click(object sender, EventArgs e)
        {
        }

But I can't double click this button, it selects the entire table.
I have tried writing the code directly, but it doesn't work..

You can do this in Source View...

On the button control add an attribute called "onclick" so for example,

 <asp:button runat="server" ID="Button1" onclick="Button1_Click">
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.