Reducing Number of Columns When Changing Query
From: dormy (dormy_at_dormys.house.com)
Date: 09/24/04
- Next message: MichaelZeno: "System.Data.DBConcurrencyException"
- Previous message: Arnie Mauer: "Re: I need a good book or two on ADO"
- Next in thread: William \(Bill\) Vaughn: "Re: Reducing Number of Columns When Changing Query"
- Reply: William \(Bill\) Vaughn: "Re: Reducing Number of Columns When Changing Query"
- Messages sorted by: [ date ] [ thread ]
Date: 24 Sep 2004 14:46:03 -0500
I have a DataGrid that is bound to a .mdb using a DataAdapter and DataSet. When
I first start the program the grid is filled with data properly.
I then change the select command and refill the DataSet. The change to the
query is to remove one column that is returned. For example:
before
SELECT a, b, c, d FROM x
after
SELECT a, b, c FROM x
The proper rows are displayed but I still get a column labeled d. The column d
has empty data.
How to I get the grid to stop displaying column d, short of manually removing
the column. There will be instances where the query is typed in by the user and
can be sonewhat freeform.
Thanks
- Next message: MichaelZeno: "System.Data.DBConcurrencyException"
- Previous message: Arnie Mauer: "Re: I need a good book or two on ADO"
- Next in thread: William \(Bill\) Vaughn: "Re: Reducing Number of Columns When Changing Query"
- Reply: William \(Bill\) Vaughn: "Re: Reducing Number of Columns When Changing Query"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|