Posts by PachecoDt • 253 points
9 posts
-
0
votes1
answer97
viewsA: Report Viewer - app.config unknowingly
Hello, follow example of connectionString by app.config for Mysql. <connectionStrings> <add name="myDatabaseConnection"…
-
2
votes1
answer260
viewsA: Datetime object with DIA, MES, HORA
Well, you can create your own type - but a Datetime always has full date and time. You can always ignore the year - or use the current year: DateTime data = new DateTime(DateTime.Now.Year, mes,…
-
0
votes2
answers755
viewsA: Visual Studio 2017 no template
Thanks for the answers. They helped a lot as a palliative but did not solve definitively. After I opened a bug in microsoft they could not solve, but then I upgraded to the latest version released…
-
1
votes2
answers755
viewsQ: Visual Studio 2017 no template
Installed VS2017 but not only 'Blank Solution' templates. I tried to uninstall and reinstall without success. Someone’s been through this before? Imagery:…
-
0
votes2
answers104
viewsA: Data string-to-date Procedure
Bom Dia Amigo... Convert date to Weekday can use the following: SELECT DATENAME ( weekday , '20150911' ) Will return for example Friday! based on the day you can assemble your function to add days…
-
7
votes2
answers548
viewsQ: Memory error when entering millions of records using Entity Framework
I am using the Entity Framework to Insert and Update Thousands of Records. At first it was slow, but after putting the code down it improved the speed. db.Configuration.AutoDetectChangesEnabled =…
-
1
votes1
answer209
viewsA: Extract . zip with status
I think you can use it this way: Inside the Foreach you Will Have Each File.. private void MyExtract() { string zipToUnpack = "C1P3SML.zip"; string unpackDirectory = "Extracted Files"; using…
-
0
votes2
answers1144
viewsA: Update function to update date and time?
You need to Use a Timer to be able to update the date and/or time in a given time range at your discretion. Behold Here Maneiras!)…
-
1
votes1
answer3855
viewsA: Receiving data via serial connection C#
To trigger the process would be: _serialPort.DataReceived += new SerialDataReceivedEventHandler(RecebeDadosSerial); However, it would be interesting to send us a manual about your device. You may…