TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rmtielman
NA
34
0
globals
Feb 11 2004 11:48 AM
Here's my problem: I've got a form with a combobox. I want to add the contents to an array each time I click on button1, and the array is in the Global.cs file using System; using System.Collections; using System.IO; namespace WindowsApplication1 { public class Globals { private Globals() { } public static ArrayList getList() { ArrayList arr = new ArrayList(); string cmbval; // value from combo foreach(string cmbval) { arr.AddRange(cmbval); } return arr; } } } and am writing this behind the button1: string cmbval = cboChoose.Text.ToString(); Globals.getList(); Please help.
Reply
Answers (
1
)
Calculate formula to double
MemoryStream expandability