Click here to Skip to main content
15,890,717 members
Home / Discussions / Database
   

Database

 
AnswerRe: Ms Access file Missing Pin
Blue_Boy31-Aug-11 21:12
Blue_Boy31-Aug-11 21:12 
AnswerRe: Ms Access file Missing Pin
Mycroft Holmes31-Aug-11 22:55
professionalMycroft Holmes31-Aug-11 22:55 
AnswerRe: Ms Access file Missing Pin
jschell1-Sep-11 11:43
jschell1-Sep-11 11:43 
AnswerRe: Ms Access file Missing Pin
Eddy Vluggen3-Sep-11 10:55
professionalEddy Vluggen3-Sep-11 10:55 
AnswerRe: Ms Access file Missing Pin
kmoorevs9-Sep-11 12:25
kmoorevs9-Sep-11 12:25 
QuestionMySQL: Get Tables? Pin
PDTUM31-Aug-11 5:03
PDTUM31-Aug-11 5:03 
AnswerRe: MySQL: Get Tables? Pin
Shameel31-Aug-11 7:58
professionalShameel31-Aug-11 7:58 
GeneralRe: MySQL: Get Tables? Pin
PDTUM31-Aug-11 14:45
PDTUM31-Aug-11 14:45 
Thank You Shameel....once again you have bailed me out. I was actually going to email you with this question as I remember that we used to be able to do that here, but I could no longer find a link for it. In any event, and to help any others that are suffering along and who find this question in a search, I am enclosing the final code that I used for my application. And once again Shameel, I have marked your answer as correct. For other interested parties, the C# code is mine (simple and clean for better or worse), so don't blame Shameel for it...LOL. Best Regards, Pat

string thisDb = listViewDatabases.SelectedItems[0].Text;
string Sql = "Use " + thisDb + ";"  + " Show Tables; ";

try
                {
                    // Obtain the Tables in the Database
                    MySqlCommand Comm = new MySqlCommand(Sql, Conn);
                    MySqlDataAdapter da = new MySqlDataAdapter(Comm);
                    DataSet ds = new DataSet();
                    da.Fill(ds);

                    int count = ds.Tables[0].Rows.Count;
                    string[] tables = new string[count];

                    for (int i = 0; i < count; i++)
                    {
                        tables[i] = ds.Tables[0].Rows[i][0].ToString();
                        listViewDbTables.Items.Add(tables[i].ToString());
                    }
                }
                catch (Exception ex)
                {
                    MessageBox.Show("Error" + ex.Message, "Error");
                }

GeneralRe: MySQL: Get Tables? Pin
Shameel1-Sep-11 5:59
professionalShameel1-Sep-11 5:59 
AnswerRe: MySQL: Get Tables? Pin
loyal ginger31-Aug-11 10:30
loyal ginger31-Aug-11 10:30 
GeneralRe: MySQL: Get Tables? Pin
PDTUM31-Aug-11 14:47
PDTUM31-Aug-11 14:47 
QuestionDimensional Modelling? Pin
current199931-Aug-11 4:02
current199931-Aug-11 4:02 
AnswerRe: Dimensional Modelling? Pin
Jörgen Andersson1-Sep-11 0:08
professionalJörgen Andersson1-Sep-11 0:08 
QuestionHow to get Cursor's record count (Transact-SQL) ? Pin
Naunt30-Aug-11 15:36
Naunt30-Aug-11 15:36 
AnswerRe: How to get Cursor's record count (Transact-SQL) ? Pin
Mycroft Holmes30-Aug-11 16:23
professionalMycroft Holmes30-Aug-11 16:23 
AnswerRe: How to get Cursor's record count (Transact-SQL) ? Pin
Shameel31-Aug-11 4:09
professionalShameel31-Aug-11 4:09 
GeneralRe: How to get Cursor's record count (Transact-SQL) ? Pin
Naunt31-Aug-11 16:45
Naunt31-Aug-11 16:45 
GeneralRe: How to get Cursor's record count (Transact-SQL) ? Pin
Mycroft Holmes1-Sep-11 13:01
professionalMycroft Holmes1-Sep-11 13:01 
QuestionIF Condition in cursor definition Pin
csetopper_bhanu29-Aug-11 21:10
csetopper_bhanu29-Aug-11 21:10 
AnswerRe: IF Condition in cursor definition Pin
Mycroft Holmes29-Aug-11 22:35
professionalMycroft Holmes29-Aug-11 22:35 
QuestionHow to combine results in cursor? Pin
SledgeHammer0129-Aug-11 12:53
SledgeHammer0129-Aug-11 12:53 
AnswerRe: How to combine results in cursor? Pin
Mycroft Holmes29-Aug-11 22:40
professionalMycroft Holmes29-Aug-11 22:40 
AnswerRe: How to combine results in cursor? Pin
Ganu Sharma15-Sep-11 21:09
Ganu Sharma15-Sep-11 21:09 
QuestionNeed Oracle Column Names Pin
PDTUM27-Aug-11 11:46
PDTUM27-Aug-11 11:46 
AnswerRe: Need Oracle Column Names Pin
Luc Pattyn27-Aug-11 12:28
sitebuilderLuc Pattyn27-Aug-11 12:28 

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.