Questions




Answers
2
how to convert httppostedfilebase to httppostedfile in C#?

How do I convert httppostedfilebase to httppostedfile in C#? Here is my demo code sinppet:

...
Read More
Answers
2
How to solve the Index out of range exception?

I am getting out of range exception for this code-

...
Read More
Answers
7
How to create monthly attendance sheet with MVC?

I want to display a monthly attendance sheet using the below SQL tables:

 Screenshot_1-min.png

this is the attendance table.

img2

this is the employee table.

Here is the image of the output, which I need in the view

img4

And here is the current C# Code for the action is:

...
Read More
Answers
2
Create dynamic month/year calendar attendance sheet in .NET MVC

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?

...

Read More
Answers
1
How to export HTML table to PDF & Excel in jQuery Datatable?

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

...
Read More
Answers
1
Validate Coupon code in asp.net by Calling WebMethod using javascript or jQuery

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

...
Read More
Answers
2
How to get Image from Controller in MVC and display it as Profile pic in layout.cshtml?

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

...
Read More
Answers
1
geolocation not working on safari browser,but its working fine on Chrome,IE,Mozila

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

...
Read More
Answers
5
Count and Group by multiple columns in a foreach statement in C#

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

...
Read More

Page 32 of 54