I am working on a gridview in ASP.NET c#. In gridview if have 4 TextBox in which
1st field - hire/month
2nd field - from date
3rd field - to date
4th field - required machine month
The concept works like this.
The difference between from_date and to_date should be found in terms of month and it should be multiplied with hire/month to get the required_machine_month field. Please help me on this.
I don’t know JavaScript, though I tried my level best by getting the difference in one function and calling the function to another function and multiply it to get the output.
But the JavaScript totally fails and doesn’t seem to work. Please provide me a good script.
Thanks for all your help.. Finally i got the script working. But its a long one. I am posting it below for anyone’s use. If anyone are not clear about. Pls feel free to ask so that i can tell what i have done.
In the code behind…,