|
V. wrote: in Oracle this could be Select getdate() from dual
No it isn't - Oracle uses select sysdate from dual. Why would you consider doing this though? If you have a web server, then the application has access to the server time anyway, why on earth would you expect it to make an unnecessary call to a database. Bear in mind that the db connection might need to be created which is an expensive operation and database connections should not be squandered on trivial tasks like this; it it's a high traffic site then this is an unnecessary waste of resources.
Supplying the date in this format should only be used when attempting to perform an operation on the database, e.g. an insert or update.
|
|
|
|
|
I wasn't 100% sure about the select statement, it might very well have been select sysdate from dual;
You can argue about the design, but the concept of taking the database datetime does exist. I never said I was pro or con. If you use more then 1 webserver you also need additional setting up for making sure the time is equal (granted this can be done via time synchro eg).
V.
|
|
|
|
|
Is there a way to change the cursor for every control at once? Or do I have to visit every single control and flip each one individually. I have a stackpanel, but changing the cursor on the stackpanel doesn't affect any of the controls in the stackpanel. The treeview in the stack panel has numerous checkboxes, images and other things. It seems impractical that I have to set the cursor on each control.
Thanks
Brent
|
|
|
|
|
Try using Mouse.OverrideCursor .
|
|
|
|
|
I'm sorry I forgot to mention I'm in Silverlight which apparently doesn't have Mouse.OverrideCursor, unless I'm missing a reference.
Brent
|
|
|
|
|
|
Thanks to your prior post, I had just Googled into that same page when I got your response.
Thanks
Brent
|
|
|
|
|
|
Hi, I am looking for a framework that runs for .NET 3.5 or better for 4.0 that support pluggable gadget system for windows user interface development. I want to develop a main container window application that can load gadgets that I or my team develop. User could manage gadget like google home page..add gadget and set layout. Also there must be interface to talk each gaget with the container static components or other gadgets. Is there a framework that is written open source or paid api?
karanba
|
|
|
|
|
You could always look at using Prism[^] for this.
|
|
|
|
|
You should look into MEF/MAF. Choosing among MAF or MEF is left with you.
http://mef.codeplex.com/
HTH
|
|
|
|
|
Hi ,
We created Prism WPF application.we have to pass some parameters(some information) to modules(they are instantiated by Bootstrapper) from Main method of App.xaml
Thanks in Advance.
Mukesh
|
|
|
|
|
Are you using the Unity container?
You could add your parameter to it.
Another way, though not the best (not recommended but a workaround really), could be to add your parameter to the app.xaml's resources.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Simplest method is to add them to InitParams, then parse out into Application resources in app.xaml
C# has already designed away most of the tedium of C++.
|
|
|
|
|
unable to start debugging. The Silverlight managed debugging package isn't installed
|
|
|
|
|
This is part of the question below. You should continue on that thread, rather than starting a new one off - that is bad practice on the forums.
|
|
|
|
|
i want answer not your suggestion.if you have no answer then don't be a over smart
|
|
|
|
|
awinash kr wrote: i want answer not your suggestion.if you have no answer then don't be a over smart
By ignoring forum etiquette, you decrease the likelihood that people will help you. The more threads you post, the less likely it is that people can form coherent suggestions for you because the correct answer may be partially answered in one thread, but because somebody is looking at the other thread, they don't make the connection that is needed to give you the rest of the information that you need.
Still, if you want to ignore the etiquette that's up to you.
|
|
|
|
|
Hi Awinash,
This is not a proper way to communicate with the forum members. We are here to help and also to learn something new. Please read the forum posting guidelines: http://www.codeproject.com/Messages/3122369/How-to-get-an-answer-to-your-question.aspx[^]. If you are not following those rules and asking questions in multiple threads nobody will eager to answer your query if they see multiple thread of the same post. Again, please respect to others. In any forums we hate insulting others.
Don't forget to Click on [Vote] and [Good Answer] on the posts that helped you.
Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets | Silverlight Tutorial
|
|
|
|
|
Stop being a dick. He's trying to help you make better use of the site.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
awinash kr wrote: then don't be a over smart
Some very good programmers are trying to help you here.
I would really really recommend being a little polite to them or else no one will even try to help you in the future.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
modified on Saturday, August 28, 2010 4:03 AM
|
|
|
|
|
awinash kr wrote: i want answer not your suggestion.if you have no answer then don't be a over smart
I really think you should take a look at this forum:
http://www.codeproject.com/Forums/1580229/General-Indian-Topics.aspx[^]
There are aspects in your forum behavior that definitely need to be polished up. That forum will (in my opinion) help you do that.
|
|
|
|
|
how to run silverlight web application project
|
|
|
|
|
See here[^].
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
i am install sdk but when i debug then error comes debuger of silverlight is not install
|
|
|
|