Muito Obrigado, você me fez dar um salto alto em meu projeto, nem sei como te agradecer, faltava somente isso para automatizar as configurações de conexão do meu sistema. Thank you very much, you made me take a high leap in my project, I don't even know how to thank you, that was all I needed to automate my system's connection settings.
@Microjam3 жыл бұрын
Excellent presentation with a solution that works well. Easy to follow. Thank you.
@abdulmalik13897 жыл бұрын
Excellent man, I love this video....this is something I was looking for...Thanks man
@rafaelferreira74084 жыл бұрын
Thank you, now I'm gonna try to do this with my WPF app.
@JuanRamirez-uq1ct4 жыл бұрын
Thanks for share this video. that was really helpful and I really enjoyed your explanation
@WillGab6 жыл бұрын
How very clear tutorial, thank you so much.
@foxlearn6 жыл бұрын
Thank you so much !
@dailyquran20723 жыл бұрын
Great Video
@nboooly4 жыл бұрын
thank you very much, that was very helpfull, ans the explaination is wonderful!
@deepakbhanushali14 жыл бұрын
Can you provide same thing for Access Database , I have 2 set of database 1st one is companymaster, 2nd is datamaster where datamaster will select database as per company name and financial year selected from companymaster
@hasmukhsavaliya46575 жыл бұрын
Hello, the XML configuration file (.exe.Config) file under bin > Debug folder is changed with new connection parameter using your solution, but there is no effect of changed connection string the program always using the old connection string when running again, Please help/correct ;)
@rockyivic3 жыл бұрын
Great video!!! Thanks!
@carlvergara74576 жыл бұрын
Hi it says The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. I already check my app.config but stll i get that error, Thanks for the response. Please give me response because I badly need it.
@SiakNiTonying7 жыл бұрын
helllo foxlearn can i request ..how can you retrieve a data in database inserted to combo box or textbox or datagridview using this? thanks
@marcusshamase20507 жыл бұрын
Hi thanks for the video. If I may ask is there a way to use two databases in one connectionstring c# winforms? Please help
@CarlosRivera-xu1zf2 жыл бұрын
Nice video
@jaime29116 жыл бұрын
You forgot to add in the video the reference to the System.Configuration class
@khanalzai207 жыл бұрын
i am getting this 2 errors Could not find schema information for the element connectionString the type initializer for system.data.sqlconnection threw an exception
@foxlearn7 жыл бұрын
Hi, Please check your connection string again in the app.config file. remember add reference to System.Configuration.dll. Thank you
@fawazaliaskar3 жыл бұрын
hi what if i use intity frame work what change need in connection string
@AngelPatxiRodriguezFernandez3 жыл бұрын
It works correctly in debug but when installing it in Program Files it does not work. It does not change the connection string. There is no permission to edit the file. Any suggestion?
@theg4meover9883 жыл бұрын
If i use entity framework in my c# project , should i go with the same process as the video ?
@lps30267 жыл бұрын
Hi thanks so much for your video, but I want to ask how should I do if I use LinQ
@afzalhossainbd5 жыл бұрын
Thanks for the nice video. After saving the settings, I have to close and re-open the program otherwise saved settings do not work even I can see .conf already saved with new information! Is there anything that I can do: save and setting applies?
@foxlearn5 жыл бұрын
You should copy your program to another folder. each time you rebuild your project all data in the debug folder will be deleted.
@SystemServer5 жыл бұрын
Thanks. How to worked with XAF as same as it; Lesson Please....
@foxlearn5 жыл бұрын
OK. Thank you for your suggestion !
@matigarimanjirungi596 жыл бұрын
Hello Foxlearn Facing an error @config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); Error number CS0029 : Cannot implicitly convert type 'system.configuration.configuration' to "***** .configuration please help
@md.rezaulkarim6 жыл бұрын
Keyword not supported: 'datasource' Showing this error msg when I click connect button.
@elhoucineawixor30725 жыл бұрын
its " Data Source={0} " not " DataSource={0} "
@bongemhoangtu24686 жыл бұрын
Hello Fox, I have the error here how I can fix that? : 'The SelectCommand property has not been initialized before calling 'Fill'.'
@ybscambo69753 ай бұрын
I want to know how to config firewall to use public ip connection
@shehrozimran4 жыл бұрын
HI Fox learn Team, string connectionString = string.Format("Data Source={0};Initial Catalog={1};User ID={2};Password={3};", txtcomboBox.Text, Databasetxt.Text, usertxt.Text, passwordtxt.Text); in this code my connection STring return null . Can you tell me why?
@foxlearn4 жыл бұрын
Please check your code again. I think you miss something
@shehrozimran4 жыл бұрын
@@foxlearn i copied all your code but connectionstring variable receive null as i do debugging
@johnchen02136 жыл бұрын
are you a robot? who made this music? I'm impressed....
@elifgozdeklc96945 жыл бұрын
How can the current connection string be called in a different form? How to associate with an SQL query? SqlCommand cmd= new SqlCommand("Select HOST from BAGLANTI where ID=@p1", helper ??);
@foxlearn5 жыл бұрын
Change your connectionstring in the app.config file
@ArunTr4 жыл бұрын
Elif connection stringi yapamadim bana yardimci olurmusun?
@islam_TVs4 жыл бұрын
Can you make a tutorial on How to make Setup File of a C# Windows Application with SQL server database. Database created on SSMS and connected through connection string.
@foxlearn4 жыл бұрын
ok. Thank you for your suggestion
@panda31312 жыл бұрын
how is it implemented in the main form?
@dailyquran20723 жыл бұрын
I Want to know that how to implement this configuration page in our project? please...
@MrSyed337 жыл бұрын
Hello Fox, The code runs smoothly but my connection string is not updated when i press the save button even though the message box says that it has been successfully saved. pls help
@johnreytungul41887 жыл бұрын
This will work once you publish/made a .exe of your application.
@sherwinmanguilin11738 жыл бұрын
hi fox learn good day im wondering if how can i use the connection with this tutorial thanks
@sherwinmanguilin11738 жыл бұрын
i mean on how can i use it in selecting updating and etc
@foxlearn8 жыл бұрын
Hi, You can view more at: kzbin.info/aero/PL-EU0JUF-XD2qtVK0pOkCeWLUbnnnMo0k . Thank you !
@sherwinmanguilin11738 жыл бұрын
+Fox Learn ok thanks!! can i have all your examples insert update delete, user authenticate with sql server including this my email is manguilins@gmail.com thankyou verymuch!!
@shooterrick15 жыл бұрын
What is the cboServer? I don't understand where that came from.
@foxlearn5 жыл бұрын
cboServer is a name of combobox control
@SiakNiTonying7 жыл бұрын
Error 1 'Connection.Sqlhelper.IsConnection.get': not all code paths return a value c:\users\anthony\documents\visual studio 2013\Projects\Connection\Connection\SQLHELPER.cs 22 13 Connection what to do?
@harysetiawan30055 жыл бұрын
Wooww..keren = great !
@foxlearn5 жыл бұрын
Thank you so much !
@TanNguyen-wd1sp4 жыл бұрын
Thank so much
@foxlearn4 жыл бұрын
You're welcome. Thank you !
@ngocluunguyenbao44906 жыл бұрын
Dear sir/madam! I can't save the changes to app.config! Please help me :(
@foxlearn6 жыл бұрын
Please check your code again. Try to run your app as administrator. Thank you
@noobz1864 жыл бұрын
Can you show this in web application? Much appreciated!
@foxlearn4 жыл бұрын
OK. Thank you for your suggestion.
@RamanjaneyuluKondaru3 жыл бұрын
It can't save the config file in the network installation... please help us to save the config file details in network location Thanks
@foxlearn3 жыл бұрын
I think you should run your app as administrator
@homeyasamal84745 жыл бұрын
Fox learn super
@foxlearn5 жыл бұрын
Thank you so much !
@FelixSamora7 жыл бұрын
Hola, Saludos ! Donde puedo descargar el proyecto ? , Gracias !
@samael81007 жыл бұрын
can you create a tutorial for vbdotnet?
@DaveJamesTech7 жыл бұрын
how i can used this tutorial with entity framework? thanks this is great tutorial
@foxlearn7 жыл бұрын
Hi, You can create a config form and use this code to save your connection string when using entity framework, Thank
@DaveJamesTech7 жыл бұрын
thanks for the tip
@DaveJamesTech7 жыл бұрын
not working on entity framework. please help me
@foxlearn7 жыл бұрын
You should use entity framework code first, Thank you
@thong.na25107 жыл бұрын
Thank you!
@queirozquery57344 жыл бұрын
Need Help, Make a tutorial showing the use of (two connection strings) connection with Local and Remote database in C # language. Thanks!
@foxlearn4 жыл бұрын
Not change
@rahulsharma-tm4ye6 жыл бұрын
dear sir/mam i am getting keyword not supported :"datasource' error please help me to solve while connecting with sa password
@foxlearn6 жыл бұрын
Please check your connection string again. You should enter your server name, user name and password of your sql account
@adelmerhej41946 жыл бұрын
It should be "Data Source" and NOT "DataSource"
@Rasim_936 жыл бұрын
Thank you :)
@Ranjithkumar-tr1mh7 жыл бұрын
Hi, I cant access the file. It is saying that access to the path is denied. Any solution for this will be appreciated.
@foxlearn7 жыл бұрын
Hi, You need to select your application run as administrator. Thanks
@gilbertoasuaje67638 жыл бұрын
Once it is already packaged with the VisualStudio wrapper, could you use this tool to change the configuration of the connection string? Or is there a way to create a text file and that there is the connection string? Thanks for these videos, they helped me a lot. and I apologize for my English
@foxlearn8 жыл бұрын
Hi, You can go app.config to change the connection string. Thanks
@وساماسماعيلعمر6 жыл бұрын
Unfortunately this method doesn't work for me .. Can you send me source code ?
@تكنولوجياومنوعات6 жыл бұрын
Yes it is true
@nouriyacine88234 жыл бұрын
why u didn't upload the code in the description ?
@foxlearn4 жыл бұрын
You can find demo at foxlearn.com . Thank you !
@fademaydarkness10174 жыл бұрын
object reference not set to an instance of an object while saving
@foxlearn4 жыл бұрын
Please check your connection string name
@j.r.49388 жыл бұрын
Hello, some tutorial for a login with Facebook.
@foxlearn8 жыл бұрын
ok. thank you for your suggestion
@gilbertoasuaje67638 жыл бұрын
Excuse me, i did not realize it. Hi, i hope these
@foxlearn8 жыл бұрын
You're welcome. Thank you so much
@Saobranaung7 жыл бұрын
Thanks
@goodluckcomputershorthandc43056 жыл бұрын
error Keyword not supported: 'datasource' Showing this error msg when I click connect button.
@goodluckcomputershorthandc43056 жыл бұрын
any body can reply
@Jesus721886 жыл бұрын
Me gustaría un vídeo con access 2016 y Vb.net 2017
@foxlearn6 жыл бұрын
OK. Thank you for your suggestion. I'll upload all videos using vb.net as soon as possible !
@Jesus721886 жыл бұрын
@@foxlearn Thank you
@michaelmashigwana46693 жыл бұрын
Please help with this : Using windows form project write a C# application and make use of CRUD (Create, Read, Update and Delete) to include a Search function, Read function, Update function and delete function. Take Students as a Data Source (with its properties) and perform LINQ queries on this. All the CRUD procedures should be done on the C# IDE and update the information on the SQL Server database as well. Students are allowed to use different properties and colors, to make the application more real world like.
Please check your connection string in the app.config file. thank you !
@cut1e_5 жыл бұрын
@@foxlearn An unhandled exception of type 'System.NullReferenceException' Error in this line config.ConnectionStrings.ConnectionStrings[key].ConnectionString = value; What exactly do I need to fix? connectionString="Data Source=DESKTOP-65QMQGS\SQLEXPRESS;Initial Catalog=uchhet_izm;Integrated Security=True?;" Please answer me, it is very important for me
@cut1e_5 жыл бұрын
@@foxlearn I found my mistake, I had a different form name. In general, thank you very much for the video, I suffered for a very long time until I found you)