|
i work in project data from our site to customers
but i need to do something
i don't wan't that data to be send as regaul string
i want it to apperat inside table
i send customers offer price
so i want to be easy to read
some thing like that
Serial ProductName Quantity Price
i want my data to dir in that structure in email sent to customers
md_refay
|
|
|
|
|
|
Well, you could send an HTML format email and build up an html table that way.
|
|
|
|
|
I hope this can be done ease by using the Net::mail function in the perl..
try it out
GDinesh
|
|
|
|
|
Hi,
I have a DateTime object, and my code correctly sets the year/month and day from a DateTime picker controll on my form.
When I return the object and use .ToString, I get the following output:
19/08/2011 00:00:00
Now, I am not using or setting the time, so it is always 00:00:00.
My question is how do I remove this time part from the string?
1) Is there a method from the DateTime object to do this, or,
2) Do I need to do this once I convert to string, and if so how?
Thank you in advance,
Regards,
Stephen
**EDIT Found out. .ToString(format code) **
modified on Friday, August 19, 2011 8:00 AM
|
|
|
|
|
Call
ToString("MM/dd/yyyy")
|
|
|
|
|
loyal ginger wrote: Call
ToString("MM/dd/yyyy")
ToString("dd/MM/yyyy")
is better in his case I think.
V.
|
|
|
|
|
Considering the subject line he probably wants
ToString("yyyy/MM/dd")
|
|
|
|
|
You could also use the short date format specifier:
ToString("d")
|
|
|
|
|
|
|
Very nice tip, bookmarked
|
|
|
|
|
.ToShortDateString() is also an options
|
|
|
|
|
I'm developing an application in silverlight. I want to convert files of .msg format to image format like jpeg/jpg in order to be viewable for preview.
Is there any best way to do this conversion in seconds.
Any good links to start with..
|
|
|
|
|
AFAIK, .msg files are email messages. Do you want an image representation of the email message?
EDIT: Anyone care to own up and explain the downvote?
"Don't confuse experts with facts" - Eric_V
modified on Friday, August 19, 2011 3:27 PM
|
|
|
|
|
Shameel wrote: Do you want an image representation of the email message?
Bloody brilliant that!
Did you infer it from the statement
Tanuja123 wrote: I want to convert files of .msg format to image format like jpeg/jpg
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: Did you infer it from the statement
Yes, there is no other "conversion" from email message to image.
"Don't confuse experts with facts" - Eric_V
|
|
|
|
|
Mark Nischalke wrote: Did you infer it from the statement And what, pray tell, is the point of my pointing out that you are pointing out the obviousness of pointing out the obvious ?
Bill
"In the River of Delights, Panic has not failed me." Jorge Luis Borges
|
|
|
|
|
Past history with this user posting incorrect solutions by inferring the meaning behind an OPs post. In this case he isn't asking for clarification, jut stating the obvious.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: Past history with this user posting incorrect solutions by inferring the meaning behind an OPs post.
I don't see any problem with inferring when the question is not clear. I just provided alternative solutions based on my best understanding of the question. If it sounds incorrect to you, it's your perception.
Mark Nischalke wrote: In this case he isn't asking for clarification, jut stating the obvious.
The OP herself was not sure about her question. It is very much possible that she mistook .msg extension to be an image format like .jpeg, getting it clarified is not a sin.
If you have problem both with inferring meaning as well as asking for clarification, I cannot help it. There are cultural differences between native English speakers and those who speak English as a second language. Being a native English speaker yourself, it is difficult for you to understand this difference.
"Don't confuse experts with facts" - Eric_V
|
|
|
|
|
How arrogant of you to automatically assume the the OP was confused.
How arrogant of you to automatically assume I am a native English speaker.
How arrogant of you to automatically assume I have no experience with multiple cultures.
You would do best to leave your arrogance on the desk, not in the keyboard and refrain from such assumptions. If you have a problem with that you can just as easily not respond or go somewhere else.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: How arrogant of you to automatically assume the the OP was confused.
There is no arrogance here, only cultural difference. (which you can never understand as you have demonstrated here)
Mark Nischalke wrote: You would do best to leave your arrogance on the desk, not in the keyboard and refrain from such assumptions. If you have a problem with that you can just as easily not respond or go somewhere else.
People who follow these posts can easily understand who is arrogant.
Atleast, I am not arrogant to the level where I downvote rival answers to make sure my answer shows on the top and to ridicule and insult other answerers.
"Don't confuse experts with facts" - Eric_V
|
|
|
|
|
Shameel wrote: I downvote rival answers
Ahww, are your feelings hurt. You get what is deserved and in case you haven't noticed, there are over 8 million users here.
ri·val [rahy-vuhl] Show IPA noun, adjective, verb, -valed, -val·ing or ( especially British ) -valled, -val·ling.
noun
1.
a person who is competing for the same object or goal as another, or who tries to equal or outdo another; competitor.
2.
a person or thing that is in a position to dispute another's preeminence or superiority: a stadium without a rival.
We are not competing for anything and you are not even close to being superior in anything.
ar·ro·gant
[ar-uh-guhnt]
–adjective
1.
making claims or pretensions to superior importance or rights; overbearingly assuming; insolently proud
You are the one making claims to know what people are asking and to automatically assume things, like their native language and culture, with nothing more than a screen name.
Now, once again, this could go on indefinitely and you could continue to show your ignorance and arrogance, but you are really just a passing annoyance, like a junior developer who has no practical experience.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: We are not competing for anything and you are not even close to being superior in anything.
I did not try to exert my superiority, you did and it is evident from your behavior and your comments. (And don't tell me you don't downvote and ridicule rival answers).
Mark Nischalke wrote: You are the one making claims to know what people are asking and to automatically assume things
The OP is from India and I know what she meant. Was it possible for you to know it was "her" and not "he"? It was possible for me because of the same culture. (Not because of my superiority as you claim)
Mark Nischalke wrote: but you are really just a passing annoyance, like a junior developer who has no practical experience.
How did you assume this? And if you can assume something, why can't I? Why do you have a problem then? Again it's nothing but a blatant and shameless display of your superiority complex.
"Don't confuse experts with facts" - Eric_V
|
|
|
|
|
Shameel wrote:
The OP is from India and I know what she meant
Thats a bold assumption IMHO.
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|