Search:
Type: Posts; User: sknake
Search:
Search took 0.02 seconds.
-
July 21st, 2009, 06:55 AM
If you can get ahold of the assembly where the types are defined you could load them but this is not ideal and I do not recommend it. You can rename the Service.exe to Service.dll and add it as a...
-
July 21st, 2009, 06:50 AM
BACKUP DATABASE [DataBaseName] TO DISK = 'C:\Program Files\...\db.bak' WITH INIT , NOUNLOAD , NAME = N'DataBaseName backup', NOSKIP , STATS = 10, NOFORMAT
-
July 19th, 2009, 07:42 AM
I agree with Scott on this -- it is hard to recommend a good approach without understanding what you mean.
To implement encryption you should take a look at: System.Security.Cryptography.Rijndael
-
July 19th, 2009, 07:40 AM
Isn't this the same question you asked in http://www.codeguru.com/forum/showthread.php?t=481058 ?
-
July 19th, 2009, 07:39 AM
I have done something similar:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucAllergyGroup.ascx.cs" Inherits="OnTheRoadMd.Web.ctrls.ucAllergyGroup" %>
<label><span...
-
July 19th, 2009, 07:35 AM
If you declare an instance of a class inside of a thread then it is thread safe. It might not be thread safe if you call it from ANOTHER class but from what you said that doesn't appear to be the...
-
July 19th, 2009, 07:31 AM
Try using this approach:
private void button2_Click(object sender, EventArgs e)
{
string connStr = BuildSqlNativeConnStr("apex2006sql", "Leather");
const string query =...
-
July 19th, 2009, 07:28 AM
Create a new installer with new installation paths, product names, etc so nothing conflicts on the filesystem then run the second installer. On the installer you have a "ProductCode" property that...
-
July 19th, 2009, 07:26 AM
What do you mean by "it doesnt work right"?
-
July 17th, 2009, 07:54 AM
Why don't you fire visual studio up and attach a debugger to it and see what is going on? Also depending on how you have written your service you should split it out to a command or form application...
-
July 17th, 2009, 07:51 AM
It seems I answered this question yesterday on another forum. Don't you love cross posters? :(
-
July 17th, 2009, 07:50 AM
You also have a few more colors defined in the SystemColors for form display colors. I hope that helps.
-
July 16th, 2009, 08:05 AM
I wanted to create a thread to see what the options are
-
July 16th, 2009, 08:02 AM
Why don't you open the Excel sheet with an OleDbConnection and query with an OleDbCommand instead of doing excel automation? Since you obviously want to use this in a dataset you could load the data...
-
July 16th, 2009, 07:58 AM
1) Yes. It is a matter of convenience and readability for calling the methods. Some people don't like to use lambda operators and might favor the former.
2) As far as I know you have to call...
-
July 16th, 2009, 07:53 AM
You can also use string.Format()
string.Format("Value: {0:F4}", unitPrice);
-
July 16th, 2009, 07:49 AM
It is a matter of preference -- I don't know that one is better than the other. I would recommend C#.
-
February 14th, 2009, 05:17 PM
DateTime maps to SQL's datetime, but the valid range is different. To initialize a DateTime with the minimum value use:
System.Data.SqlTypes.SqlDateTime.MinValue.Value
|
Click Here to Expand Forum to Full Width
|