2
Answers

Security issues with my ASP.Net Administraion tool

Sam Jones

Sam Jones

9y
490
1

 I am creating a website using visual studio Using C# language and I am having problem with my ASP.Net  administration tool. Inside the administration tool in the security it says unable to connect to  sql database server. Can you help me solve this  issue?
Answers (2)
0
ytram5

ytram5

NA 135 0 20y
There's a couple of ways you can do it. You can create a panel containing all the controls you want for the advanced mode, and set it to be not visible by default. Now the button you press can alter the visibility of that panel. If you place all of the controls in a Panel called panel1, add this line to your button click event: this.panel1.Visible = !this.panel1.Visible; Add anything else to modify the text of the button if you wish. Another way to do it might be to create two different forms, but have one be the advanced, and the other the basic. There might be a good way to do that using inheritance, but having never done that myself, I can't give you too much input on it.
0
bilnaad

bilnaad

NA 686 0 20y
Sorry I don't understand the question??? Could you explain some more?