🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.pl.comp.lang.csharp
1 messages
1 total messages Started by qazvox Tue, 29 Jan 2013 14:46
[datagridview, bindingsource i tableadapter - jak to dziala ?]
#22466
Author: qazvox
Date: Tue, 29 Jan 2013 14:46
15 lines
1399 bytes
Mam Xdatagridview zbindowany (Xbindingsource) z Xtableadapter

grid ma dwie kolumny cA i cB odpowidające field'om  fA i fB w adapterze, 
teraz potrzebuję znaleźć  kod_unikalny  umieszczony w fC

robię:
foreach( Datarow dr in this.dataset.Xtable.Rows )
if ( (int)dr["kod_unikalny"] == mój_kod )
{
// no i co tu zrobić, by znaleźć się w odpowiednim miejscu grida ?
}

Sposób jaki "wynalazłem" mocno mi się nie podoba

pzdr qaz 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads