|
hi Rocky#,
Moast of the time i have failed due to lacking in the understanding of Regular Expression. So, i downloaded a software which contains a library of REGEX (Regular Expressions), from that i found REGEX of your need.
\((?<AreaCode>\d{3})\)\s*(?<Number>\d{3}(?:-|\s*)\d{4})
Hope this help you. To download this software free of cost try this link.
http://www.ultrapico.com/Expresso.htm
Make other people to aware of such software.
Thanks & Regards
Dilip Kumar Vishwakarma
|
|
|
|
|
Thanks a lot, thats a lot of help,
Rocky
Success is a ladder which you can't climb with your hands in your pockets.
|
|
|
|
|
Hi all, quite new to asp.net c# programming, i have a mifare reader PCR310U , i need to develop a website which can retrieve information(like card ID) through website using remote mifare reader in remote computer when surfing the website.
for example, i already published my website, when i'm not at the server computer and at my own house, i have a mifare card reader which is connected to my house's PC and a mifare Card, i wish to register the card ID together with my IC number and save into my system website database. can anyone enlighten me on how to go about doing it?i really have no idea how i can retrieve information through mifare reader through the internet website.
if you can help me pls email me.this system quite urgent for me.
thanks alot
tyrone
tyrone_93@Hotmail.com
|
|
|
|
|
Do not post the same message to multiple forums. See the CodeProject Posting Guidelines.
led mike
|
|
|
|
|
Can any one of u know how to open outlook from asp.net , without "mailto:" function , coz i want to send html page with that outlook
|
|
|
|
|
You can construct a mail message and send it using SmtpMail.
MailMessage msg = new MailMessage();<br />
msg.BodyFormat = MailFormatHtml;<br />
msg.Body = "<html><body>Hello</body></html>";<br />
msg.To = "someone@someplace.com";<br />
SmtpMail.Send(msg);
only two letters away from being an asset
|
|
|
|
|
no ! i want to open outlook with the web page that i give !
thnx in advance
|
|
|
|
|
Perhaps you would like to restate your question and explain exactly what you looking for.
only two letters away from being an asset
|
|
|
|
|
You can open a web version of outlook if your exchange server is set up to serve it. Otherwise, no.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I designed a localreport with a number of columns but would like to show or hide columns at runtime using a report parameter which I set through the aspx page. How do I set the column visiblity at design/runtime according to the parameter value?
|
|
|
|
|
Can you use an IIF expression in the visibility property?
|
|
|
|
|
Thanx,
I did the following: In the tableColumn visiblity i managed to add an IIf expression which test the parameter. Thanx again, Corna
|
|
|
|
|
Thanks Corna, but can u give me a sample code as how u are disabling a column, my problem is I don't want to show column when viewing a report, but when exporting it needs to be there as hidden column in EXCEL.
Anshul
|
|
|
|
|
Didn't try/need this before, I will see if I can find something like this.
|
|
|
|
|
Hi,
Do you by any change have an example of how to print a local report. I've tried the msdn example but can't seem to get it working.
Thanx
|
|
|
|
|
following is the coding which works fine in local machine / but after i made host this on server, it shows "Mail sent successfully" but no mails received in my inbox!
can any one solve this problem!
thnx in advance!
Dim mssg As New System.Web.Mail.MailMessage
mssg.BodyFormat = Web.Mail.MailFormat.Html
mssg.To = txtTo.Text
mssg.From = txtFrom.Text
mssg.Subject = txtSubject.Text
mssg.Body = strMessage
System.Web.Mail.SmtpMail.Send(mssg)
|
|
|
|
|
|
You may need to specify a mail server.
|
|
|
|
|
no it works me in local !
|
|
|
|
|
Yep, but on the production server, the default mail setting is probably disabled. You will need an actual server specified to send out your email.
|
|
|
|
|
iam using encryption methods then web.config file connection strings and appsettings are nicely encryptining .but when iam taking the application in the another system and running its is getting problem.how this could be solved.
|
|
|
|
|
It cannot. If it could it wouldn't be encryption but mere scrambling. The key needed to decrypt the file is stored in a key container and is not copied along with the encrypted data.
|
|
|
|
|
whenever i press enter key the form gets refresh ie postback occurs. How can this be avoided.
|
|
|
|
|
Just in case you missed the posting above titled "How to get an answer to your question". Make note of item number 3.
For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
If you are posting source code with your question, place it inside <pre></pre> tags, or click the "Ignore HTML tags in this message" check box.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
To answer the question, use AJAX
only two letters away from being an asset
|
|
|
|
|
There are many ways. One simple way is to add client-side script to handle "onsubmit" and cancel the event. This does not affect programmitcal form submission (ie. calls to form.submit) so asp.net controls still post back as normal, but simply having an INPUT inside the form will not lead to postback when pressing enter.
In the "head" section, include the following script:
<script type="text/javascript">
attachEvent("onsubmit", function
{
event.cancelBubble = true; event.returnValue = false;
});
</script>
|
|
|
|