Blog

29 July 2010

Automatics email sending using windows service

Written by Amit Panchal, Posted in Blog

Hello friends,
we have seen so many web application which sends us emails notification at some regular time.
eg. if ur subscription is about to expire the system automatically notifies you by a mail.
it is very easy to do using windows service and web service.
to start first creat a web service in your asp.net project.
it will add filename.asmx ans...

 

29 July 2010

Root Finding or finding Inverse function

Written by Amit Panchal, Posted in Blog

Hello Friends,
In this post i will explain you how to get the inverse of a function or how to find the root of a function.
suppose there is a function y=f(x)
and you want the value of x when the y is 0 or something else.
you can find this solution using Numerical analytical mathamatics.
to use this algorithms.
download the source code from CodeProject
in...

 

29 July 2010

HTML to pdf

Written by Amit Panchal, Posted in Blog

Hello friends,
i have searched a lot for exporting my webpage to pdf at server side and give option to download the web page in pdf format.
i found one component very interesting
http://www.winnovative-software.com/
this component takes url and export it to pdf but the problem is that it is too costly for me.
so i found another open source component.
htt...

 

29 July 2010

Modification to flot chart component

Written by Amit Panchal, Posted in Blog

Hello friends,
flot is very good and flexible component to use for graphs and charts.
you can download the flot component from here.
this flot component provides bar chart and line chart.
line chart works fine but in bar chat you can display only two series of data.because it has only two option to align the data. left and center. if you have some...

 

23 April 2010

How to send values from one aspx page to another aspx page using post method

Written by Amit Panchal, Posted in Blog

Problem:
How to send values from one aspx page to another aspx page using "post method"
Solution:
Create a class named RemotePost.vb
and add the following code in that class

 

23 April 2010

Validation of viewstate MAC failed

Written by Amit Panchal, Posted in Blog

Hello Friends
i was getting the error in my asp.net application like this
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
i googled it and got 791 results.
i tried every possible...