473,394 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

WinForms: need a Grid but not DataGrid

Hi

i need a simple grid similar to DataGrid, but i want to fill it out from the
object (not dataset)
what component shoul i use?
also i would like to have possibility to change color of some cells, etc,
remove possibility to select by tab for some cells...

--
Serge
Nov 17 '05 #1
1 1262
Joe
Hi Serge,

The DataGrid doesn't have to connect to a DataSet. You can connect it to any
collection object as long as the object implements the required interface.

I believe you only need to implement IEnumerable and ICollection to use your
collection in a DataGrid.

-Joe

"Serdge Kooleman" <Su***@web.de> wrote in message
news:Op**************@TK2MSFTNGP15.phx.gbl...
Hi

i need a simple grid similar to DataGrid, but i want to fill it out from
the object (not dataset)
what component shoul i use?
also i would like to have possibility to change color of some cells, etc,
remove possibility to select by tab for some cells...

--
Serge

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: JR | last post by:
Hello, Does anyone know how you can prevent a row full of 'null' values from being added to the datagrid when a user hits the delete key, deleting the word (null) which represents the default...
3
by: Dave Veeneman | last post by:
I am just getting into the WinForms data grid, and just about everything I am seeing on it seems to say that the grid must be bound to an ADO.Net dataset. I want to use the grid as a simple unbound...
5
by: BBFrost | last post by:
Win2000 ..Net 1.1 SP1 c# using Visual Studio Ok, I'm currently in a "knock down - drag out" tussle with the .Net 1.1 datagrid. I've come to realize that a 'block' of rows highlighted within...
2
by: Aaron Smith | last post by:
I have a DataGrid (winforms) that is bound to a table (MSDE) that has 41,000+ records in it. The form loads relatively fast and I can scroll all of the data... However, when I click in any column...
3
by: Richard | last post by:
Rather than all that painting, brush, etc. code to change the styles of a ..NET datagrid to start with and on the fly, I'd rather be able to set a lot of the stuff in the designer properties of the...
3
by: Tom S. | last post by:
VS.Net 2003 V 7.1.3088 ..Net Framework V 1.1.4322 SP1 WinXP SP2 I have a WinForms project that I'm having trouble with. I have a custom user control ( all code based, no visual ) and another...
1
by: xlar54 | last post by:
How can I tell which rows are visible in a datagrid (winforms app)? I have alot of data in the grid (bound to a datatable), and I need to refresh that data frequently. (theres no easy way to know...
6
by: =?Utf-8?B?R2VudGlhbiBIaWxh?= | last post by:
I have a datagrid that I want to be able to allow me to edit only the first two rows and all the other rows to be read-only. How can I do that? Any insight is highly appreciated. I have spent...
2
by: Peted | last post by:
Hi i have a winforms app in vs2008 c# i have a billingdatagrid on the form, and is shows 4 columns and many rows of data. The far left colum shows an arrow to inidcated the currently...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.