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 can I retrieve two tables of data at a time by using data reader? Data reader read and forward only, how is it possible to get 2 tables of data at a time?

0 Answers  


Which is faster datareader or dataadapter?

0 Answers  


Why is it important to close an ado.net application?

0 Answers  


How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?

0 Answers   SwanSoft Technologies,


What is the difference in an abstract class and an interface?

0 Answers  






What does adodb stand for?

0 Answers  


i want 2 pass values(enterd in textbox)to table in sql server without using stored procedure in c#.plz tell me code with an example.

5 Answers   Softcon, Tecra,


What does datareader object do?

0 Answers  


On ODP.net ?

1 Answers   MMTS,


What are the important features of ado.net 2.0?

0 Answers  


What is ADO .NET and what is difference between ADO and ADO.NET?

7 Answers   Ksb,


How do you sort the data in datagrid?

4 Answers   Choice Solutions,


Categories