How to store connection string of Database in app.config file?

  Рет қаралды 58,831

CodingByAdnanQurban

CodingByAdnanQurban

Күн бұрын

This video contains a detailed method of creating database in visual studio 2015. It also includes how to define connection string in app.config file as well as how to retrieve that connection string from the app.config file in our application. Do Comment if you have any query. And more videos will be uploaded soon.

Пікірлер: 30
@LocoEse74
@LocoEse74 5 жыл бұрын
Spend 2 hours trying to decipher code on other sites for setting up the connection string in the app.config file. Watched your video and got it working in the time it took to watch your video. (BTW this works exactly the same for a C# console application) THANK YOU VERY VERY MUCH!!! LIFE SAVER!
@AdnanQurban
@AdnanQurban 5 жыл бұрын
Thanks for your kind response.
@logan1155
@logan1155 3 жыл бұрын
Thanks for the video! That was helpful!
@AdnanQurban
@AdnanQurban 2 жыл бұрын
Glad it was helpful!
@burhanbayrak11
@burhanbayrak11 4 жыл бұрын
teşekkürler, Adnan.
@AdnanQurban
@AdnanQurban 4 жыл бұрын
Your are most welcome,
@onursagun7590
@onursagun7590 Жыл бұрын
sağolason,adnan.
@ML-old
@ML-old 5 жыл бұрын
Great video! You should maybe mention that it shows how to create a DB as well. Also, thank you for fine sound quality - most of the similar videos aren't nearly as good to listen.
@AdnanQurban
@AdnanQurban 5 жыл бұрын
😊 yeah sure. And thanks
@MShanil619
@MShanil619 5 жыл бұрын
This is what I need 😍
@oshan_malith
@oshan_malith 3 жыл бұрын
thank u
@AdnanQurban
@AdnanQurban 2 жыл бұрын
You're welcome!
@Seema-vl1gb
@Seema-vl1gb Жыл бұрын
In DAL layer, it is not able to read connectionString from App config. And it’s returning an error saying object is null.
@177_vananimanav3
@177_vananimanav3 Жыл бұрын
Hi Sir, Is there any way to import tables from MSSQL Server into the database that we have created in C#
@AdnanQurban
@AdnanQurban Жыл бұрын
yes, it can be done. You may reach me out for that via m.adnanqurban@gmail.com or whatsapp +923046811156
@peanchomnan3880
@peanchomnan3880 6 жыл бұрын
Thanks brother!!!
@AdnanQurban
@AdnanQurban 6 жыл бұрын
Most Welcome pean chomnan brother. Do subscribe my channel if you find it useful enough.
@peanchomnan3880
@peanchomnan3880 6 жыл бұрын
Ok!
@maadhufinance
@maadhufinance 3 жыл бұрын
Ram Ram Bhai
@ishanchauhan5016
@ishanchauhan5016 4 жыл бұрын
bro, please set the |Data Directory| property. I urgently need it to install in the client system.
@cybertree7571
@cybertree7571 3 жыл бұрын
Hey bro, please set the |Data Directory| property. I urgently need it to install in the client system
@RedTagStudio
@RedTagStudio 3 жыл бұрын
Bahi connection string sy database import ksy kr sakty ha
@zanemendoza2666
@zanemendoza2666 4 жыл бұрын
is this work once the database is publish??
@AdnanQurban
@AdnanQurban 4 жыл бұрын
Yes, all you have to do it edit the connection sting, but i recommend you to take proper backup of your file before proceding.
@zerosandones7547
@zerosandones7547 3 жыл бұрын
Will this (the database path) work if I publish the app?
@AdnanQurban
@AdnanQurban 3 жыл бұрын
It must work if you have required accesses
@zerosandones7547
@zerosandones7547 3 жыл бұрын
@@AdnanQurban what if I install in the clients pc? what will I change? because the path points to my pc.
@pakdemand39
@pakdemand39 6 жыл бұрын
i tried but my other command showing red lines with createcommand; and con.state == connectionstate.open and more
@AdnanQurban
@AdnanQurban 6 жыл бұрын
kindly show me a snapshot of the error ... or try to observe where you are doing the mistake
@maisarahhalim5790
@maisarahhalim5790 5 жыл бұрын
thank you
How to Insert Data in Database and Display it in GridView
25:55
CodingByAdnanQurban
Рет қаралды 2,1 М.
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 25 МЛН
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 4,4 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 112 МЛН
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 2,5 МЛН
How to Encrypt and Decrypt Connection Strings in .Net app.config and web.config Files
19:38
Sean MacKenzie Data Engineering
Рет қаралды 22 М.
app.config access connection string settings in winforms
8:37
Haritha Computers & Technology
Рет қаралды 10 М.
75 How to debug stored procedure in sql server
14:41
Learn SSIS
Рет қаралды 17 М.
VB.NET 2008 App.Config Usage
10:06
bwaisanen
Рет қаралды 27 М.
.Net MVC project with Sql Server and Entity framework step by step
19:09
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 25 МЛН