Click here to Skip to main content
15,897,187 members
Home / Discussions / C#
   

C#

 
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 
GeneralTImed Form Pin
fadeddata24-May-05 6:48
fadeddata24-May-05 6:48 
GeneralRe: TImed Form Pin
fadeddata24-May-05 6:50
fadeddata24-May-05 6:50 
GeneralRe: TImed Form Pin
S. Senthil Kumar24-May-05 7:46
S. Senthil Kumar24-May-05 7:46 
GeneralRe: TImed Form Pin
Luis Alonso Ramos24-May-05 11:14
Luis Alonso Ramos24-May-05 11:14 
Generaldocument variables Pin
merlinos24-May-05 6:15
merlinos24-May-05 6:15 
QuestionHow we can pass a string variable to matlab Pin
hediii24-May-05 5:43
hediii24-May-05 5:43 
AnswerRe: How we can pass a string variable to matlab Pin
eggie524-May-05 12:42
eggie524-May-05 12:42 
AnswerRe: How we can pass a string variable to matlab Pin
hediii25-May-05 21:59
hediii25-May-05 21:59 
GeneralOPSEC SDK Pin
NitinR24-May-05 4:54
NitinR24-May-05 4:54 
GeneralRe: OPSEC SDK Pin
Judah Gabriel Himango25-May-05 4:18
sponsorJudah Gabriel Himango25-May-05 4:18 
Generalchange number color to 128 on a tif image Pin
kyfranBibax24-May-05 4:01
kyfranBibax24-May-05 4:01 
GeneralRe: change number color to 128 on a tif image Pin
kyfranBibax25-May-05 2:00
kyfranBibax25-May-05 2:00 

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.