sql @ c# වැඩ්ඩො එන්න

chanakamanjula

Well-known member
  • Aug 21, 2007
    22,242
    4,387
    113
    ඇයි එන්නද
    මට project එකක් හම්බ වුනා එකේ sql server එක connect වෙන්නේ නැ, මේකේ error එක තියෙන්නේ connection string එකේ එක හදා දෙන්න පුළුවන් කෙනක් ඉන්නවා නම් කියන්න මම project එකයි database එකයි එවන්නම්



    11944540_10206187905449962_1760456028_n.jpg


    11907987_10206187905489963_298283258_n.jpg


    අනික database එක 2010 වලින් වගේ කරලා තියෙන්නේ මගේ 2014 තියෙන්නේ එක මගේ එකෙන් open වෙන්නේ නැ

    bump එකක් හරි දාගෙන යන්න
     

    anton2

    Active member
  • Apr 1, 2009
    860
    129
    43
    Colombo
    ube SQL server details tikak dapan ko.......
    username....? password....? localhost ? databaseName...?
    hope its problem with the connection....



    this is my Login screen


    attachment.php


    Code For Login Button

    attachment.php


    ==============================
    hope it will help to you
    Good Luck......!
     

    Attachments

    • login.JPG
      login.JPG
      50.8 KB · Views: 139
    • login_screen.JPG
      login_screen.JPG
      29.6 KB · Views: 144

    chanakamanjula

    Well-known member
  • Aug 21, 2007
    22,242
    4,387
    113
    ඇයි එන්නද

    speedmalli

    Well-known member
  • Nov 22, 2011
    21,484
    17,490
    113
    Auckland
    Mokakda bun awula? eewapn balanna. Vc# ne hadala thiuenne? Proj file eka godak loku naththan ewapan.. mage internet iwarak :lol: me enneth fone eken
     

    chanakamanjula

    Well-known member
  • Aug 21, 2007
    22,242
    4,387
    113
    ඇයි එන්නද
    SQL server awulakl thiyenne. datasource ekata localhost wenuwata . deela balapan. hari giye nathnam meka karanna.

    http://blog.sqlauthority.com/2009/0...ion-to-sql-server-microsoft-sql-server-error/

    මට PM එකක් දාන්න Code එකයි DB server name එකයි DB username and password..

    Mokakda bun awula? eewapn balanna. Vc# ne hadala thiuenne? Proj file eka godak loku naththan ewapan.. mage internet iwarak :lol: me enneth fone eken

    Teamviewer PM karapan, Hadala dennam

    hamota pm kara balanna machan
    mama acess valin thama hadanne sql thama igena gena na ekayi,
     

    NewUser2014

    Active member
  • Sep 28, 2014
    230
    36
    28
    අපේ ගෙදර
    This is network connection related issue. usually this error occurred when client machine(the machine which runs the code) can not reach the sql server.
    There may be several reasons for this error.
    read
    If you need more info or support just PM me
     
    Last edited:

    RandomGuy

    Well-known member
  • Oct 15, 2014
    17,376
    16,219
    113
    ube SQL server details tikak dapan ko.......
    username....? password....? localhost ? databaseName...?
    hope its problem with the connection....



    this is my Login screen


    attachment.php


    Code For Login Button

    attachment.php


    ==============================
    hope it will help to you
    Good Luck......!

    I'm just wondering, does this framework sanitise database inputs when you perform queries like this?

    And I think .net has a DB persistence framework as well right?
     
    Last edited: