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

0 Answers  


What do you know about ADO.NET's objects and methods?

0 Answers   NA,


What is difference between dataset and datatable?

0 Answers  


How can we load multiple tables in a dataset?

0 Answers  


Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?

0 Answers  


What is a dynaset in access?

0 Answers  


How do u implement locking concept for dataset?

2 Answers   ABC,


Which namespaces are used for data access?

0 Answers   SwanSoft Technologies,


What are the rules to implement connection pooling?

0 Answers  


What is difference between Dataview and Datatable?

0 Answers  


Which method do you invoke on the DataAdapter control to load your generated dataset with data?

4 Answers  


What is the provider and namespaces being used to access oracle database?

4 Answers   Microsoft,


Categories