Login Form Based on User Type using C# and MySQL

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 6

  • @omgpotpot
    @omgpotpot 3 ปีที่แล้ว

    Hi same code lang din po ba kung gamit ko is sql server?

    • @drpt
      @drpt  3 ปีที่แล้ว

      Hello! Yes same lang. 😊

    • @omgpotpot
      @omgpotpot 3 ปีที่แล้ว

      @@drpt Hi thank you po akala ko di na kayo updated dito. . pwede po ba kayo gumawa ng tutorial para sa case sensitive ng username and password.

    • @drpt
      @drpt  3 ปีที่แล้ว

      Sure, sure! Hehe. Pero I'll give a sample code na rin baka need mo right now. Gamit ka ng collation.
      SELECT * FROM [tablename]
      WHERE Username=@username COLLATE SQL_Latin1_General_CP1_CS_AS
      AND Pass=@userpass COLLATE SQL_Latin1_General_CP1_CS_AS

    • @omgpotpot
      @omgpotpot 3 ปีที่แล้ว

      @@drpt thank you po ng madami.. And sa mabilis nyo pong pagreply..

    • @omgpotpot
      @omgpotpot 3 ปีที่แล้ว

      @@drpt hi po my error po sa code ko hehehe di pala pwede mag comment ng image dito hehehe
      "must declare scalar variable @idno" yan po yung error. Idno. po kasi yunug gamit na pang login.