|
I want a million dollars and the letter M stricken from the English language. Who is going to get their wish first?
I know the language. I've read a book. - _Madmatt
"The OP herself was not sure about her question"
"The OP is from India and I know what she meant."
|
|
|
|
|
Mark Nischalke wrote: and the letter M stricken from the English language
I'm just being curious, but what's so great about having Ark as a first name?
A still living curious cat!
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
|
|
|
|
|
Old joke from Steve Martin, or Steve Artin.
"I have some hostages, and they are tied up in a sack at the top of a flag pole. I'm going to blow them up at midnight, unless I get these three demands: ONE! I want a million dollars! TWO: I want a getaway car waiting for me! and THREE: I want the letter M stricken from the English language. See, you have to make one crazy demand, so if they catch you, you can plead insanity. Heh, heh, getaway car."
I know the language. I've read a book. - _Madmatt
"The OP herself was not sure about her question"
"The OP is from India and I know what she meant."
|
|
|
|
|
Mark Nischalke wrote: See, you have to make one crazy demand, so if they catch you, you can plead
insanity. Heh, heh, getaway car."
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
OP seems not amused at all. Countered! 5+
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
|
|
|
|
|
Thank Manfred...
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
Univote countered
OP was not amused!
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
|
|
|
|
|
Manfred R. Bihy wrote: OP was not amused!
Or just doesn't like Steve Martin. He is rather old and outdated now.
No comment
|
|
|
|
|
So if I understood your explanation further down the thread correctly you missed an important addition:
Mark Nischalke wrote: I want a million dollars and the letter M stricken from the English language. Heh heh, one million dollars.
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
|
|
|
|
|
Getting a million dollars is easy. Create a .99 iPhone App, there are at least 2 million (Steve Jobs needs his cut) stupid iPhone users who will buy it.
No comment
|
|
|
|
|
Hi,
I have a web form that allows users to upload files while opening a ticket in our system.
The upload is done using the "ajax control toolkit" asyncFileUpload.
Currently, the files are saved to a temp directory and will only be save to the permanent location when the user hits the "commit" button.
I would like to be able to get rid of temp files that are no longer relevant (e.g. The user leaves the page open for a month without posting the form).
What would be the best way to not keep temp files forever.
Maybe keeping them files in the session?
Maybe keeping them in the viewstate?
I could add some JS to the page with a timeout and add some code that runs when the user leaves the page. But these ideas are client side solutions. I wouldn't want someone to tamper with the code and leave me rubbish on my system.
Any other idea?
Thanks,
Summerbulb
|
|
|
|
|
Service/scheduled task on the server that will delete files older than X?
|
|
|
|
|
How about placing the cleanup code in the same area as where the user is allowed to upload his files temporarily.
Something like:
1) User wants to upload file.
2) check for any files that are older than "X" days and delete them
3) Continue with the upload logic
This eliminates the need for creating a separate task that would run as a service or scheduled task.
Just a thought.
|
|
|
|
|
Hi ,
I have an application that will collect data from user (entering time sheet data)
so the status of Time sheet can be any of the following
1. Open
2. Saved
3. submited
4. Under Review
5. Approvred.
6. Reject
I am displaying a report on this data. Consider a case where user daily saving his time sheet but not submitting.
My report will be like below
Userid Date Status.
111 Date1 Open
111 Date1 Saved
111 Date1 Saved
111 Date2 Saved
111 Date3 Saved
111 Date4 Submitted
111 Date5 Under Review
111 Date6 Under Review
111 Date7 Under Review
111 Date7 Reject
111 Date7 Saved
111 Date7 Saved
111 Date7 submit
:
:
Above are actual events done on the user time sheet . It looks like that duplicate data saved but it is displaying all the events.
My requirement is to delete duplicate records if the current and previous records are having the same status .
I can do his by looping through all the records using "for" by cecking previous and curent satus.
But i want this is to be done in diffrent way, Can anyone suggest if we can use LINQ for this, if so please suggest me.
Thanks,
|
|
|
|
|
You don't need LINQ to do this, and it would really be unsuitable for the task. Plain SQL should do the trick. This[^] article might help.
"Don't confuse experts with facts" - Eric_V
|
|
|
|
|
So you want an explaination as to why this was marked as a bad answer?
The OP asked
salmonraju wrote: Can anyone suggest if we can use LINQ for this
and you reponded
Shameel wrote: You don't need LINQ to do this
The question wasn't whether or not they needed LINQ for this is was IF it were possible to use LINQ. A bad answer since it did not answer the question that was posed.
Shameel wrote: Plain SQL should do the trick.
The OP made no mention of how the data was being stored. Perhaps it was an in-memory datastore, an XML file, a flat file, etc. A bad answer since it made an unjustified assumption rather than ask for clarification.
Now you have your explanation. You will no doubt disagree, that's you up to you.
Now, leave it alone, go way, grow a thicker skin. Everyone else does not need to be subjected to your paranoia and sense of being pursecuted.
I know the language. I've read a book. - _Madmatt
"The OP herself was not sure about her question"
"The OP is from India and I know what she meant." - Shameel
modified on Tuesday, August 23, 2011 9:10 AM
|
|
|
|
|
Mark Nischalke wrote: The question wasn't whether or not they needed LINQ for this is was IF it were possible to use LINQ.
IMO, a good professional is one who provides the best way to complete a task, not just what the OP asks for, and that is what I did. If there is problem with it, let the OP speak out, there's no need for you to keep pestering everyone here.
Mark Nischalke wrote:
The OP made no mention of how the data was being stored. Perhaps it was an in-memory datastore, an XML file, a flat file, etc. A bad answer since it made an unjustified assumption rather than ask for clarification. To light up your short lived memory, you have a problem with asking for clarification too. Here's an example[^].
So it doesn't matter what I do, you need a reason to downvote me and you see an opportunity to do it in everything I post. I have no problem with it if that gives you satisfaction. Only a minion would do it and you never fail to prove that you are one.
Mark Nischalke wrote: Now, leave it alone, go way, grow a thicker skin. Everyone else does not need to be subjected to your paranoia and sense of being pursecuted.
I did not litter your posts, it's the other way round, you came here uninvited and probably you should go away.
"Don't confuse experts with facts" - Eric_V
|
|
|
|
|
Mark Nischalke wrote: sense of being pursecuted.
It's either:
persecuted: Human english
or
purrsecuted: English transliteration of cat talk (I haven't yet come up with a witty translation of what a cat would try to express by this word)
Cheers!
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
|
|
|
|
|
You may be able to use linq but since you haven't indicated how or where this data is stored we can't give you a specific answer. With linq you can do joins and self joins that may be sufficient for you.
I know the language. I've read a book. - _Madmatt
"The OP herself was not sure about her question"
"The OP is from India and I know what she meant." - Shameel
|
|
|
|
|
Hello everybody!
I'm working on an asp.net 4 project in which I'm using a jquery plugin for displayig bubble popups on mouse over on certain elements. I started facing a problem with the borders of the plugin not displaying, and now after a while trying to figure what was wrong, I've narrowed the issue to the background images that are set as inline styles on the border elements not being displayed.
I tried somethning more simple like,
<pre lang="HTML"><span style="background-image:url(top-left.jpg);">testing</span></pre>
and voila! doesn't work. It's easier to solve it now i think but it's freaking weird.
The image exists and the span is displayed but no image on the background. I tried an empty HTML file with just that same code
<pre lang="HTML"><html>
<head>
<title>jQuery Bubble Popup - How to make a selectable Bubble Popup when mouse is overy</title>
</head>
<body>
<span style="background-image:url(top-left.jpg);">testing</span>
</body>
</html></pre>
and here the image is displayed! Both pages at the same level and with exactly the same code for the span element, the only diference is that the real page is an aspx and has a lot more content.
Also when i look in Firebug and roll the mouse over the image on the styles panel to the right, the preview of the image is shown for the test file, but when i do it on real page, then it says that it can't find the image.
Any ideas? Any help will be highly appreciated since I've been stuck on this for quite a while.
Thanks so much in advance,
/Kenia
|
|
|
|
|
Agree it's really a weird issue. I think some additional code in your aspx page might blocked this thing.
Try the simple case. Just convert the HTML file into aspx page(Copy the HTML page content & create new aspx page & paste it) & run. Now what's the output...
thatraja
My Tip/Tricks My Dad had a Heart Attack on this day so don't...
All these are my opinions. Different people. different way of thinking. I am no one to judge others - Chandru
|
|
|
|
|
Hello and thanks for your reply.
I did what you suggested and when i convert the HTML file to .aspx without a master page the image is displayed, however if I use the master page used on the project and inherit from the project template page then the issue comes up again. So I've reposted this on a different forum, 'cause this is actually an EpiServer (http://www.episerver.com/[^]) project, and there's clearly some conflict with something else...but i really have no idea what it might be.
It was a good tip you gave me, thanks!
/Kenia
Kenia
|
|
|
|
|
Sir/Madam Please check out on other browers because some browers does not support the background image.
Thanks
|
|
|
|
|
This really works for me,
<html lang="en">
<head>
<title></title>
</head>
<body>
testing
</body>
</html>
|
|
|
|
|
Try specifying width and height for your span . I had the same problem with a webpage and this worked for me.
Alternatively, you can replace the span with a div and see if it works.
|
|
|
|