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

.NET (Core and Framework)

 
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 
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 
calhuskerfan wrote:
Here is a very quick (and sloppy) example that reproduces the behavior.


You didn't understand my post. Using SQL Express 2005 with a Table1 designed as your example with the two column primary key constraint.

One row in the table as follows:
Type   Value  Data                                               
------ ------ -------------------------------------------------- 
1      2      ABC                                                


Executing the following SQL
insert into Table1 (Type, Value, Data) VALUES(1, 3, 'ABC ')


Produces this error:

Cannot insert duplicate key row in object 'dbo.Table1' with unique index 'IX_Table1'.


led mike

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 
GeneralRe: Can windows search api be used for searching sql database? Pin
shraddhapingale14-Oct-08 19:12
shraddhapingale14-Oct-08 19:12 
GeneralRe: Can windows search api be used for searching sql database? Pin
Dave Kreskowiak15-Oct-08 1:35
mveDave Kreskowiak15-Oct-08 1:35 
GeneralRe: Can windows search api be used for searching sql database? Pin
shraddhapingale15-Oct-08 1:39
shraddhapingale15-Oct-08 1:39 
GeneralRe: Can windows search api be used for searching sql database? Pin
Dave Kreskowiak15-Oct-08 2:09
mveDave Kreskowiak15-Oct-08 2:09 
QuestionEnterprise Library not Logging the Exception in Production Pin
Member 173223513-Oct-08 20:58
Member 173223513-Oct-08 20:58 
QuestionManifest File Configuration Pin
SNI13-Oct-08 0:11
SNI13-Oct-08 0:11 

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.