i making a project using windows application c#, i want to
show user name, password, and one button login. i wanna
make it with sealed class .how its possible . when i
clicked my login button all project should be open. pls
cleare me.



i making a project using windows application c#, i want to show user name, password, and one but..

Answer / prateek chaurasia

you have to firstly write in the coding inside the login
button you are taking. the coding is of the form i.e.
if(textBox1.text=="Username"&&textBox2=="Password")
{
Form.ShowDialog();
}
Form is the form which you want to show after the login.
textBoxes will contain the username and the password.

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

What is linq and entity framework?

0 Answers  


What is the main difference between ADO and ADO.Net

4 Answers   HCL,


What happens when u try to update data in a dataset in .NET while the record is already deleted in SQL SERVER as backend?

5 Answers  


How to retrieve the user id which is provided while windows authentication?

0 Answers   Cap Gemini,


Which is the best institute in navi mumbai to learn DotNet

2 Answers  






differance between ADO vs ADO.Net?

0 Answers   MCN Solutions,


How would you connect to database using .NET?

0 Answers  


What is data adapter in ado.net with example?

0 Answers  


what is connection pooling ?

3 Answers   Vertex,


What is the full form of ado.net?

0 Answers  


What is reference by value how does it works in .net?

2 Answers   SQL Star,


What is the difference between Datareader and Dataset?

0 Answers  


Categories