Re: creating ExecuteQuery method
- From: "Marc Gravell" <marc.gravell@xxxxxxxxx>
- Date: Thu, 20 Mar 2008 16:07:09 -0000
As understand from this discussion that TypeDescriptor can be used to
extend object to show columns in DataGridView easily.
Yes it can be done; but I wouldn't say easily. I have posted several
extensible object examples, but I'm not sure this is the best way to go
here. It introduces unnecessary complexity for something that can be already
be done in other ways.
I hoped that HyperDescriptor allows to add new properties for DataGridView
binding in the fly.
No; that isn't what it does. It replaces the standard reflection-based
(PropertyInfo) implementation
I'd like easily to visualise any SELECT command results for quick design
in scripts in customer sites like <snip>
Sounds like DataTable would do this job perfectly well. I'm a pragmatist...
why make life hard? At the end of the day, <T> implies a known data
structure (of type T) - not "make it up yourself"...
Do you want to see the result?
If it is somewhere easily accessible I might take a look... I'm not planning
on jumping through any hoops...
Marc
.
- Follow-Ups:
- Re: creating ExecuteQuery method
- From: Andrus
- Re: creating ExecuteQuery method
- From: Andrus
- Re: creating ExecuteQuery method
- References:
- creating ExecuteQuery method
- From: Andrus
- Re: creating ExecuteQuery method
- From: Marc Gravell
- Re: creating ExecuteQuery method
- From: Marc Gravell
- Re: creating ExecuteQuery method
- From: Andrus
- Re: creating ExecuteQuery method
- From: Marc Gravell
- Re: creating ExecuteQuery method
- From: Andrus
- creating ExecuteQuery method
- Prev by Date: Re: creating ExecuteQuery method
- Next by Date: Re: A simple class library question
- Previous by thread: Re: creating ExecuteQuery method
- Next by thread: Re: creating ExecuteQuery method
- Index(es):
Loading