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

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

0 Answers  


What are all the different methods under sqlcommand?

0 Answers  


What is Debug.write does?

1 Answers  


What are datareaders?

0 Answers  


Explain why canot we use multiple inheritance and garbage collector paralelly in .net?

0 Answers  






How to aggregating data across related tables?

0 Answers  


How to add a javaScript function in a datagrid?

0 Answers   C DAC, CDAC,


How do you update a dataset in ado.net?

0 Answers  


I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, How do you check whether all the 10 records were present while updating the data(Which event and steps) and throw the exception.

2 Answers   Fulcrum Logic, Satyam,


What is a datareader object?

0 Answers  


Define isolation?

0 Answers  


How can we check that some changes have been made to dataset since it was loaded?

0 Answers  


Categories