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
Mike Pischke
NA
11
0
listview control used as a reference parameter - resulting "... does not contain a definition" error
Oct 7 2009 12:56 PM
public static void getitem(ref Form formname, ref ListView listname) { int x; x=formname.listname.LastSelectedIndex; } When compiled, yields: System.Windows.Forms.Form does not contain a definition for 'listname'. Not sure if this is a syntax issue in how I'm using the listview reference, or what exactly the problem is?
Reply
Answers (
2
)
How do i set colors for rows in a dataGridView control?
copy access DataTable to existing Backup DataTable (append data)