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.
Answer Posted / 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 View All Answers
Which provider is used to connect ms access, oracle, etc…?
Give few examples of datareader that is used in different dataproviders.
What is difference between datagridview and datagrid control in winforms?
Which architecture does Datasets follow?
Can datareader hold data from multiple tables?
What are the advantages of oledb compared with other classes?
What is the difference between typed and untyped dataset?
How many major types of connection objects in ADO.NET?
How to add an aggregate column?
What are the data access namespaces in .NET?
What is dataset object? Explain the various objects in dataset.
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?
How to work with disconnected data - the dataset and sqldataadapter?
What is the difference between ado.net and entity framework?
How can you identify whether or not any changes are made to the DataSet object since it was last loaded?