Click here to Skip to main content
15,902,447 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Using reflection modify List type class member... Pin
chandrap16-Oct-08 4:24
chandrap16-Oct-08 4:24 
AnswerRe: Using reflection modify List type class member... Pin
led mike16-Oct-08 4:41
led mike16-Oct-08 4:41 
GeneralRe: Using reflection modify List type class member... Pin
chandrap16-Oct-08 4:50
chandrap16-Oct-08 4:50 
QuestionRe: Using reflection modify List type class member... Pin
led mike16-Oct-08 5:34
led mike16-Oct-08 5:34 
AnswerUsing reflection modify Generic type List<int> class member...</int> Pin
chandrap16-Oct-08 5:49
chandrap16-Oct-08 5:49 
QuestionSimulation in c# Pin
Sareh khanoom15-Oct-08 5:59
Sareh khanoom15-Oct-08 5:59 
AnswerRe: Simulation in c# Pin
Dave Kreskowiak15-Oct-08 7:08
mveDave Kreskowiak15-Oct-08 7:08 
QuestionDataTable PrimaryKey problem Pin
calhuskerfan14-Oct-08 11:54
calhuskerfan14-Oct-08 11:54 
I have a database which has a unique primary key defined key on two columns, in the example below the columns are type and data.

typevaluedata
90'ABC'
90'ABC '

When I read in a datatable and then set the PrimaryKey collection with the designated columns I get an exception saying that 'These columns don't currently have unique values'.

So, to me it appears that ADO is ignoring the spaces with respect to determining uniqueness (although the whitespace appears in the rows collection).

I started looking into the DataTable and DataColumn object to see if there was anything that jumped out, but nothing so far.

Can anyone confirm this behavior and/or offer any assistance?

Thanks!
AnswerRe: DataTable PrimaryKey problem Pin
led mike15-Oct-08 5:01
led mike15-Oct-08 5:01 
GeneralRe: DataTable PrimaryKey problem Pin
calhuskerfan15-Oct-08 9:17
calhuskerfan15-Oct-08 9:17 
QuestionRe: DataTable PrimaryKey problem Pin
led mike15-Oct-08 9:58
led mike15-Oct-08 9:58 
AnswerRe: DataTable PrimaryKey problem Pin
calhuskerfan15-Oct-08 10:03
calhuskerfan15-Oct-08 10:03 
AnswerRe: DataTable PrimaryKey problem Pin
calhuskerfan15-Oct-08 10:17
calhuskerfan15-Oct-08 10:17 
GeneralRe: DataTable PrimaryKey problem Pin
led mike15-Oct-08 10:49
led mike15-Oct-08 10:49 
GeneralRe: DataTable PrimaryKey problem Pin
Wendelius15-Oct-08 11:18
mentorWendelius15-Oct-08 11:18 
QuestionVisual c++ runtime error on only framework installed machine Pin
balu1234514-Oct-08 7:19
balu1234514-Oct-08 7:19 
Answer[Cross Post]Re: Visual c++ runtime error on only framework installed machine [modified] Pin
Scott Dorman14-Oct-08 8:27
professionalScott Dorman14-Oct-08 8:27 
GeneralRe: [Cross Post]Re: Visual c++ runtime error on only framework installed machine Pin
Mark Salsbery14-Oct-08 8:32
Mark Salsbery14-Oct-08 8:32 
GeneralRe: [Cross Post]Re: Visual c++ runtime error on only framework installed machine Pin
Scott Dorman14-Oct-08 8:38
professionalScott Dorman14-Oct-08 8:38 
QuestionDifferent exception handling behavior with and without debugger attached Pin
jpsstavares14-Oct-08 5:37
jpsstavares14-Oct-08 5:37 
QuestionRe: Different exception handling behavior with and without debugger attached Pin
jpsstavares14-Oct-08 23:40
jpsstavares14-Oct-08 23:40 
Question[Content_Types].xml in System.IO.Packaging.ZipPackage Pin
Chapooki14-Oct-08 3:59
Chapooki14-Oct-08 3:59 
AnswerRe: [Content_Types].xml in System.IO.Packaging.ZipPackage Pin
ramanakanthkv20-Oct-10 1:41
ramanakanthkv20-Oct-10 1:41 
QuestionCan windows search api be used for searching sql database? Pin
shraddhapingale14-Oct-08 2:03
shraddhapingale14-Oct-08 2:03 
AnswerRe: Can windows search api be used for searching sql database? Pin
Dave Kreskowiak14-Oct-08 3:58
mveDave Kreskowiak14-Oct-08 3:58 

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.