Convert a C# Object to a SQL string(coders4fun.com)

submitted by DzamirDzamir(245) 4 years, 8 months ago

A static method that converts C# standard objects and types to a SQL string, e.g. a byte array is saved as a blob.

2 comments |category: |Views: 57

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by johnrummelljohnrummell(1296) 4 years, 8 months ago 0

Another option would be using SQL Parameters, which would also guard against SQL injection.

Reply

posted by DzamirDzamir(245) 4 years, 8 months ago 0

Yes, this project is work in progress, and all suggestions are welcome :)

Reply

information Login or create an account to comment on this story