Click here to Skip to main content
16,005,236 members
Home / Discussions / C#
   

C#

 
QuestionWindows service Pin
kjosh31-Aug-06 5:08
kjosh31-Aug-06 5:08 
AnswerRe: Windows service Pin
John Petersen31-Aug-06 5:24
John Petersen31-Aug-06 5:24 
AnswerRe: Windows service Pin
scott_hackett31-Aug-06 5:44
scott_hackett31-Aug-06 5:44 
QuestionNDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
sharath nelaturu31-Aug-06 5:02
sharath nelaturu31-Aug-06 5:02 
AnswerRe: NDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
Dave Kreskowiak31-Aug-06 6:00
mveDave Kreskowiak31-Aug-06 6:00 
GeneralRe: NDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
sharath nelaturu31-Aug-06 6:29
sharath nelaturu31-Aug-06 6:29 
AnswerRe: NDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
Glen Harvy31-Aug-06 13:01
Glen Harvy31-Aug-06 13:01 
QuestionAdding new rows with data that has whitespaces to DataTable with unique constraint Pin
Nigor31-Aug-06 4:31
Nigor31-Aug-06 4:31 
I have a simple DataTable with one column, "Column1" of type string that is unique.

Consider that following code:

<br />
            DataRow row = this.dataTable1.NewRow();<br />
            row["Column1"] = "Hello";<br />
            this.dataTable1.Rows.Add(row);<br />
<br />
            row = this.dataTable1.NewRow();<br />
            row["Column1"] = "Hello     ";<br />
            this.dataTable1.Rows.Add(row); // <= raises exception<br />


I will get an exeption saying that column1 is constrained to be unique on the seconde Add(). But as you can see the strings are different. Any way around it?


Thanks!
QuestionLogging onto Exchange server using CDO Pin
dabs31-Aug-06 4:26
dabs31-Aug-06 4:26 
QuestionDiscover Changes in AD User Object? Pin
tombryan31-Aug-06 4:09
tombryan31-Aug-06 4:09 
QuestionDataGridView in C# Pin
peshawarcoder31-Aug-06 4:02
peshawarcoder31-Aug-06 4:02 
AnswerRe: DataGridView in C# Pin
Robert Rohde31-Aug-06 5:12
Robert Rohde31-Aug-06 5:12 
GeneralRe: DataGridView in C# Pin
peshawarcoder31-Aug-06 19:06
peshawarcoder31-Aug-06 19:06 
QuestionRegex.Replace Chr(10) Pin
J Liang31-Aug-06 4:01
J Liang31-Aug-06 4:01 
AnswerRe: Regex.Replace Chr(10) [modified] Pin
John Petersen31-Aug-06 5:14
John Petersen31-Aug-06 5:14 
GeneralRe: Regex.Replace Chr(10) Pin
J Liang31-Aug-06 5:50
J Liang31-Aug-06 5:50 
GeneralRe: Regex.Replace Chr(10) Pin
Guffa31-Aug-06 8:00
Guffa31-Aug-06 8:00 
GeneralRe: Regex.Replace Chr(10) Pin
John Petersen31-Aug-06 22:43
John Petersen31-Aug-06 22:43 
GeneralRe: Regex.Replace Chr(10) Pin
J Liang2-Sep-06 3:12
J Liang2-Sep-06 3:12 
QuestionLocking within a single thread Pin
Dan Neely31-Aug-06 3:55
Dan Neely31-Aug-06 3:55 
AnswerRe: Locking within a single thread Pin
Not Active31-Aug-06 5:06
mentorNot Active31-Aug-06 5:06 
AnswerRe: Locking within a single thread Pin
Nader Elshehabi31-Aug-06 5:14
Nader Elshehabi31-Aug-06 5:14 
GeneralRe: Locking within a single thread Pin
Dan Neely31-Aug-06 5:54
Dan Neely31-Aug-06 5:54 
AnswerRe: Locking within a single thread Pin
mav.northwind31-Aug-06 7:37
mav.northwind31-Aug-06 7:37 
QuestionUsing COM? Pin
Dominik Reichl31-Aug-06 3:20
Dominik Reichl31-Aug-06 3:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.