Skip to content
  • Home
  • Programming languages
    • C#
    • transact-sql
  • Downloads
  • My products
  • Spanish
Logo

Hdeleon.org

A lot code, a life of developer

  • Home
  • Programming languages
    • C#
    • transact-sql
  • Downloads
  • My products
  • Spanish

Category: Programming languages

How to receive data from arduino in C# .Net, Windows forms

In this post I will teach you how to receive data from arduino. You need to have Arduino IDE, if you don’t have arduino IDE you can download of here. The firs step is write the next code, the code has comments: You should have somethin like this, and you press in arrow button toRead More

powerhdeleon April 23, 2019April 23, 2019

How exec a string like query in Sql Server? Dynamic Sql

In Sql Server you can exec a string like sql, for make it you shall use a stored procedure called sp_sqlexec. In the nex code I write a query like string and the next line exec the string like query: You should be careful with this stored procedure, as it could allow sql injection.

powerhdeleon April 8, 2019April 8, 2019

Function in C# .Net to use Hash SHA1

A hash function serves to become a string characters in other string characters with length fixed. below I wrote the code to use hash SHA1. You can use it like this: Remember to add the namespace in top in your class:

powerhdeleon April 5, 2019April 5, 2019

How to force a textbox to accept only numbers in windows forms?

Some occasions we need to force a textbox to accept only numbers, that the user can’t key letters and with this add validation in user interface. The following code forces the user to only key a number, you shall click in the control and click in KeyPress and add the next code: If you wantRead More

powerhdeleon April 1, 2019April 1, 2019

Free code of videogame Snake in C# .Net

I have written the next code to explain how to make the videogame Snake in C# .Net. The technology is C# .Net with windows forms. You can view the process in this collection video here but they have a issue, the collection video was explaining in spanish. If you want to download the code, youRead More

powerhdeleon March 28, 2019April 3, 2019

How edit the appsettings section in app.config file in program running

With this code you can edit your app.config file. If you use the ConfigurationManager class only change the value in memory. With this sample you can change the file. In the next code I edit the app.config file with the XmlDocument class and refresh all the new values. The code is commented.

powerhdeleon March 28, 2019March 28, 2019

What the hell are the properties in C# .Net? My first english video

In this video I will try to explain the properties in c # .Net.

powerhdeleon March 27, 2019March 27, 2019

Recent Posts

  • How to receive data from arduino in C# .Net, Windows forms
  • Gym Software Hdeleon 1.9 Source Code include C# .Net
  • How exec a string like query in Sql Server? Dynamic Sql

Categories

  • Arduino
  • C#
  • Downloads
  • Framework
  • My products
  • transact-sql
  • Uncategorized
  • Videogames programming
  • Windows Forms

Follow Us

hdeleon.org | Supernova Themes
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
Privacy & Cookies Policy