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 ado.net components?

0 Answers  


What are the key events of sqlconnection class?

0 Answers  


What is difference between ado.net and asp net?

0 Answers  


Why do we use sqldataadapter?

0 Answers  


What is ado.net objects?

0 Answers  






What are the data providers in ADO.NET framework?

0 Answers  


What is the main difference between ADO and ADO.Net

4 Answers   HCL,


What is a datagrid?

4 Answers  


What is openquery?

0 Answers  


What is disconnected scenario in entity framework?

0 Answers  


Why is stored procedure used in ado.net?

0 Answers  


What is the difference between ado.net and oledb?

0 Answers  


Categories