16,013,516 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 .NET 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 Dheerajs975 (Top 10 by date)
Dheerajs975
14-Feb-18 7:27am
View
it was correct and i already solved my error.. thanks
Dheerajs975
14-Feb-18 4:33am
View
Did you found any error in below code?
Dheerajs975
23-Jan-18 1:09am
View
it works for me too.. thanks
Dheerajs975
6-Jan-18 2:18am
View
i want to code same as i posted in comments..
Dheerajs975
6-Jan-18 2:16am
View
will it woek in MVC?
it is ASP.NET code ryt?
Dheerajs975
6-Jan-18 1:52am
View
public ActionResult AutoPRNo(string lastPRNo)
{
string PR = "PR";
string letter = PR.Substring(0, 2);
int len = PR.Length - 1;
int number = int.Parse(PR.Substring(2));
number++;
if (number >= Math.Pow(10, len)) number = 1;
ViewBag.request_number = String.Format("{0}{1:D" +
len.ToString() + "}", letter, number);
return View();
}
//is this code is correct for autoincrement of PR001,PROO2 and so on?
Dheerajs975
6-Jan-18 1:43am
View
i got one code, will you please tell me the correction if i ask you in that?
Dheerajs975
6-Jan-18 1:34am
View
yes exactly.. in mvc4
Dheerajs975
4-Jan-18 5:37am
View
what can i do if client ask me for prevent multiple login..?
author wants to prevent multiple logins with same username and password
Dheerajs975
4-Jan-18 5:01am
View
i just want to make my site more secure... and its possible,
like when user enters their credential for login first system will check in register table that credential are correct or not. if yes then it will go into login table and check that the entered credential login status is true or false, if its true then it will not allow to login and if its false then user will be redirect to Dashboard or Home page
Show More