Click here to Skip to main content
12,949,601 members (68,411 online)
Click here to Skip to main content

Tagged as

Stats

2.4K views
Posted 6 Nov 2012

how to return list using C#

, 6 Nov 2012 CPOL
hello here my code public List getall(){ return db.banks.ToString();}and i m getting error likeCannot implicitly convert type 'string' to 'System.Collections.Generic.Listplease help me ...?

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 6-Nov-12 7:18 Available fjdiewornncalwe
Updates in content. 6 changes had been made.
1 No 6-Nov-12 6:58 Available Lakhan Aanjana

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author


You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170524.1 | Last Updated 6 Nov 2012
Article Copyright 2012 by Lakhan Aanjana
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid