1) I am using C# window application in that i have use one group box and in that i have put text boxes my first i visible and reset i have enabled to false i have insert one button in group box.

I want that on the click of the add button second row should be visible and user can put the information.


2) how i do the connection of sql on text box and retrieve the data on label

Please help me as soon as possible

1) You just set the controls to be visible, for example textBox2.Visible = true; 2) Not sure what you are asking, could you explain more?

please explain your question. I don't understand what u want to say?

private void button1_Click(object sender, EventArgs e)
        textBox1.Visible = false;

private void button2_Click(object sender, EventArgs e)
        textBox1.Visible = true;
Be a part of the DaniWeb community

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