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 16 2004 7:25 AM
I have this function in my globals file: public static void getList(ComboBox cboChoose) { Globals.arr = new ArrayList(); arr.Add(cboChoose.SelectedItem.ToString()); } and the following code behind the button that loads the values in the array each time I click on it: Globals.getList(cboChoose); When I load a form with a listview control, I want to get the values in the array to load in the listview, I wrote the following code onLoad, but I get only one msgbox with 'System.Data.DataRowView'(even if i click on the add button several times only 1 msgbox is dispayed) but the listview remains empty. MessageBox.Show(Globals.arr[0].ToString()); for(int i=0;i
Reply
Answers (
4
)
Passing arrays from a C++ dll to a C# exe. Anyone?
How to manage multiform window application?