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 / 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 |
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
5 Answers IBM, Veegyapan Impacts,
How to generate XML from a dataset and vice versa?
What are two types of transaction supported by ado.net?
Which parameter of ConnectionString is used to specify the name of the database?
What does executenonquery () method return?
How do you merge two datasets into the third dataset in a simple manner?
What is the difference between connected and disconnected environment?
Can datareader hold data from multiple tables?
What is difference between sqldatareader and sqldataadapter?
What are the connected and disconnected modes in ado.net?
Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?
What are the major challenges in accessing data from a database?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)