hi
what is the best way for open connection to database ?
open in form1 - and close and open again in form2 ?
open in form1 as static - and use it for all form's (stay open all the time) ?
after I clossing the connection is it good to do - Connection.dispose() ?
I work on C#, and connect to sqlCE, Windows mobile 2005
thank's in a...
I was wondering, in the new HTML 5, we will get <audio> and <video> tags, but why not native editable combobox and built in local menu support?
The reason I'm asking this is because these are the most common problems I face when I have to design a web solution to a typical table based application (e.g. order management app). On a proper...
Which are your favorite windows forms books/blogs/websites?
(I don't think this is a dup...have checked other related questions)
...
I have a situation here at work. We are redeveloping our basic architecture across the entire company.
Currently we have the following hierarchy;
SQL Database <= Stored Procs not allowed.
nHibernate
Classes to convert nHibernate into our own objects
Web Service <= for all external and [internal] calls.
Class...
I have been using my old upgraded Acer Travelmate 3273 for quite some time now since I started for my current employer. I've been using my own laptop instead of the company's standard machines because they still use Pentium 4 with only 512 MB RAM, and I just can't work on those machines. Slow and doesn't quite work well with my preferre...
I'm curious to know, what is the most abrasive, caustic, abusive but perfectly legal and correct C++ you've ever seen ship out the door?
This question isn't meant to be a C++ bashing session, but a humorous introspection into the world of C++ we allow ourselves (or others) to get away with.
...
Is C# an appropiate language to develop advanced games using XNA?
...
As Mono plans to soon implement ASP.NET MVC, Linq to SQL and other nice .NET stuff, I'm considering to start an open source project based on these technologies.
The problem is, there have been concerns on Mono's future; there is an article by RMS stating that "free software shouldn't depend on Mono or C#".
I've heard many comments, ran...
The question is quite generic. What are the points that should be kept in mind to identify a valid use case? How to approach a use case?
...
My personal opinion is that any programmer should learn (procedural) C/C++. You can only benefit from learning it, even if you don’t use it regularly.
But is it worth programming with OOP in C++? Are there any advantages that you can gain from doing this?
What do you think?
...
I get the impression that Microsoft is putting a significat investment into this framework, conversely I have heard the who's who (who?) of the object relational professionals think it sucks, and I have to agree. I have asked a simple question a while ago and I do not think it is unsolvable, given the commonality of that problem it shoul...
In this question I've called the Delphi runtime source code "open source", simply because it's open. Others disagree with this because Delphi itself is a commercial product. According to Wikipedia, open source must comply to a set of rules.
I've done a quick scan in the Delphi license but can't find a clear note about it's licensing sta...
I have a program (tool for Visual Studio users), but it's kinda immature and I need good feedback of potential users before release. What's the best places for this task?
Any links to active forums/communities would be nice.
...
I'm interested in J2ME programming, and so it would be nice to discuss with other experienced people about issues and ideas during my development process.
Do you know what are the active J2ME forum websites? Forums where J2ME devs visit frequently?
Thank you.
...
Hi all
Will any one please explain me what is server side java script and client side java script
Because i recently heard about livewire javascript is server side and navigator javascript is client side.
kindly any one explain me the difference
Thanks in advance
Fero
...
I recently attempted a large refactoring (yes I know smaller increments and unit testing along the way is preferred) that I just had to walk away from. It's not that I couldn't have done it, but I realized that the time to do it right wasn't justified in the business sense. Normally I am one to tackle refactoring with no fear because of ...
I know some on-line contest for programmers:
Top Coder
Python Challange : to get to the next level you have to write small program in Python which gives you the solution. In each level you have to use different Python library. You proceed to the next level by manipulating the URL in the browser.
Project Euler : write simple program to ...
Can someone describe pros and cons of both methods, and when you prefer one over another?
interface IService
{
object GetSomething();
}
class Service:IService{...}
DI
Container.Register<IService, Service>();
class A
{
public A(IService service)
{
_service = service;
}
}
Global
class Config
{
publi...
In my current company the management does not understand how software development works. You may have heard the quote:
"But why can't we develop this from a
external company? Ferrari does not
produce their screws themselves!"
Which is somewhat correct, but does not apply to Software development.
I am getting tired to explain ...
Hello All,
It's well known fact that static variable cannot be used in
Web Application as it remains static through out application.But,is there any scenario where static variable can be used in Web Application to achieve the functionality?
Thanks
...