Yearly Archives - 2013

How to use Active Directory Membership Provider in ASP.NET

The ASP.NET membership feature provides secure credential storage for application users. We will use The following: Web page named Login.aspx and another web page named CreateUser.aspxLogin Control.Create User Wizard Control. Steps: 1- Configure Forms Authentication in Web.config file. To configure forms authentication, set the <authentication> element's mode attribute to "Forms" and then configure your application's Web.config file as shown...

How to create AutoComplete Textbox in Windows Forms Application using C#.NET

I'll show you how to create AutoComplete Textbox in a Windows Forms Application This time we're going to get the data from MS Access Databaseso let's get starting! 1- Create Windows Forms Application.2- Add Textbox Control.3- Copy the below code into your form. AutoCompleteStringCollection stringCollection = new AutoCompleteStringCollection(); private void AutoCompleteTextBox() { OleDbConnection aConnection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\Test.mdb"); ...