Forgot your password?
Sign in with
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Python questions
View C++ questions
View Java questions
All Message Boards...
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Design and Architecture
Internet of Things
C / C++ / MFC
ATL / WTL / STL
Objective-C and Swift
Hardware & Devices
Hosting and Servers
.NET (Core and Framework)
Site Bugs / Suggestions
Spam and Abuse Watch
The Insider Newsletter
The Daily Build Newsletter
Most Valuable Professionals
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
What is 'CodeProject'?
Ask a Question
Bugs and Suggestions
Article Help Forum
Comments by Keviniano Gayo (Top 17 by date)
How did you load the datasource into your datagridview?
Just download bootstrap navbar, they have built-in hamburger menu
that kind of low level stuff cautious to memory is somewhat i'm not good at. But i know that using IEnumerable as a variable or to pass around is efficient compared to List because IEnumerable has fewer methods and the base class of List. Displaying UI in LOB application is not as intensive as video games. IMO, in LOB apps usability and intuitive UI is important then you can later improve its performance..
Did you try to run in your local IIS with the same files and it works?
The way the Enumeration class is designed, you don't need to add the default constructor. You don't have to call Fruit method directly e.g. GetAll because it is used as a type (to identify a type of enum).
This code in your example: List<fruit> AllFruits2 = Fruit.GetAll<fruit>(); doesn't make any sense because you will always get a Fruit type since you are "getting" all types from the "Fruit" itself.
This is how you call to get specific Enumerations type:
IEnumerable<cardtype> AllCardType1 = Enumeration.GetAll<cardtype>();
IEnumerable<fruit> AllFruits1 = Enumeration.GetAll<fruit>();
Or enum checking:
Enumeration cardCurrent = CardType.Amex;
if (cardCurrent is CardType)
int isEqual = cardCurrent.CompareTo(CardType.MasterCard);
bool ismatch = cardCurrent == CardType.Visa;
Yes it removed the default parameter-less constructor
No problem. Public parameter-less by the way is not required, unless you are going to instantiate a class without parameters. Although the compiler will add the default constructor(parameter-less) in the background if you didn't explicitly declare it, if no constructor override in your class declaration.
You will setup different connection string for each DBContext.
class EmployeeDB : DBContext
public EmployeeDB() : base("name=employeeConnectionString")
class LeaveDB : DBContext
public LeaveDB() : base("name=leaveConnectionString")
What tools are you using to preview/print the report? Is it SSRS? Crystal reports? or web page generated with pdf?
Did you display the google map inside your web page using iframe?
Or did you generate a URL link from your web page that points to the above URL?
In SQL Server 2016, management studio is not included in the installer. You need to download management studio and do a separate silent install.
The windows service is on a separate project.. You have to install it on the server.
It will run continuously, it will show in services (services.msc) in windows, and you can see the status if its running or stopped.
Or you could try "Solution 2" which i also used to trigger the task, just make sure the request is coming from pingdom when you deploy to production.
Ah yes, i will remove my solution
I already solved the 1st comment by overriding the Jsonserialization by using JSON.Net.
Yes. In detail part there are buttons for insert/update/delete, then in header part, there is update/delete. Then a "save" button in header part to save all changes including detail part.
Last Updated 1 Jan 1900
All Rights Reserved.