15,912,756 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 11232188 (Top 28 by date)
Member 11232188
2-Feb-17 11:08am
View
I got the url:
http://localhost:40539/Home/AuthorizeCallback/?code=64293b70b1394d52a9b590fee9a2dd4d
Member 11232188
2-Feb-17 10:52am
View
I want you to help me to find the issue.
Member 11232188
2-Feb-17 10:03am
View
I did not get any data. I do not know where is the issue
Member 11232188
1-Dec-15 10:29am
View
I need help
Member 11232188
29-Nov-15 0:51am
View
How???
Member 11232188
28-Nov-15 21:33pm
View
I need help
Member 11232188
28-Nov-15 21:33pm
View
I did not understand. Can you give more details?? like what I have to put in the form
Member 11232188
28-Nov-15 9:39am
View
I used
string courseNum;
public string CourseNum
{
get { return courseNum; }
set {
if(value==null) throw new ArgumentException("Course Num can't be null.");
courseNum = value;
}
}
how can I get the message in the form???
Member 11232188
28-Nov-15 9:23am
View
I mean how I can get the message "Course Num can't be null." in the form.
Member 11232188
28-Nov-15 9:12am
View
If I applied to put the validation in course class, how can I handle the exception in the UI?
Member 11232188
28-Nov-15 8:50am
View
where is best place to put the validation in course class or in the business layer? if we talk about the performance and validation in server side
Member 11232188
22-Sep-15 23:16pm
View
Thanks
Member 11232188
22-Sep-15 16:33pm
View
My question is:
When I remove the compare from my code the program work as I expect
Member 11232188
22-Sep-15 10:29am
View
I do not know what I should change
Member 11232188
22-Sep-15 10:28am
View
this is my model
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//
//------------------------------------------------------------------------------
namespace ParkingMvcApp.Models
{
using System;
using System.Collections.Generic;
public partial class Client
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Client()
{
this.Cars = new HashSet<car>();
}
public string Mobile { get; set; }
public string Role { get; set; }
public string Password { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Gender { get; set; }
public Nullable<system.datetime> BirthDate { get; set; }
public string Email { get; set; }
public string Address { get; set; }
public Nullable<system.datetime> CreatedDate { get; set; }
public Nullable<system.datetime> LastLogin { get; set; }
public string Qusetion { get; set; }
public string Answer { get; set; }
public Nullable<int> TyepOfClientID { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<car> Cars { get; set; }
public virtual TypesofClient tblTypesofClient { get; set; }
}
}
Member 11232188
15-Sep-15 16:58pm
View
I removed the symbol "~" in the path .Then, it is worked fine
Thanks
Member 11232188
15-Sep-15 16:37pm
View
The file of jquery is located in the same path
Member 11232188
15-Sep-15 15:51pm
View
I got this error after I used the word dollar sign instead jQuery
<pre lang="vb">Line: 11
Error: '$' is undefined
</pre>
<pre lang="xml"><!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script type="text/javascript" src="~/Scripts/jquery-1.10.2.js"></script>
<script type="text/javascript" src="~/Scripts/jquery.maskedinput.min.js"></script>
<script type="text/javascript">
$(function () {
("#date").mask("9999-99-99");
});
</script>
</head>
<body>
<input name="date" type="text" id="date" value="" />
</body>
</html
</pre>
>
Member 11232188
11-Sep-15 14:50pm
View
How??
Member 11232188
11-Sep-15 10:40am
View
I will try to use C#.
I will hold the data when the user request the page
Member 11232188
11-Aug-15 14:57pm
View
How can I reduce the code the first function "btnUpadte_Click"
Member 11232188
11-Aug-15 14:56pm
View
protected void btnUpadte_Click(object sender, EventArgs e)
{
A1.BackColor = GetColor(A1);
A2.BackColor = GetColor(A2);
.....
.....
A100.BACKCOLOR = GetColor(A100);
}
private Color GetColor(Label label1)
{
ParkingLot p = new ParkingLot();
int x = p.GetStatusLot(label1.ID);
if (x == 1)
{
return Color.Red;
}
else if (x == 2)
return Color.Green;
else if (x == 3)
return Color.Orange;
else
return Color.White;
}
Member 11232188
11-Aug-15 13:46pm
View
what should I do instead to use the label??
Member 11232188
11-Aug-15 13:43pm
View
should I repeat the function for 100 lable?
Member 11232188
11-Aug-15 13:39pm
View
protected void btnUpadte_Click(object sender, EventArgs e)
{
ParkingLot p = new ParkingLot();
int x = p.GetStatusLot("A1");
if (x == 1)
{
lblA1.BackColor = System.Drawing.Color.Red;
}
else if (x == 2)
lblA1.BackColor = System.Drawing.Color.Green;
else if (x == 3)
lblA1.BackColor = System.Drawing.Color.Orange;
}
Member 11232188
11-Aug-15 13:37pm
View
Should I change the back color for every label manually. "100 label"
Member 11232188
11-Aug-15 13:32pm
View
for example label "A1" ---- RED
"A2" ---- GREEN
"A3" ---- RED
Member 11232188
11-Aug-15 13:30pm
View
Deleted
Should I change the back color for every label manually. "100 label"
Show More