Can a DevExpress XtraGrid be filled using a a Dynamic SELECT statement string

Posted by Gerhard Weiss on Stack Overflow See other posts from Stack Overflow or by Gerhard Weiss
Published on 2010-05-06T19:03:57Z Indexed on 2010/05/07 19:28 UTC
Read the original article Hit count: 599

Filed under:
|
|

Can a DevExpress XtraGrid be filled using a a Dynamic SELECT statement string?

i.e. SELECT * FROM Employee
or
SELECT * FROM Dependents

To fill our XtraGrids currently, we use a ORM that creates entities. To do this it takes a lot of steps and time. What is driving me to ask this question is we do a lot of client aquistions where we get hundreds of files. I do not want to create entities for all of these then have to create an XtraGrid for each entity. Ideally if I can just feed it a SELECT statement and the XtraGrid could render it then I could use the XtraGrid very nice data minipulation features (Filter, Group By, etc).

If you have any other ideas or suggestions please to not hesitate to post them.

© Stack Overflow or respective owner

Related posts about xtragrid

Related posts about devexpress