Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1

    Default Problem with VB.Net SQL Server


    Hi istoryans.. i have a problem with my program in VB.Net.. it seems that it can connect to the database, but it couldn't read the table inside the database.. i've tried to make some test connection, and it was fine.. but it just can't locate the tables in my database.. i already tried this one in school, and it can perfectly locate the tables, but when i try it at home, it can't locate the tables.. any ideas on how i can solve this problem?

    below are the screenshots that i can connect to the database perfectly...

    Connection Successful
    Imageshack - connsuceeded.jpg

    Advance Option
    Imageshack - advanceopt.jpg
    Last edited by boloygabs; 09-20-2010 at 12:19 AM.

  2. #2
    'good day!
    'karon lang ko nkasugat ing.ani...
    '
    'kung makaconnect ka sa database, ug kung naa tables imo database,
    'makita na ang mga tables bro oi...
    'tali wla tables imo database sa inyo, mao dili makita..
    '
    'dili kaayo ko familiar anang AttachDBFileName, try sab daw ug check na bro...
    '

  3. #3
    bro. try using this classes. (C#.NET code rani, pero naa pud ni VB.NET)

    MySqlCommand cmd = new MySqlCommand(sSQL, conn);
    MySqlDataAdapter adapter = new MySqlDataAdapter(cmd);
    DataSet ds = new DataSet();


    adapter.Fill(ds, "temp_table");


    sa .NET mn gud daghan pa agi-an ang imong recorsets something ana.

    I hope that helps.

    - Free posting of jobs and resume @ cebujobline.com

  4. #4
    Quote Originally Posted by rhex_tendo View Post
    'good day!
    'karon lang ko nkasugat ing.ani...
    '
    'kung makaconnect ka sa database, ug kung naa tables imo database,
    'makita na ang mga tables bro oi...
    'tali wla tables imo database sa inyo, mao dili makita..
    '
    'dili kaayo ko familiar anang AttachDBFileName, try sab daw ug check na bro...
    '
    ako pud gani bro.. karn pako kasugat ani.. ambot lng ani lagi bro kng nganu di ma detect akong tables.. naa man pd ko tables sa akong database.. nag libog jd ko ani kng nganu..

  5. #5
    Quote Originally Posted by sanggano_boy View Post
    bro. try using this classes. (C#.NET code rani, pero naa pud ni VB.NET)

    MySqlCommand cmd = new MySqlCommand(sSQL, conn);
    MySqlDataAdapter adapter = new MySqlDataAdapter(cmd);
    DataSet ds = new DataSet();


    adapter.Fill(ds, "temp_table");


    sa .NET mn gud daghan pa agi-an ang imong recorsets something ana.

    I hope that helps.

    - Free posting of jobs and resume @ cebujobline.com
    naka try napud ko ani nga code bro didto sa lain nko nga form.. same ra gihapon, dili gihapon niya makit-an akng table; imbis nana koi table nga nahimu..

  6. #6
    ' bro, pag.create daw utro ug database ug tables sab,
    ' then try ug connect if makita nba mga tables. . .
    ' wizard sa .net mn na imo gigamit pgconnect sa server sah
    ' try tnan option bro. . au unta makita namu giunsa nim
    '

  7. #7
    mao raman gihapon bro.. dli gihapn makita akng table..

  8. #8
    Quote Originally Posted by boloygabs View Post
    mao raman gihapon bro.. dli gihapn makita akng table..
    I assume you are using Visual Studio and Server Explorer pane to connect to the database.

    Can you see the tables using the Server Explorer?
    Can your code see the tables?
    How are you creating the database? Are you attaching an existing database?

  9. #9
    are u using the same version of SQL?

    or try lang ni nga approach...

    Do not use Attach/Detach
    Use the Backup/Restore to copy ur dbase

    Backup ur dbase sa school then i restore sa inyo home

    I hope this will work

  10. #10
    hi all.. thank you for all your help.. i have solve this problem now..
    thank u for all your inputs..

    Please close mods..

    Thanks istorya..

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Replies: 0
    Last Post: 02-07-2013, 01:55 PM
  2. Fix you Globe Browsing problems with Norton's DNS Server :)
    By kevingokki in forum Networking & Internet
    Replies: 2
    Last Post: 04-09-2012, 07:04 AM
  3. Problem with xp to 2008 server
    By sgrnim in forum Networking & Internet
    Replies: 9
    Last Post: 10-23-2010, 05:05 AM
  4. vb.net client/server
    By pointman in forum Programming
    Replies: 3
    Last Post: 10-01-2008, 09:07 PM
  5. PRoblem with Istorya.net Account
    By aguel in forum Support Center
    Replies: 3
    Last Post: 06-12-2006, 09:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top