Skip to content

Sumit Gupta

bookmarking my life

Category: Programming

Javascript Base64 Encode, Decode for UTF-8/unicode string

April 3, 2014 by Sumit Gupta Javascript

Complete article that works for me : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Base64_encoding_and_decoding  Part where we encode from unicode/utf-8 is function utf8_to_b64( str ) { return window.btoa(unescape(encodeURIComponent( str ))); } function b64_to_utf8( str ) { return…

Read More

C#: Code to load Object from Database

January 3, 2014 by Sumit Gupta .NET, C#.NET

It is often when managing old project that do not use ORM coding, we need to load object from database. In such scenarios it is quite boring to code all…

Read More

Some Cool WordPress Plugin

October 25, 2013 by Sumit Gupta Bookmarked, Wordpress

Lately, I got lot of wordpress site, that were not just blog or business website. But they are ecommerce, Restaurant Ordering, Video streaming and much more. Been a developer I…

Read More

Reading Large Binary Files: Child Play

July 11, 2013August 11, 2014 by Sumit Gupta Blog: My thoughts, MS SQL Server, Programming, SQL, SQlite

Yes, that was funny title, but after your experience it you will agree to me. So, here is the story. I have been working on a software that read some…

Read More

Self Hosted Web Service: WebServiceHost

April 26, 2013 by Sumit Gupta .NET, C#.NET, VB.NET/VB, WPF

So today I learn about WebServiceHost. Just a normal class but it does a lot for me today. This host the web service within you Desktop/Windows Service application. i.e. you…

Read More

WPF ComboBox: DataBinding with DataTable

April 10, 2013 by Sumit Gupta .NET, C#.NET, VB.NET/VB, WPF

Well it seems easy thing, but it took a while for me to get it working. Frankly I still don’t know why it works this way, but at least it…

Read More

MDI Window: C# way

April 8, 2013April 8, 2013 by Sumit Gupta C#.NET, Concept/algorithm, Programming, VB.NET/VB

So how can we make MDI Parent and Child Window in C#. The answer I found was that there is nothing inbuilt for it. So, I have two choice, either…

Read More

Posts navigation

← Previous 1 2 3 4 5 … 17 Next →

© 2025 Sumit Gupta // Powered by WordPress