πŸš€ 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 zurek Tue, 27 Apr 2004 17:45
asp.net jak dane z databindera podac dalej
#1011
Author: zurek
Date: Tue, 27 Apr 2004 17:45
15 lines
1569 bytes
weic dajmy ze mam taki przyklad, mam w bazie takie pole w ktorym przechowuje
styringi w foramcie "%p1 faulowal %p2" gdzie %p1 zamieniam pozniej trescia z
pola obok i analogicznie z %p2. Reraz gdy robie wyswietlenie rekordow
wszystkich tabeli musze jakas funkcje pozamieniac %p1 i %p2 na jakies
stringi. JaK to zrobic?
probowalem rοΏ½ne sposoby np ten:

<asp:repeater .itd, wczesniej binduje tez dane...
<itemtemplate...
<TR><TD>
<%=generujTekst(DataBinder.Eval(Container.DataItem,"formatTekstu"),DataBinde
r.Eval(Container.DataItem,"p1"),DataBinder.Eval(Container.DataItem,"p2"))%>
</TD><TR>
</itemtemplate...
i nie dziala. Jak moge dane z bindera podac do jakiejs funkcji?
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