How to Add Item in ListBox control in asp.net

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)


2.ToolBox-> Double Click on ListBox(or drag and drop ListBox on Design view)-> click arrow sign(Vertical arrow on image) -> click Edit Items->you will promt a popup window
ListBox Control in asp.net3.Click Add to add new Item to your ListBox-> Change the Text to your desired item name->Ok

ListBox Control in asp.net

































 4.Click F5 to run your project->Ok
ListBox Control in asp.net output




How to use LinkButton Control in asp.net

The LinkButton Control is the same as HyperLink Control But LinkButton has the same functionality as Button control.

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)

2.Click ToolBox-> Double Click on LinkButton(or drag and drop LinkButton on Design view)->Right click on LinkButton->Select Properties->change LinkButton Text Property to "aspdotnet-park Blog"

 Change the PostBackUrl  properties to your desired url name/link(here i write http://aspdotnet-park.blogspot.com/)
asp.net LinkButton Control


















3.Click F5 to run your project->ok
LinkButton control in asp.net

How to change TextBox Textmode to password in asp.net

1.File->New->Website->(left side select visual c#) ASP.NET Web Site->ok

2.Now You will see a Default.aspx page.
To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add

3. Click Design->From ToolBox Drag and Drop a Label to Design window->Right click on label->select properties->(look for text property) change text property from label to "User Name".

4.Toolbox->drag and drop a TextBox to Design window(or Double click on Textbox) Beside label1.


5.Again Add a label and a TextBox following step 3 and 4->Name this label text to "Password"
(if you want add a button also)
Your Design should look like this.

How To Develop Bangla(Unicode) Website in Visual Studio 2010

To Develop a Bangla Website, First start your visual studio 2010
1.File->New->Website->Select Asp.Net Website->ok




































you can see here, our english are shown correctly but in h2 some unknown sign.
To fix this we have to first install virinda because microsoft only support vrinda.Then you have to restore default font Vrinda by Font Fixer

2.Click Here To Download Vrinda font or You can Download from any other source
Then Install Vrinda Font.
3.Click Here to download Font Fixer