Click here to Skip to main content
15,907,225 members
Home / Discussions / C#
   

C#

 
GeneralRe: Capturing a Window Handle Pin
Dave Kreskowiak24-May-05 11:09
mveDave Kreskowiak24-May-05 11:09 
GeneralRe: Capturing a Window Handle Pin
Akrynite24-May-05 11:41
Akrynite24-May-05 11:41 
GeneralRe: Capturing a Window Handle Pin
User 665824-May-05 11:51
User 665824-May-05 11:51 
GeneralRe: Capturing a Window Handle Pin
Dave Kreskowiak24-May-05 14:38
mveDave Kreskowiak24-May-05 14:38 
GeneralRe: Capturing a Window Handle Pin
eggie524-May-05 12:37
eggie524-May-05 12:37 
GeneralArchitecture Issue Pin
parrot12324-May-05 9:30
parrot12324-May-05 9:30 
GeneralRe: Architecture Issue Pin
Marc Clifton24-May-05 11:59
mvaMarc Clifton24-May-05 11:59 
GeneralRe: Architecture Issue Pin
Anonymous24-May-05 19:24
Anonymous24-May-05 19:24 
GeneralRe: Architecture Issue Pin
Marc Clifton25-May-05 0:20
mvaMarc Clifton25-May-05 0:20 
GeneralDebugging SEHExceptions Pin
Luis Alonso Ramos24-May-05 8:51
Luis Alonso Ramos24-May-05 8:51 
QuestionDefault Enter and Cancel button C# Winforms? Pin
pankazmittal24-May-05 8:25
pankazmittal24-May-05 8:25 
AnswerRe: Default Enter and Cancel button C# Winforms? Pin
Uri Lavi24-May-05 8:38
Uri Lavi24-May-05 8:38 
AnswerRe: Default Enter and Cancel button C# Winforms? Pin
pubududilena24-May-05 21:33
pubududilena24-May-05 21:33 
GeneralRe: Default Enter and Cancel button C# Winforms? Pin
pankazmittal25-May-05 4:11
pankazmittal25-May-05 4:11 
GeneralRetives all databases names ,tables names and Columsn names of local host Pin
ksanju100024-May-05 7:15
ksanju100024-May-05 7:15 
GeneralRe: Retives all databases names ,tables names and Columsn names of local host Pin
rudy.net24-May-05 17:58
rudy.net24-May-05 17:58 
GeneralRe: Retives all databases names ,tables names and Columsn names of local host Pin
ksanju100024-May-05 18:52
ksanju100024-May-05 18:52 
GeneralRe: Retives all databases names ,tables names and Columsn names of local host Pin
pubududilena24-May-05 22:22
pubududilena24-May-05 22:22 
GeneralRe: Retives all databases names ,tables names and Columsn names of local host Pin
ksanju100024-May-05 22:49
ksanju100024-May-05 22:49 
GeneralRe: Retives all databases names ,tables names and Columsn names of local host Pin
rudy.net25-May-05 2:48
rudy.net25-May-05 2:48 
Use the code in:
button3_Click
To create a method:
StringCollection GetDatabaseNames() This method should return all the database names.

Use the code in:
button4_Clic
To create a method:
StringCollection GetTableNames(string dbName) This method should return all tables for a specific database name.

Use the code in:
button5_Click
To create a method:
StringCollection GetColumnNames(string dbName, string tableName) This method should return all columns for a specific database/tablename combination.

I won't go into xml details but following is a pseudo-code of what your code should look like:
StringCollection databases, tables, columns;<br />
databases = GetDatabaseNames();<br />
foreach (string dbName in databases){<br />
  tables = GetTableNames(dbName)<br />
  foreach (string tableName in tables){<br />
    columns = GetColumnNames(dbName, tableName)<br />
    foreach (string columnName in columns){<br />
       <your code to store in xml><br />
    }<br />
  }<br />
}

GeneralPage-level static members and Events Pin
DisruptedSinner24-May-05 7:05
DisruptedSinner24-May-05 7:05 
GeneralRe: Page-level static members and Events Pin
S. Senthil Kumar24-May-05 7:49
S. Senthil Kumar24-May-05 7:49 
GeneralRe: Page-level static members and Events Pin
DisruptedSinner24-May-05 8:16
DisruptedSinner24-May-05 8:16 
GeneralRe: Page-level static members and Events Pin
Luis Alonso Ramos24-May-05 9:08
Luis Alonso Ramos24-May-05 9:08 
GeneralRe: Page-level static members and Events Pin
DisruptedSinner24-May-05 9:20
DisruptedSinner24-May-05 9:20 

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.