How do I convert httppostedfilebase to httppostedfile in C#? Here is my demo code sinppet:
...I am getting out of range exception for this code-
...I want to display a monthly attendance sheet using the below SQL tables:
this is the attendance table.
this is the employee table.
Here is the image of the output, which I need in the view
And here is the current C# Code for the action is:
...Suppose I have a database table of 5 employees. I also have the attendance of those employees(Present and Absent data). I know how to use the fullcalendar.js. But what I want is, I want a fullcalendar esce monthly attendace sheet like below one with changable month and year. Is it possible?
...
Hello, I am using jQuery datatable, can you please provide me complete demo solution, to export the HTML into PDF using jQuery datatable plugins?
I have got many links on interent but I am not sure, how to implement in my table, as there is no complete solution, please give me all the details in basic manner like scripts to be included, HTML & CSs to refer, thank you
...I need help to calculate resulted amount after applying coupon code, the thing is when user enter the coupon code, it can be of two type 0/1, suppose this is the table
Voucher Code |
Amount |
Off_type |
Test |
50 |
0 |
Demo |
10 |
1 |
Now if the Off_type is 1, then Amount to be deducted should be as rupees, and if Off_type 0, then amount to be deducted should be percent of total.
For example: If total amount(without discount) is 100, and Coupon code is "Demo", then after discount total amount to be paid will be 90, as 100 - 10% Of (Total) =90
So I am not able to implement this functionality using jQuery and WebMethod, here is my current code
jQuery
...Hi, I would like to know how can I return Image from MVC controller using C#?
Actually I would like to get image and show it on _layout.cshtml page as profile pic when user is Logged in, something like below code
...I am using HTML5 geolocation which is not working on safari browser,but its working fine on Chrome,IE,Mozila,here is my current javascript code
...Hello,
I need to write a foreach statement (I don't have it yet) in which to group by and count the departments.
This is what I have done so far. How can I take the count of each column?
thank you
...