C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




arraylistitems


Posted Date: 29 May 2007      Total Responses: 1

Posted By: shalini nalam       Member Level: Silver     Points: 2


in my application i m using dropdownlist boxes , how to create a arraylist ,using arraylist how to store listbox items , and how to call these arraylist using sessions in my application

please send me solution




Responses

Author: Manu    29 May 2007Member Level: GoldRating:     Points: 2
ArrayList Declaration and Adding items to it


dim mycountries=New ArrayList
mycountries.Add("Norway")
mycountries.Add("Sweden")
mycountries.Add("France")
mycountries.Add("Italy")
dropdownlist1.datasource=mycountries
dropdownlilst1.databind()

It works for u.

Same as for ListBox also


Post Reply
You must Sign In to post a response.
Next : sample code in vb.net using stored procedure for insert the records in sqlserver.pls give code in sq
Previous : arraylistitems
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

web conferencing services

Contact Us    Privacy Policy    Terms Of Use