Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

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?

2 Answers  


What are two types of transaction supported by ado.net?

0 Answers  


Which parameter of ConnectionString is used to specify the name of the database?

0 Answers  


What does executenonquery () method return?

0 Answers  


How do you merge two datasets into the third dataset in a simple manner?

3 Answers   IBM,


What is the difference between connected and disconnected environment?

0 Answers  


Can datareader hold data from multiple tables?

0 Answers  


What is difference between sqldatareader and sqldataadapter?

0 Answers  


What are the connected and disconnected modes in ado.net?

0 Answers  


Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?

0 Answers  


What are the major challenges in accessing data from a database?

0 Answers  


Categories