You cannot directly add double to ListView Collection.
First convert it to string type.
item.SubItems.Add(dr["cost"].ToString());
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: MMH Search: Search took 0.12 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |