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

Explain the basic use of "dataview" and explain its methods.

0 Answers  


How to store data in memory?

0 Answers  


Describe ado.net object model in detail.

0 Answers  


What is dataset and datatable in ado.net?

0 Answers  


Which name space is used to get assembly details?

0 Answers  






How can you implement sub data grid in a master datagrid?

1 Answers  


What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?

0 Answers  


What are the advantages of using datalist?

0 Answers  


What providers do you use to connect to oracle database ?

4 Answers   Digital GlobalSoft,


What is ado.net architecture?

0 Answers  


What is a data control clerk?

0 Answers  


In how many ways we can retrieve table records count? How to find the count of records in a dataset?

0 Answers  


Categories