Windows Phone Developers

Saturday, March 7, 2009

Argument '1': cannot convert from 'int' to 'System.Windows.Forms.ListViewItem.ListViewSubItem'

The best overloaded method match for 'System.Windows.Forms.ListViewItem.ListViewSubItemCollection.Add(System.Windows.Forms.ListViewItem.ListViewSubItem)' has some invalid arguments

ListViewItem lView = new ListViewItem() ;

lView.SubItems.Add(36);

lView.SubItems.Add("36");

Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

1 comment:

  1. u may have decalred as int? - may be

    ReplyDelete

kbAlertz.com :: Visual Studio 2005

kbAlertz.com :: Visual Studio 2008

kbAlertz.com :: Visual Basic 2005