September 26, 2020
  • 5:49 am Cách cài Win từ ổ cứng: cả Win 7/8/8.1 và Win10 (làm mẫu với Win 10)
  • 2:47 am [Topgame] Top 9 game bắn súng online miễn phí hay nhất đầu 2018 | Android-IOS
  • 8:03 pm Hướng dẫn tạo chú thích footnote trong Word | How to Insert Footnote in Word
  • 7:26 am Cách chèn nhạc vào ảnh và video trên Facebook
  • 6:59 am Tóm Tắt The Walking Dead (Xác Sống) | Season 4



Newsletter signup (with exclusive discounts): (your email will be kept safe and you will not be spammed).
Facebook Page:

Want to see a full C# application built from scratch?
Check out this course:

There is a lot of confusion connection strings and how to build them. This video should clear up most, if not all, of your questions. If you want to see how to put a connection string into use, check out my video on connecting to SQL from C# ( If you missed the webpage I used in the first part of this video, it is located at

Nguồn: https://chaoticpharmacology.com/

Xem thêm bài viết khác: https://chaoticpharmacology.com/cong-nghe/

admin

RELATED ARTICLES

23 COMMENTS

  1. Michel Chaghoury Posted on July 10, 2020 at 9:18 am

    gr8 explanation day after day i am learning a lot from you.
    please can you do more videos that covers asp.net core connected to a database using azure keyvaults and other features that makes our apps more secured and profesional

    Reply
  2. Islem Zaz Posted on July 10, 2020 at 9:18 am

    Hello
    Please how to Encrypt and decrypt the connectionString?
    Best Regards

    Reply
  3. Ted Henschen Posted on July 10, 2020 at 9:18 am

    Hi Tim,
    This was very helpful, still makes me nervous to include a username and password in the code especially if a project is going to be on github or similar. What about azure sql server and a web app , I have been able to setup a dB and connect to it, but have to use a username and password in the connection string. Do you have any videos on using authorization and tokens to connect with azure AD?

    Reply
  4. Ragib Ibne Hossain Posted on July 10, 2020 at 9:18 am

    What if I give a database name that doesn't exist currently. How am I gonna create a database manually? I have created a DbContext class and some Models. I have injected the context in the startup class where a method named GetConnectionString requests for the connection string. But when I try adding a migration it is giving me the following error: System.ArgumentNullException: Value cannot be null. (Parameter 'connectionString') . I have tried StackOverflow and other places for solutions but couldn't solve it. Thanks in Advance.

    Reply
  5. Carolina Marcos Posted on July 10, 2020 at 9:18 am

    Excelent Video! Tim could you do a video getting data from excel and creating a SQLDB. Thanks

    Reply
  6. kentucky Posted on July 10, 2020 at 9:18 am

    too much complicated for beginners

    Reply
  7. Vijay kumar motupalli Posted on July 10, 2020 at 9:18 am

    how to connect to sybase ?

    Reply
  8. mr ceejay Posted on July 10, 2020 at 9:18 am

    great video, I have an issue logging into my windows application from a client machine. I created a login form in my application but when I try to login from a client machine it gives me an error but says my connection was successful?

    Reply
  9. david ramirez Posted on July 10, 2020 at 9:18 am

    Thks 4 ur support. Great video

    Reply
  10. Khurram Shahzad Posted on July 10, 2020 at 9:18 am

    Thanks you for such an informational video. Can you guide me what is best way to define SqlConnection in program. Either i have to define it as a global variable or has to define every time as a local variable…
    Please suggest efficient code writing methodology…

    Reply
  11. MILAN SARAM Posted on July 10, 2020 at 9:18 am

    Thank you so much for your video. I was searching this for 40 mins in Internet.

    Reply
  12. brad bou Posted on July 10, 2020 at 9:18 am

    First off thank you. I turned an internship into a job in three months because of these videos and videos like them. We have to deploy a program into multiple clients secure servers and the least amount of intrusion possible would be nice. Curious what Database and connection string would be the broadest in application regardless of 32/64 bit and versions. The clients are currently using Access and my program uses oledb, but certain versions require certain drivers. When we update there database i'd like to to make this part of the process easier. Thank you again.

    Reply
  13. Leo Henriquez Posted on July 10, 2020 at 9:18 am

    Support comment 🙂

    Reply
  14. Sanjay Raveendran Posted on July 10, 2020 at 9:18 am

    you are awsome…thank you for your video

    Reply
  15. هلال ديهوم Posted on July 10, 2020 at 9:18 am

    Hi, Thanks a lot for this great presentation, and I would like to ask about the difference in the connection string between server=… database=… and data source =… initial catalog=….

    Reply
  16. FacePalmProductions Posted on July 10, 2020 at 9:18 am

    12:16 Yes… indeed.
    Thank you for making that statement. Lesson learned: Control user permissions on the server side.
    -!SERVER AUTHORITY!- 😀 Also, thank you for pointing out Stored Procedures. I'll use that!

    Reply
  17. Breaz Freind Posted on July 10, 2020 at 9:18 am

    difference between dsn and connection string? i'm really stuck

    Reply
  18. Khandkar Asif Hossain Posted on July 10, 2020 at 9:18 am

    How can I add connection string for local database in user computer? Is there a global keyword in connection string? If so how to use it properly?

    Reply
  19. surap raju Posted on July 10, 2020 at 9:18 am

    Kindly prepare a video on "From Idea to finish application" which includes database instead of ListBoxes. Eagerly waiting sir.

    Reply
  20. Martin S. Posted on July 10, 2020 at 9:18 am

    As always a super and informative video. 🙂

    Reply
  21. Marcos Torres Posted on July 10, 2020 at 9:18 am

    the best teacher to learn programming by far!

    Reply
  22. vinzer72frie Posted on July 10, 2020 at 9:18 am

    I like how you add little details most experienced programmers avoid, like explaining the instances

    Reply
  23. Eric Opoku Posted on July 10, 2020 at 9:18 am

    hi Tim Corey, i love watching your tutorials here from Ghana. keep your good works up

    Reply
LEAVE A COMMENT