It is an easy question and it's something that I can do easily.
Anyway, I'd like to know
Is there a function to remove white spaces on a string?
leaving just 1 space
Something like this
"Hello World!" -> "Hello World!"
Using the trim function removes the beginning and ending spaces, but Id...
I Have an MDI App and I want that every child window have a modal window but this windows should be modal just to the window that creted.
How can I do this?
Any Ideas?
I have a MDI App, with some child forms.
This chil forms shows some modal windows, but I want the shown window be modal just to the ChildMDIwindow (the caller) and not all the APP.
I tried this, but it doesn't work
using (FormMyModalWin formMyModalWin = new FormMyModalWin())
{...
I'm using report viewer and a local report to print some tickets, the problem is that I don't know what size the ticket is going to be.
If I put a large fixed size, all tickets are large, even with a small amount of data.
I' using an Epson TM 950 printer.
How can I set my report to be...
A good programming technique is not to leave a static connection string, because it could be modified dynamically, and this way we void re-compile the code with the new string.
The problem merge when we use some wizards, the components ask for a connection and it should be done in a static way...
In fact I have a lot of problems printing.
What I want is to have some reports like normally we do, but what if I have to change the data source (DATABASE name)?.
I want to do the reports and chage the source dinamically.
Isn't the best way not to have a static connection string?
I have...
I think this is an easy question.
In my table dates are in smalldatetime type, also it includes time values.
Like this
01/02/2006 11:30:00 p.m.
but when I construct the query like this
...
where Table.Date = myDate
my date only contains the date part (01/02/2006) and the result set is an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.