15,921,837 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 Visual Basic questions
View Javascript 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 9207317 (Top 4 by date)
Member 9207317
19-Oct-14 23:47pm
View
Thanks @amit for your reply but it's not fullfil my requirement, As I wrote in my question
I need all the following requirements fulfill in one regular experssion:
1- User should not enter empty space in begining. (Working fine)
2- Textbox limit is upto 10 numbers, user will able to enter as much as number he wants, no validation if he enter less than 10 numbers. (Working fine.)
3- validation should prompt if user enter the numbers like this "111 111 ", means show validation if there is empty space between numbers. (Not working)
So my 3rd requirement is not completed in my current regular expression, I have checked the link provided by you it's not giving user option for enter numbers upto 10 digits, user can enter all 10 numbers or 3-4 numbers (Maximum limit is 10 numbers but user can enter like "2345" only 4 in starting because this field is used for telephone extension).
Please suggests how can I achieve this.
Regards,
Member 9207317
31-Jan-13 3:37am
View
Hello Sandeep
Thanks for your great help..
Yes, the Like clause solved the issue, but I am sending multiple id's in the paramter, So it's not worked correctly with Like clause.
Also I'm using a function which split the values:
Suppose In parameter @p I have '1,2,3' Id's then my function is spliting these id's by
@Split(@p,',') and worked well when I am applying this with "In ( Select * from split(@p,',')).
Please let me know how can use the Like clause also by using this function.
Thanks in Advance.
Regards,
Member 9207317
12-Dec-12 8:38am
View
I'm calling a WebMethod using Jquery.Ajax.
Jquery code:
function Testok(values) {
alert(location.protocol + "//" + location.host + "//" );
$.ajax({
type: "POST",
url: "NotificationsPage.aspx/UpdateEmailStatus",
data: "{'IDs':'" + values.toString() + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json"
});
dgNotificatons.Refresh();
}
VB.Net code:
<webmethod()> _
Public Shared Function UpdateEmailStatus(ByVal IDs As String) As Boolean
My code
End Function
it's working fine on my machine which have VS2010 but not on Client Machine that has VS2005.
Member 9207317
12-Dec-12 0:02am
View
Hello
Thanks for your help.
Actually I'm working on client's machine using Remote Desktop connection and developing the website on his machine using VS2005.