Showing posts with label HOME. Show all posts
Showing posts with label HOME. Show all posts

Wednesday, August 27

MVC application using entity framework with firebird database



Introduction:-
                     MVC application with entity framework and firebird database
Description:-
                     Most of the developer are using entity framework with SQL server database, But when they are switching to other database they are faced lots of issues during their development process.
In this article I have created a sample MVC application which is using entity framework with firebird database. To configure firebird database to use entity framework you have to follow below processes.
Ø  First check you have installed entity framework and EntityFramework.Firebird or not.To check this right click on your reference as below


Tuesday, March 11

JQuery Interview Questions

Introduction:-
                     Interview Questions on jQuery. Some of this i have faced in several interviews and some question i have collected and gathered for my viewer.
Description:-
                     Most of the interviewer test your knowledge on jQuery by asking some basic questions i have provided below.Here i have provided few basic question and answer what a interviewer wants to listen from you.
Let us start from the fundamentals
Q.1:-What do you mean by jQuery?
 Ans:-The best answer for this question should be  jQuery is a lightweight JavaScript library which  emphasizes interaction between JavaScript and HTML.
Q-2:-Can you explain the use of "$ function" in jquery with a suitable example.
Ans:-You can answer like this,
Type of this function is "function". and like that there are a lot of anonymous functions available in jQuery.

Friday, December 20

Snow falls using javascript


Introduction:-
                   In my previous article i have explained scrolling of a page using jquery. Now a days a dot net developer can do whatever they wants by coding.In this article i have created a animated page using javascript,After writing all these code you can get a similar looks of snow falls in your web page.

Description:-
 
               
                  Now i am going to describe the process.First create one .aspx page and inside that page ,give script tag i,e:<script type="text/javascript"> and inside that script tag write your jvascript functions.
I am randomly created that points which exactly looks like snow falls.It will be better for me to explain you with a example.so i am going to give a overlook on my .aspx page, where i have explained all the functionality.Now you have to write the code like shown below. 

Saturday, June 8

How to Scroll Page from Top to Bottom and from Bottom to Top Using Jquery/Javascript

Introduction:-
                 In this article i have explained  How to Scroll Page from top to bottom and from bottom to top using Jquery/Javascript.
Description:-
       
     In this article i have created one aspx page and has taken three html div where ID as top,div1 and div2 in three different background color for distinguish each other.I have taken three contents for this example but you can take as many contents you want.Created one javascript function and called this function dynamically in jquery click event.

Thursday, April 18

How to Bind State by Selecting Country DropDownList using WebMethod in Asp.net

Introduction:-
                 In this article I have explained  how to bind a dropdownlist using Ajax.
Description:-
               Some developers binding the dropdownlist directly in pageload.which will give low performance to your site.Now a days every user wants to avoid unnecessary postbacks during any events.Lets take a common example that  I want to bind a state list according to the country selection. I can do it in code behind selectedindexchange event,but it will result performance issue as discussed previously,so I will prefer to use ajax here.

How to Upload and Save Image Without any Postback by User in Asp.net

Introduction:-
                  Here I have explained how to store and display image instantly after choose by user in asp.net using jQuery.
Description:-
                 In this article I have explained how to avoid upload button functionality after choosing a image in asp.net. Some users usually don't likes to view image after clicked on upload button or any button control,They always prefers to view image instantly after selecting a specific image from dialog box.
               It make sense that it will possible only if we will use ajax or some client side functions.so here I am using javascript functions with taking one Image control and File upload button to open a dialog to choose a image from it.In my other post I have explained
How to Update previous Image URL During Update Mode , and  FileUpload Content Refreshed During pageloadif it is used in a user control .
 
 To get the result follow the below steps. where I  have explained each content with source code.

How to Save Image in Different Size in Asp.net

Introduction:-
                     This article explains how to create a image with different size in asp.net.
Description:-
                     In my previous post How to Upload and Save Image Without any Postback by User in Asp.net ,I have explained on image file validation check in javascript as well as instantly reading the image after selecting from dialog box.Here I am going to explain how you can store that same image in different sizes.
   
                   You have to specify some unit to store image in different sizes.As I have explained before you have to take one image upload control and one image viewer control.There is so many different approach is there to do this work but I am providing code which is very simple to implement as well as light weight than other approaches.

