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

How to work with disconnected data - the dataset and sqldataadapter?

0 Answers  


What is command class in ado.net?

0 Answers  


What is Data view?

0 Answers  


What are the parameters that control most of connection pooling behaviours?

0 Answers  


What is partial class?

0 Answers  


What is the difference between ADO and ADO.Net?

0 Answers  


Explain how to call the sql commands asynchronously in ado.net version 2.0?

0 Answers  


What are the disadvantages of using datalist?

0 Answers  


Is entity framework better than ado.net?

0 Answers  


how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....

1 Answers   Ford,


What are the three Objects of ADO.

10 Answers  


what is typed and untyped dataset

3 Answers  


Categories