15,892,927 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 12583662 (Top 35 by date)
Member 12583662
21-Mar-17 14:07pm
View
Thanks a lot Richard. It was my mistake as I was not updating the Entity Model. It is working now. Thanks once gain. You are great.
Member 12583662
21-Mar-17 13:38pm
View
Yes, RowModifiedDateTime is the column itself. user is the table.
I defined usr variable of type user and assigned the value from database based on UserID. Then I updating the column RowModifiedDateTime of usr to current datetime.
Member 12583662
21-Mar-17 12:49pm
View
I have defined no property for this column.
Member 12583662
21-Mar-17 12:24pm
View
Hi Richard its still not working, I have remove the default value from the database, still the code jumps to Catch block on saving.
Member 12583662
21-Mar-17 4:11am
View
Deleted
Hi Richard, The default value is already set to current datetime in database, but this is for inserting a new record and I am trying to modify the existing date.
Member 12583662
21-Mar-17 4:08am
View
Hi Richard, I have set the default value to Current DateTime in database. But this is for creating or inserting a new record. And I want to update current record.
Member 12583662
20-Mar-17 5:10am
View
Hi Michael, I am using Entity Framework. So the usr is the table itself (user table). The addition of new record is working fine. The issue is in update only.
Member 12583662
19-Mar-17 9:24am
View
The errors I got are:
InnerException = {"An error occurred while updating the entries. See the inner exception for details."}
Message = "Modifying a column with the 'Identity' pattern is not supported. Column: 'RowModifiedDateTime'. Table: 'datamasterModel.Store.user'."
Member 12583662
19-Mar-17 7:56am
View
this is not working as RowModifiedDateTime is of date type so cant not consider value of String type.
Member 12583662
10-Feb-17 12:57pm
View
mail sent.
Member 12583662
10-Feb-17 12:46pm
View
request sent on skype
Member 12583662
10-Feb-17 12:24pm
View
Hi
Member 12583662
10-Feb-17 12:00pm
View
any skype id
Member 12583662
10-Feb-17 9:48am
View
Hi Karthik
Member 12583662
10-Feb-17 6:45am
View
thanks buddy
Member 12583662
10-Feb-17 5:58am
View
will you share your mail address or other communication method pls.
Member 12583662
10-Feb-17 2:55am
View
Hi Karthik
Member 12583662
9-Feb-17 12:38pm
View
will you share your mail address or other communication method pls.
Member 12583662
9-Feb-17 10:53am
View
Can you help, as this code is taking time due to multiple for loops.
Any other solution is required.
Member 12583662
9-Feb-17 7:33am
View
it is working, but my question is can i write some logic in view only.
Member 12583662
9-Feb-17 6:31am
View
Hi Karthik, First of all thanks alot it is perfectly working fine. But can we write the same code in View part where we mentioned the TH and TR code. or is there some compexity to write code there.
Member 12583662
9-Feb-17 5:42am
View
The main code is already mentioned here. For datatable i only used jquery class to apply datatable features. SO no special code in that part.
Member 12583662
9-Feb-17 5:41am
View
yes
Member 12583662
9-Feb-17 4:53am
View
Jquery
Member 12583662
9-Feb-17 3:17am
View
I am using DataTable for this. Like below Calls column have all 0
Date base Base2 Calls
08-02-2017 2333 3 0
07-02-2017 2332 3 0
06-02-2017 2331 3 0
05-02-2017 2328 1 0
04-02-2017 2325 3 0
03-02-2017 2312 2 0
02-02-2017 2311 2 0
01-02-2017 2309 2 0
31-01-2017 2309 2 0
30-01-2017 2307 2 0
Member 12583662
8-Feb-17 21:59pm
View
Yes all rows of one column like active_base. If it has no value in all dates it should be eliminated. or hidden.
Member 12583662
8-Feb-17 6:58am
View
it will fetch and show date wise data from 1st to 30th. want to exclude if Entire column is null.
Member 12583662
8-Feb-17 5:38am
View
Action code is already given. and this is the view. View changes based on different services selected. For some active_base is null and for they have values. I want to check if entire column is null than it should not be seen on screen.
Member 12583662
8-Feb-17 5:36am
View
foreach (var item in q)
{
@Convert.ToString(string.Format("{0:dd/MM/yyyy}", @item.pdate))
@item.active_base
@item.charged_base
@item.total_calls
@item.total_mou
@item.daily_ivr_unique_user
@item.total_pulse
@item.actrevenue
@item.Rrevenue
@item.total_revenue
}
Member 12583662
10-Jan-17 12:41pm
View
I have gone through the link and setup IIS on my local machine. The same issue is there. No jquery/Ajax and even no FontAwesome
Member 12583662
10-Jan-17 11:51am
View
the exact path on server is d:/Guri/DM/
DM is the folder in which all the files and folders of published app is. I have given DM as Virtual Directory name also.
Member 12583662
10-Jan-17 0:31am
View
Hi Mr Sahnu, It is working fine on local machine but not on server due to the addition of Virtual Directory named DM, which is not there in URL. Thanks.
Member 12583662
10-Jan-17 0:28am
View
Hi, Yes it is a virtual directory named DM.
Member 12583662
9-Jan-17 5:39am
View
what can i use in replacement of @url.action() to make my path url dynamic. The path at server is "http://5.189.146.208/DM/Home/GetCountryWiseData", but locally it is "http://localhost:(portno)/Home/GetCountryWiseData"
Member 12583662
9-Jan-17 5:35am
View
Hi SrikantSahu, thanks alot for the reply. I dont want to hardcode the changes as i have to change this again during the development and testing on my local machine.
And directory DM is created and if i mentioned the DM path in URL than it is working fine but the same is not there when runing locally. and also how i make the FontAwesome path dynamic rather than hard coded.
Thanks
Show More