Encription and Decription of Password In Asp.net C#

Introduction:-
                     I have explained here how to encrypt and decrypt a string value.
 
Description:-
                     It is became mandatory for all developer to store their password in encrypted because of security reason.And it is the best practice for a developer.If someone wants to store something secretly ,then we should go for it .To store a password in encrypt manner ,it will create  headache  for  hackers to find your password easily.
                                If you will store some string value in encrypted way,then it is quite obvious for an developer to decrypt that string for further use in that application.For an example if some store the encrypted  password in database,But while they want to retrieve their password it won't come the exact one rather encrypted one.Hence we will decrypt that string in that scenario.  

Send sms to mobile in asp.net using fullonsms free api

Introduction:-
                   How to send free sms to mobile using fullonsms api in asp.net.

Description:-

 
                It is very easy to send a sms by using fullonsms in asp.net.Before that you should have an account their.If you do not have an account then follow the steps to create one.
First create one account in http://fullonsms.com/login.php and in source code update the username and password accordingly.
After you have created an account,you can use that registered number to send sms to other numbers in asp.net.
There is a drawbacks here ,First it is useless for those numbers who has not registered in fullonsms.That means both the sender  and the receiver  should have an account on fullonsms.
If the receiver doesn’t have an account on fullonsms ,then you can’t able to send sms to that number unless and until that user is not going to register their number on fullonsms.
For me you should go for a bulk sms package service rather for fullonsms and way2sms free api.
If still you want to use free fullonsms service then follow the following procedure.

Send free sms using asp.net source code

Introduction:-
                     Here I have explained how to send sms using asp.net.
Description:-
                     In my previous article I have explained the same functionality in different approach.Also I have explained some guidelines of using this functionality in Send sms to mobile in asp.net using fullonsms free api.
As I have discussed before you should choose sms gateways package instead of free gateway like fullonsms and way2sms.
Way2sms has stopped their free services for asp.net. In the meantime fullonsms is only those user where the sender and receiver both are a registered user of fullonsms.

Saturday, March 23

How to retrieve data using linq query in DataTable

Introduction:-
                     Here I have explained How to retrieve data using linq query stored in DataTable in asp.net.
Description:-
In this Article I will explain how to store data into datatable using linq query in asp.net.I have used here data context class and by creating the object of that class we can get the tables present inside that object.

Tuesday, December 4

How to get Checkboxlist value with comma Separator by jquery

Introduction:-
                     Here I have explained How to get Checkboxlist value with comma Separator using  jquery  in asp.net.
Description:-

Now here I will explain how you can get the values of checkboxlist using jQuery.As many you can get the output,for example if you check 3 checkboxes then you will get 3 outputs with comma separator.

Thursday, November 22

Image cropping using jquery

Introduction:-
                     Here I have explained How to crop image with jquery  and asp.net.
Description:-
In this article I will explain how you can crop your selected image using jQuery and asp.net.
You have follow the below steps to get the result.It will be better if you will copy and paste the code I have written below to see the output.

Monday, November 19

How To use google map in asp.net

Introduction:-
                 
                  Here I have explained how to create a Google map using javascript in asp.net.

Description:-
                
                  In this article I have given three different examples to create a Google map in your asp.net application. Also explained how to create latitude and longitude of an area using javascript function.I have provided the source code for three different examples.

Wednesday, November 7

How to Lock a Form or How to set a form as Not Movable as well as Fixed Size


Introduction:-

                  Here I have explained how to Lock windows form in windows application.

Description:-

                 In my previous article I have explained Generate Barcode in windows application .Here I will explain how a form can’t be movable. We can lock a windows form to set as fixed position where a user can not able to resize that form as well as they can’t able to change the position of that form.

Sometimes it will be a mandatory when you want to open window inside a master form with fixed size. Then we definitely go for this approach.

It is very simple to fix a window form by some few lines of code in your windows application. For this write a override method for WndProc.
 

Thursday, November 1

How to call javascript function in code behind

Introduction:-

                  
                    Here I have explained how to call a javascript function from code behind and a simple javascript alert message from code behind in asp.net.
 

Description:-

 Here I will explain how to show a alert message from code behind as well as javascript function call from code behind in asp.net application.

.

ShibashishMnty
shibashish mohanty