Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Data Binding / December 2004

Tip: Looking for answers? Try searching our database.

bind winforms datagrid row to indexed property

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott Walters - 13 Dec 2004 02:48 GMT
Hi,

I'm trying to display a data grid that acts like a spreadsheet, so the
user can enter text data into arbitrary rows and columns. Then, when the
 user clicks a button, i want to retrieve the data and process it. I've
gotten close to getting this working by binding to an ArrayList that
contains objects but the problem is that the columns  are bound to
specific, named properties called Field1, Field2, Field3 etc... Not only
is this messy, but it predetermins the max number of columns at design
time. Can the rows be bound to indexed properties, or is there some much
easier way to do this that I'm missing?

Thanks,
Scott Walters
Ed Kaim - 13 Dec 2004 15:36 GMT
Have you considered using Excel? It may be a good alternative now that you
can use Visual Studio to do serious development in managed code.

> Hi,
>
[quoted text clipped - 10 lines]
> Thanks,
> Scott Walters

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.