C#(cSharp) Javascript jQuery PHP 

Shuffle Array and array of object values in javascript, PHP

#1 Javascript: in javascript, there is no array shuffle inbuilt function, so we need to find some custom solution solution1: Solution 2: #2 PHP: In php array shuffle is very easy to implement because, there is a inbuilt function provided “shuffle()“ #3 C# : In c# there is no direct shuffle function, so we need to use random and orderby to get the output #4 Java : Implemented via custom function Arjun JSArjun is a Full-stack developer, who is fond of the web. Lives in Chikmagalur, Karnataka, India arjunckm.in

Read More
ASP.net C#(cSharp) 

How to remove extension .aspx/.html in asp/c# web application

If you are entering some sites particular page and enter a full link with the extension it feels annoying right? Want to remove extension?So to solve the problem in asp/c# Web application, you can follow the below steps to get rid of this. Follow the below steps carefully. #1 Step: in your application root create a file called “Global.asax”. to Create right click on application project and select “Add -> New Item” then you will see something similar to the below image, #2 Step: Then select in left select “C#…

Read More
crystal-reports C#(cSharp) Crystal Reports 

How to pass multiple values to single SetParameterValue() in C# Crystal Reports

Passing multiple values to single SetParameterValue() in C# Crystal Reports We faced this problem in Crystal Reports while filtering data based on multiple values for a single parameter in c#example: if you are using listitems and you are selecting multiple values to be passed to crystal report for filtering then you can use like this as below code snippet. First, add using system collections then create one arraylist object and read listitem and add to arrayList as below (this below code is for listitems) and (This below is code is…

Read More
Ajax ASP.net C#(cSharp) Javascript 

How to upload file to ftp using C#(C-Sharp) – aspx,ashx and ajax

In this article, we are going to explain how to upload the file to FTP using C# Generic handler(.ashx), HTML and Ajax. Please follow the steps below In visual studio create a solution with empty web app with aspx project solution. Create a file called index.aspx by adding a new item to the solution, in aspx page add the below code Add jquery plugin to <head> tag section Add HTML form fields to upload a file At bottom add the ajax file upload ajax script. After this create a File…

Read More
Ajax C#(cSharp) Javascript PHP 

How to create server side session using javascript

It is possible to create a server-side session using javascript for any server-side programming language like PHP, C#, Python etc. by just calling server side function using ajax calls as shown below. To do that, first create a server side application file and write the session variables which you want to set, then in client side javascript just pass the data which you need to set as a session to the server side application function using Ajax call as shown in below examples First, we will take an Example of C#/Asp.net. Javascript…

Read More
sendinblue logo C#(cSharp) Email Integration PHP 

How to Integrate Sendinblue Transactional Email

Send in Blue is one of the good campaign, Marketing, and Transactional Email integration system. Features of Send in Blue are: In Free Service only You Can Send 9000 emails/Month and there is no contacts limit to send (can send to 9000 unique contacts). Per day you can send 300 Email and 40 emails /hr, this may increase/decrease based the reputation you get from sendinblue. it is purely judge based on the emails you send. This all above is applicable if you are using a free version, if it’s an upgraded…

Read More
Asp-net ASP.net BackEnd Programming C#(cSharp) 

How to Capture Screenshot of a website Using ASP.Net

To Take a Screenshot of a website first you have to Create a Account in  Grabz.It and they will Provide you API keys to integrate it in your application. Then to use the API you will first need to create an instance of the GrabzItClient class, passing your application key and application secret from your GrabzIt account to the constructor. Then use one of the SetImageOptions, SetPDFOptions, SetAnimationOptions or SetTableOptions methods to request that the GrabzIt service take a screenshot of the URLpassed to it. Then use one of the following save methods. Notice…

Read More