DS Solutions

Provides IT SolutionsSource: DS Solutions ...
Read More

File Upload uisng Jquery in C# ASP.Net MVC

There so many ways to upload files with jqueries in ASP.Net C#. One way is with creating XMLHttpRequest and another way is with FormData object.In this post i'll show uploading files and saving form data in one ajax call using jquery.Upload Files with Jquery in ASP.Net MVC C#First code for ...
Read More

Display image from byte array in ASP.NET MVC

There are many ways to display image from byte array in MVC as well as normal ASP.Net projects.In this post I'll explain couple of them.1) Using BASE64 string of the image through ViewBag The first way is by sending a Base64 string as dataURL through ViewBag. As shown in below ...
Read More

C# Currency Converter using Google API

Currency conversion in C# using Google API There are so many ways to convert amount from one currency to another currency like using google finance converter, Yahoo finance and rate-exchange.In this post i will show conversion using Google Finance Converter.In below code, I create one WebRequest for Google Finance Converter ...
Read More

Allow only numbers in textbox jquery

For allowing only numbers in textbox using jQuery, you can create key-press or key-down or key-up event for textbox by using textbox id or class.In below example i used class name ("number") for applying validation to textbox. You just had copy above code and paste where you want to apply ...
Read More

Url rewrite for non-www to www in C#

WWW version is very useful to make your web site easily searchable by web crawler also WWW version helps to increase your chances make your web site rank higher in SEO purpose. One common use of URL Rewrite is redirecting http://domain.com to http://www.domain.com. Many people are doing this for search ...
Read More

Check valid JSON String

To check whether entered string is in valid json format or not. Use below link.Check Valid JSONIf you entered valid json string it will show output as shown in below image :If you entered invalid json string it will show output as shown in above image ...
Read More

MVC CRUD Operations Using jQuery JSON and LINQ To SQL Class

Step 1 : DatabaseCreate an EmployeeData table in a SQL database as in the followingStep 2 : LINQ to SQL classCreate a LINQ to SQL class to read data from the table as in the following:After using the Server Explorer and adding an EmployeeData table in the surface area as ...
Read More

Back to Top using Jquery

You can use following links for applying back to top functionality in your web site, blog, etc.Back-to-top-button-jquery Scroll to top readymade demos with code Add-sticky-back-top-button-website ...
Read More

Add google translator to website

For adding google language tranlator to your web site click on below linkAdd google translator to websiteStep 1 : Enter your website url and select default language which you want to apply when your website loads first. Step 2 : Select languages which you want to use for your website ...
Read More