Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralRe: file list and list box problem Pin
David Stone17-Nov-02 17:28
sitebuilderDavid Stone17-Nov-02 17:28 
QuestionHow to ignore events? Pin
Delegate15-Nov-02 8:27
Delegate15-Nov-02 8:27 
AnswerRe: How to ignore events? Pin
David Stone15-Nov-02 9:15
sitebuilderDavid Stone15-Nov-02 9:15 
AnswerRe: How to ignore events? Pin
Mark Conger15-Nov-02 9:16
Mark Conger15-Nov-02 9:16 
AnswerRe: How to ignore events? Pin
Martin Haesemeyer16-Nov-02 1:05
Martin Haesemeyer16-Nov-02 1:05 
GeneralRe: How to ignore events? Pin
Delegate18-Nov-02 6:46
Delegate18-Nov-02 6:46 
GeneralSocket.SetOption throw an exception on NT4 Pin
Sebastien Curutchet14-Nov-02 23:18
Sebastien Curutchet14-Nov-02 23:18 
GeneralMore DataGrid hassles. Pin
Christian Graus14-Nov-02 22:22
protectorChristian Graus14-Nov-02 22:22 
Thanks to those who answered earlier. I have two combo boxes which show the databases and tables in my DB. When I change the table combo, the DG shows the tables contents. The code now looks like this:

m_dsTables.Clear();
		
dataAdapter.Fill(m_dsTables);

dgTables.Expand(-1);


The call to Clear() stops my grid from having the old data in it, but the old columns are still there - how do I delte them ?

The call to Expand(-1) expands the + button in the datagrid so I see the word 'table', but I still need to click on this word to show the table. I just want the table to be shown and to remain visible, can I do that programatically ?

This datagrid looks cool, but right now I am overwhelmed by the number of methods it has, and it's not covered in the Petzold book Frown | :-(


Christian

No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002

Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002

During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
GeneralRe: More DataGrid hassles. Pin
Christian Graus14-Nov-02 22:37
protectorChristian Graus14-Nov-02 22:37 
GeneralRe: More DataGrid hassles. Pin
Mazdak16-Nov-02 5:36
Mazdak16-Nov-02 5:36 
GeneralRe: More DataGrid hassles. Pin
Christian Graus16-Nov-02 10:29
protectorChristian Graus16-Nov-02 10:29 
Questionhow to call a window application? Pin
Segal14-Nov-02 21:09
Segal14-Nov-02 21:09 
Generalpass an array from C# to a COM object Pin
gharrison14-Nov-02 21:05
gharrison14-Nov-02 21:05 
GeneralRe: pass an array from C# to a COM object Pin
Oleksandr Kucherenko15-Nov-02 3:21
Oleksandr Kucherenko15-Nov-02 3:21 
Questionusing "this"? Pin
zhoujun14-Nov-02 19:08
zhoujun14-Nov-02 19:08 
AnswerRe: using "this"? Pin
Christian Graus14-Nov-02 19:37
protectorChristian Graus14-Nov-02 19:37 
GeneralRe: using "this"? Pin
Kevin McFarlane15-Nov-02 2:17
Kevin McFarlane15-Nov-02 2:17 
GeneralRe: using "this"? Pin
MStanbrook15-Nov-02 4:40
MStanbrook15-Nov-02 4:40 
GeneralRe: using "this"? Pin
Michael Dunn16-Nov-02 5:29
sitebuilderMichael Dunn16-Nov-02 5:29 
AnswerRe: using "this"? Pin
Philip Fitzsimons15-Nov-02 10:55
Philip Fitzsimons15-Nov-02 10:55 
AnswerRe: using "this"? Pin
LongRange.Shooter18-Nov-02 8:54
LongRange.Shooter18-Nov-02 8:54 
GeneralNeed a function that will return certain system information into a text box Pin
Derek Smigelski14-Nov-02 13:20
Derek Smigelski14-Nov-02 13:20 
GeneralRe: Need a function that will return certain system information into a text box Pin
Chris Austin14-Nov-02 17:37
Chris Austin14-Nov-02 17:37 
GeneralRe: Need a function that will return certain system information into a text box Pin
Chris Austin14-Nov-02 18:26
Chris Austin14-Nov-02 18:26 
GeneralMoving VB's FileSystemObject to C# Pin
Eric Miller Jr.14-Nov-02 10:54
sussEric Miller Jr.14-Nov-02 10:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.