Autor Beitrag
mo0n_
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 50

Win7
C#
BeitragVerfasst: Mi 01.02.12 12:21 
Hallo liebes C# Forum,
erneut brauche ich eure Hilfe:

Die Values einer bestimmten, vorher ausgewählten Zeile meiner via bindingsource eingebundene Datenbank (Ansprechpartner)sollen einigen Labels als Text übergeben werden.
Ich möchte keine GridView verwenden.

Kann mir jemand helfen ?

ein Codebeispiel wäre super

Liebe Grüße
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: Mi 01.02.12 13:39 
Das geht ohne Code (wenn du die BindingSource nicht dynamisch erstellst - was üblicherweise Unsinn wäre)

In Designer die Properties des Labels öffnen. Den Databindings Knoten öffnen und bei Text deine BindingSource/Feld auswählen. Fertig.

Für diesen Beitrag haben gedankt: mo0n_
mo0n_ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 50

Win7
C#
BeitragVerfasst: Mi 01.02.12 14:52 
oh man wie einfach -.-