all groups > c# > april 2007 > threads for sunday april 29
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
How to remove comments from SQL string
Posted by Andrus at 4/29/2007 11:24:11 PM
I have SQL strings which contain comments starting with -- and continuing to
end of line like
string mystring=@"SELECT data, -- ending comment
-- line comment
FROM mytable
";
How to remove comment from those strings ?
I need to delete charactes starting from -- and end... more >>
how to use ado.net to manage a dynamic database?
Posted by gobis at 4/29/2007 10:52:21 PM
Hello all,
I am working on a csharp database application that should give its end
users the ability to create new tables related to existing ones or
even create the database structure completely on their own.
I know how to do that by creating a DataSet object and adding tables
and relations... more >>
Newbie needs help with ThreadPool
Posted by Raymond Du at 4/29/2007 9:01:32 PM
Hi,
This is my first mutiple threading progam, I have an AST.Net page
zThreadPool.aspx which has one button: button1 and one Label: label1. The
following code snippet does not work at all:
public partial class zThreadPool : System.Web.UI.Page
{
void CallbackProc(object obj1)
{
... more >>
[OT] - Svn Multiple Repositories on Windows
Posted by Diego Jancic at 4/29/2007 7:48:34 PM
Hello everyone!,
I installed SVN Server on Windows a few weeks ago using SVN-1-
ClickSetup, and I realized that all the files in all the projects have
the same version.
My dir structure is something like this:
- svn://server/
- Project_1
- trunk
- (some files)... more >>
Drawing system architecture
Posted by Bllich at 4/29/2007 3:30:56 PM
Hi,
what program should I use to draw these kind of graphics easy?
http://tinyurl.com/2vy4oe
--
If a "7–11" is open 24 hours a day, 365 days a year, why are there locks on
the door?
—Nick Featherman... more >>
Orcas beta issues
Posted by DeveloperX at 4/29/2007 3:07:00 PM
Hi, I've just downloaded the Orcas Express beta and it bombs on the
first step (installing the 3.5 framework). It doesn't give me a
specific error, it just calls home, tail between its legs :(
I've tried the following:
reburnt the image.
disabled AV.
Haven't got as far as "Profit"...
An... more >>
Identify Underlying OS Platform?
Posted by Mahmoud Al-Qudsi at 4/29/2007 1:40:07 PM
Hello,
I'm trying to identify whether my C# .NET 2.0 application is running
on a Windows x64 or x86 version.
I'm trying to avoid checking the version numbers because this will
have to work on Vista too, which shares identical build numbers for
x64 and x86.
I'm currently using this:
if... more >>
Interface & Event
Posted by hufaunder NO[at]SPAM yahoo.com at 4/29/2007 1:25:23 PM
I have an interface ITest that includes an event TestStatusChange.
There is also a class Test that implements ITest. In one of the
functions of Test I want to call the event (see code at the end) but
get the following error:
"The event 'eventTest.Test.TestStatusChanged' can only appear on the
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Adding two doubles gives incorrect result?
Posted by Fabio at 4/29/2007 1:30:00 AM
Hi
Looking at the following code ...
double a = 100.1;
double b = 0.1;
double c = a + b;
I would like to know why the value of c is 100.19999999999999 and not 100.2?
What should I do to correct this.
Thanks.
... more >>
|