Click here to Skip to main content
15,914,109 members
Home / Discussions / C#
   

C#

 
AnswerRe: Change background color of an image Pin
Guffa26-Jan-09 14:03
Guffa26-Jan-09 14:03 
GeneralRe: Change background color of an image Pin
Xmen Real 26-Jan-09 14:52
professional Xmen Real 26-Jan-09 14:52 
GeneralRe: Change background color of an image Pin
Guffa26-Jan-09 19:39
Guffa26-Jan-09 19:39 
GeneralRe: Change background color of an image [modified] Pin
Xmen Real 26-Jan-09 22:09
professional Xmen Real 26-Jan-09 22:09 
AnswerRe: Change background color of an image Pin
PandemoniumPasha26-Jan-09 19:33
PandemoniumPasha26-Jan-09 19:33 
GeneralRe: Change background color of an image Pin
Xmen Real 26-Jan-09 21:57
professional Xmen Real 26-Jan-09 21:57 
QuestionDataRows with no primary key, and listbox items Pin
Lodeclaw26-Jan-09 13:27
Lodeclaw26-Jan-09 13:27 
AnswerRe: DataRows with no primary key, and listbox items Pin
Wendelius27-Jan-09 3:34
mentorWendelius27-Jan-09 3:34 
Lodeclaw wrote:
I'm writing that involves creating new rows in a table that has no primary key and two foreign keys


Isn't there any natural key present? Also could you create a key column in your datatable and let the datatable to generate a unique value to it?

Lodeclaw wrote:
followed up by a number of similar new rows in the same listbox


How do you recognize similarity?

Lodeclaw wrote:
I'm also not sure then how to associate the datarow with it's respective item in the listbox


If I understood correctly your problem in this, you would use ValueMember[^] definition in your binding.

Lodeclaw wrote:
use it to delete the row it's associated with from the datatable


When the listbox is binded to the datatable, you would actually delete the row from the datatable. The listbox reflects the changes in your datatable.

The need to optimize rises from a bad design.My articles[^]

Questionswitch on computer Pin
eMOx26-Jan-09 11:11
eMOx26-Jan-09 11:11 
AnswerRe: switch on computer Pin
User 665826-Jan-09 11:13
User 665826-Jan-09 11:13 
AnswerRe: switch on computer Pin
Thomas Stockwell26-Jan-09 11:18
professionalThomas Stockwell26-Jan-09 11:18 
GeneralRe: switch on computer Pin
Garth J Lancaster26-Jan-09 11:25
professionalGarth J Lancaster26-Jan-09 11:25 
AnswerRe: switch on computer Pin
Garth J Lancaster26-Jan-09 11:22
professionalGarth J Lancaster26-Jan-09 11:22 
GeneralRe: switch on computer Pin
Mark Churchill26-Jan-09 12:57
Mark Churchill26-Jan-09 12:57 
AnswerRe: switch on computer Pin
Drew Stainton26-Jan-09 15:42
Drew Stainton26-Jan-09 15:42 
GeneralRe: switch on computer Pin
PIEBALDconsult26-Jan-09 18:06
mvePIEBALDconsult26-Jan-09 18:06 
GeneralRe: switch on computer Pin
Drew Stainton26-Jan-09 18:14
Drew Stainton26-Jan-09 18:14 
QuestionC# and SQL Part 2: Attack of the "Login Failed For (thiscomputer)/Guest"! Pin
Michael Fritzius26-Jan-09 10:57
professionalMichael Fritzius26-Jan-09 10:57 
AnswerRe: C# and SQL Part 2: Attack of the "Login Failed For (thiscomputer)/Guest"! [modified] Pin
Wendelius26-Jan-09 11:16
mentorWendelius26-Jan-09 11:16 
GeneralRe: C# and SQL Part 2: Attack of the "Login Failed For (thiscomputer)/Guest"! Pin
Michael Fritzius26-Jan-09 12:29
professionalMichael Fritzius26-Jan-09 12:29 
GeneralRe: C# and SQL Part 2: Attack of the "Login Failed For (thiscomputer)/Guest"! Pin
Wendelius26-Jan-09 18:24
mentorWendelius26-Jan-09 18:24 
GeneralRe: C# and SQL Part 2: Attack of the "Login Failed For (thiscomputer)/Guest"! Pin
Michael Fritzius1-Feb-09 12:41
professionalMichael Fritzius1-Feb-09 12:41 
GeneralRe: C# and SQL Part 2: Attack of the "Login Failed For (thiscomputer)/Guest"! Pin
Wendelius2-Feb-09 6:25
mentorWendelius2-Feb-09 6:25 
GeneralRe: C# and SQL Part 2: Attack of the "Login Failed For (thiscomputer)/Guest"! Pin
Michael Fritzius2-Feb-09 15:30
professionalMichael Fritzius2-Feb-09 15:30 
QuestionMessengerAPI Pin
shopi3026-Jan-09 10:12
shopi3026-Jan-09 10:12 

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.