I use this code for decimal validation.It was working fine.but it allow to enter the alphabets into the text box when i exit from the text box the error message will show nearby textbox.I need,if i press the alphabets the text box doesn't allow to enter the text box , how to do this?
<asp:RegularExpressionValidator ControlToValidate="txtNumber"
runat="server" ValidationExpression="^[1-9]\d*(\.\d+)?$"
ErrorMessage="Please enter only numbers">
</asp:RegularExpressionValidator>
What is the most standard encryption technique used in sql server for asp.net c# enterprise level application? . i am talking with respect to standards like md5 or sh1 etc, hashing
HI,
I'm new to iphone programming and developing travel application, which retrieve most of it data from remote database.
What is the best way to implement this solution? I thought of generating XML files in server side and getting data via XML files to iPhone app and displaying them...
Is there better implementation to this, thank you in advance?
Waruna.
I am using jboss 4.2 server and oracle xe both have same port no ie 8080 so I want to change my jBoss port for run our application please tell me how to change port in jboss.
I know how to change port in tomcat but I didnot find in jboss.
We are performing a pen test on a simple asp application that uses MS SQL Database. It seems for the authentication they are using dynamic constructed queries but escaping single qoutes.
When we use Unicode quotes like %uFFO7,%u02b9 etc we are able to successfully inject SQL injections.
Want to understand is it more a kind of configuration issue of IIS server to cannonicalize Unicode characters or the way the validation function to escape single quotes is written is the cause of the problem?
When a user clicks a button I need to create a .bmp file on the server. After the .bmp file is created I will load it into the html page. Would Ajax be the best way to accomplish this?
Are there exists an simple AMPQ server/broker implementation written in Java?
I need it only for local integration tests, starting it from ant/maven, and i don't need any features like a clustering, persistence, performance and so on. Just a fake RabbitMQ-like instance, without installation (just as a dependency at maven pom) and configuration.
I need to install apache http server 2.2.15 in solaris 9 .But in apache site ,only source is available for solaris.
Please help me to find binary distribution for solaris 9?
If i have to compile the source to binary for solaris,tell me how to compile the source for solaris 9?
I am working on a project where I need to embed a web server into my C++ application. I am looking for an open-source library supporting SSL, written in C or C++ and with a licensing scheme that will allow me to link it into my existing closed source code. Any suggestions of specific products or where to look first?
i have uploaded my site on hosting server with name www.selectionfurnishing.com
but when i try to open any page i got an error that the site does not exits
when i try www.selectionfurnishing.com/default.aspx then it gives error that the page does not exits (404)
please tell me how can i solve this ....
Thanks
I'm learning how to use SQL Server Management Studio and can't figure out how to insert a new row into a table.
Table Structure:
ID,
Field1,
Field2
Query:
INSERT INTO Table (Field1,Field2) VALUES(1,2)
Error:
Major Error 0x80040E14, Minor Error 25503
I'm probably missing something very noobie like. Any help would be appreciated.
I store an XML string in a column in my SQL Server database. I'm trying to run an UPDATE statement that will make a certain field into Upper Case. I can do that easily during a SELECT but can't get it to work with an update.
This SELECT statement works
select Upper(XmlTest.value('(/CodeFiveReport/Owner/@UnitNumber)[1]', 'varchar(10)')) as UnitNumber
from uploadreport
But I want to update it the XML as that permanently
Update table Set XmlString.Modify('replace value of (/Root/Node/@Field)[1] with ?
Hi I want to know how to take a backup of database using programatically in VB.net of SQL Server 2005. if you are having and idea about it then pls send me the code for that.
hello,
I made a web application that I connect to it from a mobile device
and I used Ajax Request Object but the status of the object returned data is 500
and after search I found that this means Internel Server Error 500
Is there any suggestions what may be the reason ??
thanks
Our exchange system here has been setup that any emails older and x weeks are automatically archived.
Once they are when you click on them they are loaded from the archive and then opened.
This makes backing older emails up onto say another drive impossible because when I open them from say home, I'm not connected to the exchange server and thus the email cannot be opened.
Is there a way I can back them up and still have them available?
Hey,
In my asp.net application I create pdf file and save it in App_Data folder on server. Next I want to open this file that user can print it.
How to open this file in browser ? Send it in http header etc ? Someone have some examples?
Please help ;)
I am reading these two articles. However I still do not get --bare option. If the server has no working directory and if a new member of the team clones the project then that person will not get any content.
Any further clarification will help on why --bare is needed.
Hello. At my domains for audit purposes I've got UpdatedOn property.
Now I set it at client before updating to DateTime.Now. But a lot of users have incorrect datetime at theirs machines, so i need use server datetime (getdate(),now()...)
How can i implement this strategy?
Really simple question. I'm on Ubuntu 9.04 (I'm new to Ubuntu) and I can't find the dev server logs for GAE. Could somebody tell me where they are? Googling hasn't returned a result.
When a user clicks a button I need to create a .bmp file on the server. After the .bmp file is created I will load it into the html page. Would Ajax be the best way to accomplish this?