Das ist freitags immer so. 

> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im Auftrag von 
> [EMAIL PROTECTED]
> Gesendet: Freitag, 22. April 2005 15:29
> An: [email protected]
> Betreff: [Asp.net] AW: Asp.net digest, Vol 1 #1685 - 18 msgs
> 
> Warum zeigt mein outlook die mails immer so komisch an, z.b. 
> so: "3. =?iso-8859-1?Q?WebService_hinzuf=FCgen=3F?=" 
> 
> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im Auftrag von 
> [EMAIL PROTECTED]
> Gesendet: Freitag, 22. April 2005 10:04
> An: [email protected]
> Betreff: Asp.net digest, Vol 1 #1685 - 18 msgs
> 
> Send Asp.net mailing list submissions to
>       [email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://www.glengamoi.com/mailman/listinfo/asp.net
> or, via email, send a message with subject or body 'help' to
>       [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
>       [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it is more 
> specific than "Re: Contents of Asp.net digest..."
> 
> 
> Today's Topics:
> 
>    1. RE: Concurrency violation: (Claudius Ceteras)
>    2. RE: Daten verwursten und in einem DataGrid angeeigt 
> werden sollen (Claudius Ceteras)
>    3. =?iso-8859-1?Q?WebService_hinzuf=FCgen=3F?= (Anh Tu Sam)
>    4. 
> =?iso-8859-1?Q?RE:_=5BAsp.net=5D_WebService_hinzuf=FCgen=3F?= 
> (Alexander Zeitler)
>    5. 
> =?iso-8859-1?Q?RE:_=5BAsp.net=5D_RE:_=5BAsp.net=5D_WebService_
> hinzuf=FC?=
>        =?iso-8859-1?Q?gen=3F?= (Anh Tu Sam)
>    6. 
> =?iso-8859-1?Q?RE:_=5BAsp.net=5D_RE:_=5BAsp.net=5D_RE:_=5BAsp.
> net=5D_?=
>        =?iso-8859-1?Q?WebService_hinzuf=FCgen=3F?= (Alexander Zeitler)
>    7. 
> =?iso-8859-1?Q?RE:_=5BAsp.net=5D_RE:_=5BAsp.net=5D_RE:_=5BAsp.
> net=5D_RE:_?=
>        
> =?iso-8859-1?Q?=5BAsp.net=5D_WebService_hinzuf=FCgen=3F?= (Anh Tu Sam)
>    8. Array an Datagrid..dinde ? (Roman Pittroff)
>    9. AW: [Asp.net] Array an Datagrid..dinde ? (Thomas Bandt)
>   10. RE: Array an Datagrid..dinde ? (Roman Pittroff)
>   11. RE: Array an Datagrid..dinde ? (Alexander Zeitler)
>   12. AW: [Asp.net] Array an Datagrid..dinde ? (Thomas Bandt)
>   13. RE: Array an Datagrid..binde ? (Roman Pittroff)
>   14. =?x-user-defined?Q?=DCberlauf_einer_int-Spalte?= (Tim 
> Alexander von Leliwa)
>   15. RE: Array an Datagrid..binde ? (Alexander Zeitler)
> 
> --__--__--
> 
> Message: 1
> From: "Claudius Ceteras" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Subject: RE: [Asp.net] Concurrency violation:
> Date: Thu, 21 Apr 2005 19:41:56 +0200
> Reply-To: [email protected]
> 
> > Problematisch ist, dass der Fehler nur sporadisch 
> auftritt=20 und ich 
> > immer noch kein Muster erkennen kann, wann es=20 apssiert und wann 
> > nicht.
> 
> Das ist halt das problem...
> W=E4r nicht schlecht wenn es reproduzierbar ist... Und dann 
> musst Du debuggen... Bringt ja nichts, wenn der Fehler nicht 
> auftaucht.
> 
> > Vielleicht sollte ich doch eine eigene Update-Prozedur=20 schreiben?
> 
> Das w=E4re m=F6glich... Ich weiss jetzt grad garnicht, ob man 
> den = Commandbuilder dazu bewegen kann das abfragen der alten 
> Werte zu lassen, weil ich von Anfang an nen eigenen 
> CommandBuilder gebaut hab...
> Vielleicht weiss das jemand anderes hier...
> 
> >=20
> > Es wird also so ein SQL erzeugt:
> >=20
> > UPDATE tabelle SET feld1=3DneuerWert1, feld2=3DneuerWert2,=20
> > feld3=3DneuerWert3
> > WHRE ID=3DalteID AND feld1=3DalterWert1 AND feld2=3DalterWert2 AND
> > feld3=3DalterWert3
> >=20
> 
> 
> Gruss,
> 
> Claudius
> 
> 
> --__--__--
> 
> Message: 2
> From: "Claudius Ceteras" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Subject: RE: [Asp.net] Daten verwursten und in einem DataGrid 
> angeeigt werden sollen
> Date: Thu, 21 Apr 2005 21:10:33 +0200
> Reply-To: [email protected]
> 
> 
> > Nun suche ich einen schnellen weg dieses matrix zu fuellen=20 und 
> > darzustellen, und ohne durch das XML zu loopen. Wenn es geht.
> 
> Da wirst du nicht drum rum kommen, oder wo siehst Du da = 
> einsparpotential?
> Die Nodes sind zwar sortiert, aber es gibt nicht f=FCr jeden 
> Punkt = Eintr=E4ge und f=FCr manche sogar zwei.
> 
> Was ist das f=FCr ne Matrix? Bool oder int?
> Bei int w=FCrde ich einfach so vorgehen:
> 
> Array ist mit 0 initialisiert, also frei.
> 
> Wenn ein BELEGT-Eintrag kommt, setze den wert im Array auf 1 
> Wenn ein FREI-Eintrag kommt, setze den Wert auf -1, es sei 
> denn der = Eintrag ist schon auf -1, dann auf 1 sezten.
> 
> 
> Claudius
> 
> 
> --__--__--
> 
> Message: 3
> From: "Anh Tu Sam" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Date: Thu, 21 Apr 2005 21:25:27 +0200
> Subject: [Asp.net] =?iso-8859-1?Q?WebService_hinzuf=FCgen=3F?=
> Reply-To: [email protected]
> 
> Hallo zusammen,
> =20
> m=F6chte meinem Projekt ein Web Service hinzuf=FCgen. Wenn 
> ich im = Solution Explorer mit rechtem Mausklick auf 
> hinzuf=FCgen|.. gehe, sind alle = Eintr=E4ge vorhanden, bis 
> auf "Web Service hinzuf=FCgen". Wo kann ich f=FCr mein = 
> Projekt einstellen, dass man Web Services erstellen darf? Hab 
> bis jetzt nichts gefunden. Danke f=FCr alle Antworten..
> 
> Gru=DF, Anh Tu
> 
> 
> 
> --__--__--
> 
> Message: 4
> From: "Alexander Zeitler" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Date: Thu, 21 Apr 2005 22:50:23 +0200
> Organization: Alex on ASP.NET
> Subject: [Asp.net] 
> =?iso-8859-1?Q?RE:_=5BAsp.net=5D_WebService_hinzuf=FCgen=3F?=
> Reply-To: [email protected]
> 
> 
> Hallo,
> 
> > m=F6chte meinem Projekt ein Web Service hinzuf=FCgen. Wenn ich im =
> Solution
> > Explorer mit rechtem Mausklick auf hinzuf=FCgen|.. gehe, 
> sind=20  alle 
> >Eintr=E4ge  vorhanden, bis auf "Web Service hinzuf=FCgen". 
> Wo kann ich 
> >f=FCr=20  mein Projekt  einstellen, dass man Web Services erstellen 
> >darf? Hab bis jetzt nichts  gefunden. Danke f=FCr alle Antworten..
> >=20
> 
> Hinzuf=FCgen -> Neues Element -> Webdienst ausw=E4hlen.
> 
> Gruss
> 
> Alex
> 
> 
> 
> --__--__--
> 
> Message: 5
> From: "Anh Tu Sam" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Date: Thu, 21 Apr 2005 23:20:32 +0200
> Subject: [Asp.net] 
> =?iso-8859-1?Q?RE:_=5BAsp.net=5D_RE:_=5BAsp.net=5D_WebService_
> hinzuf=FC?=
>  =?iso-8859-1?Q?gen=3F?=
> Reply-To: [email protected]
> 
> Hallo,
> 
> Ich glaube, ich habe mich nicht richtig ausgedr=FCckt. Ich 
> kenne die Vorgehensweise, um einen Webdienst hinzuzuf=FCgen. 
> Allerdings ist dieser Men=FCeintrag "ausgegraut", also nicht 
> anklickbar. Wo stelle ich es ein, = dass dieser Eintrag 
> wieder schwarz, also ausw=E4hlbar ist?
> 
> Gru=DF, Anh Tu
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] = On Behalf Of Alexander Zeitler
> Sent: Thursday, April 21, 2005 10:50 PM
> To: [email protected]
> Subject: [Asp.net] RE: [Asp.net] WebService hinzuf=FCgen?
> 
> 
> Hallo,
> 
> > m=F6chte meinem Projekt ein Web Service hinzuf=FCgen. Wenn ich im =
> Solution=20
> > Explorer mit rechtem Mausklick auf hinzuf=FCgen|.. gehe, 
> sind alle=20 
> > Eintr=E4ge vorhanden, bis auf "Web Service hinzuf=FCgen". 
> Wo kann ich 
> > =
> f=FCr=20
> > mein Projekt einstellen, dass man Web Services erstellen 
> darf? Hab bis 
> > =
> 
> > jetzt nichts gefunden. Danke f=FCr alle Antworten..
> >=20
> 
> Hinzuf=FCgen -> Neues Element -> Webdienst ausw=E4hlen.
> 
> Gruss
> 
> Alex
> 
> 
> _______________________________________________
> Asp.net Mailingliste, Postings senden an:
> [email protected]
> An-/Abmeldung und Suchfunktion unter:
> http://www.glengamoi.com/mailman/listinfo/asp.net
> 
> 
> 
> 
> --__--__--
> 
> Message: 6
> From: "Alexander Zeitler" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Date: Thu, 21 Apr 2005 23:23:06 +0200
> Organization: Alex on ASP.NET
> Subject: [Asp.net] 
> =?iso-8859-1?Q?RE:_=5BAsp.net=5D_RE:_=5BAsp.net=5D_RE:_=5BAsp.
> net=5D_?=
>  =?iso-8859-1?Q?WebService_hinzuf=FCgen=3F?=
> Reply-To: [email protected]
> 
> 
> Hallo,
> 
> >=20
> > Ich glaube, ich habe mich nicht richtig ausgedr=FCckt. Ich 
> kenne die  
> >Vorgehensweise, um einen Webdienst hinzuzuf=FCgen. Allerdings ist =
> dieser
> > Men=FCeintrag "ausgegraut", also nicht anklickbar. Wo 
> stelle=20  ich 
> >es ein, dass  dieser Eintrag wieder schwarz, also ausw=E4hlbar ist?
> >=20
> 
> ist das ein ASP.NET Projekt oder ist es vielleicht ein Class 
> Library Projekt?
> 
> Gruss
> 
> Alex
> 
> 
> 
> --__--__--
> 
> Message: 7
> From: "Anh Tu Sam" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Date: Thu, 21 Apr 2005 23:29:42 +0200
> Subject: [Asp.net] 
> =?iso-8859-1?Q?RE:_=5BAsp.net=5D_RE:_=5BAsp.net=5D_RE:_=5BAsp.
> net=5D_RE:_?=
>  =?iso-8859-1?Q?=5BAsp.net=5D_WebService_hinzuf=FCgen=3F?=
> Reply-To: [email protected]
> 
> Hallo,
> 
> es ist ein ASP.NET Projekt. Allerdings glaube ich, die 
> Ursache gefunden = zu haben. Im Policy-file werden - soweit 
> ich mich erinnern kann - alle = f=FCr ein Projekt erlaubten 
> Items bzw. Komponenenten angemeldet. Insofern kann es sein, 
> dass Webdienste noch nicht in dem mit meinem Projekt 
> verkn=FCpften Policy-file registriert sind. Werd mir gleich 
> mal die dazugeh=F6rige = .tdl anschauen. Vielleicht klappts 
> ja dann. Trotzdem vielen Dank!!
> 
> Gru=DF, Anh Tu
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] = On Behalf Of Alexander Zeitler
> Sent: Thursday, April 21, 2005 11:23 PM
> To: [email protected]
> Subject: [Asp.net] RE: [Asp.net] RE: [Asp.net] RE: [Asp.net] 
> WebService hinzuf=FCgen?
> 
> 
> Hallo,
> 
> >=20
> > Ich glaube, ich habe mich nicht richtig ausgedr=FCckt. Ich kenne 
> >die=20  Vorgehensweise, um einen Webdienst hinzuzuf=FCgen. 
> Allerdings 
> >ist =
> dieser=20
> > Men=FCeintrag "ausgegraut", also nicht anklickbar. Wo 
> stelle ich es =
> ein,=20
> > dass dieser Eintrag wieder schwarz, also ausw=E4hlbar ist?
> >=20
> 
> ist das ein ASP.NET Projekt oder ist es vielleicht ein Class 
> Library Projekt?
> 
> Gruss
> 
> Alex
> 
> 
> _______________________________________________
> Asp.net Mailingliste, Postings senden an:
> [email protected]
> An-/Abmeldung und Suchfunktion unter:
> http://www.glengamoi.com/mailman/listinfo/asp.net
> 
> 
> 
> 
> --__--__--
> 
> Message: 8
> From: "Roman Pittroff" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Date: Fri, 22 Apr 2005 13:56:51 +0700
> Organization: Roman Pittroff
> Subject: [Asp.net] Array an Datagrid..dinde ?
> Reply-To: [email protected]
> 
> Guten Morgen
> 
> Dumme frage aber wie binde ich ein array(x,y) an ein Datagrid?
> Stehe heute irgendwie mal wieder auf dem schlauch.
> 
> Danke und gruss
> 
> Roman Pittroff
> Consulting
> Bangkok, Thailand
> 
> 
> 
> --__--__--
> 
> Message: 9
> From: "Thomas Bandt" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Subject: AW: [Asp.net] Array an Datagrid..dinde ?
> Date: Fri, 22 Apr 2005 09:20:24 +0200
> Organization: PULSAR interactive media GmbH
> Reply-To: [email protected]
> 
> Moin,
> 
> also das hier funktioniert bei mir:
> 
> <%@ Page language=3D"c#" AutoEventWireup=3D"true" %> <%@ 
> Import namespace=3D"System.Web" %> <script runat=3D"server">
>       void Page_Load()
>       {
>               string [] myArr =3D {"Fifa WM 2006", "ist 
> scheisse", "weil ich keine Karten kriege"};
>               MyGrid.DataSource =3D myArr;
>               MyGrid.DataBind();
>       }
> </script>
> <html>
>       <body>
>               <asp:DataGrid id=3D"MyGrid" runat=3D"server" />
>       </body>
> </html>=20
> 
> > -----Urspr=FCngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im Auftrag von Roman Pittroff
> > Gesendet: Freitag, 22. April 2005 08:57
> > An: [email protected]
> > Betreff: [Asp.net] Array an Datagrid..dinde ?
> >=20
> > Guten Morgen
> >=20
> > Dumme frage aber wie binde ich ein array(x,y) an ein Datagrid?
> > Stehe heute irgendwie mal wieder auf dem schlauch.
> >=20
> > Danke und gruss
> >=20
> > Roman Pittroff
> > Consulting
> > Bangkok, Thailand
> >=20
> >=20
> > _______________________________________________
> > Asp.net Mailingliste, Postings senden an:
> > [email protected]
> > An-/Abmeldung und Suchfunktion unter:
> > http://www.glengamoi.com/mailman/listinfo/asp.net
> >=20
> 
> 
> --__--__--
> 
> Message: 10
> From: "Roman Pittroff" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Subject: RE: [Asp.net] Array an Datagrid..dinde ?
> Date: Fri, 22 Apr 2005 14:31:18 +0700
> Organization: Roman Pittroff
> Reply-To: [email protected]
> 
> Gmorgen Thomas=20
> 
> :-) Danke das geht nur du hast eine kleinigkeit uebersehen 
> das ich ein mulit-array habe array(x,y).
> Aber ich denke da muss ich mir den table selber bauen
> 
> Gruss
> 
> Roman Pittroff
> Consulting
> Bangkok, Thailand
> 
> =20
> 
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] On Behalf Of Thomas Bandt
> >Sent: 22 April 2005 14:20
> >To: [email protected]
> >Subject: AW: [Asp.net] Array an Datagrid..dinde ?
> >
> >Moin,
> >
> >also das hier funktioniert bei mir:
> >
> ><%@ Page language=3D"c#" AutoEventWireup=3D"true" %> <%@ Import=20 
> >namespace=3D"System.Web" %> <script runat=3D"server">
> >     void Page_Load()
> >     {
> >             string [] myArr =3D {"Fifa WM 2006", "ist=20 
> scheisse", "weil ich 
> >keine Karten kriege"};
> >             MyGrid.DataSource =3D myArr;
> >             MyGrid.DataBind();
> >     }
> ></script>
> ><html>
> >     <body>
> >             <asp:DataGrid id=3D"MyGrid" runat=3D"server" />
> >     </body>
> ></html>=20
> >
> >> -----Urspr=FCngliche Nachricht-----
> >> Von: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] Im Auftrag von Roman Pittroff
> >> Gesendet: Freitag, 22. April 2005 08:57
> >> An: [email protected]
> >> Betreff: [Asp.net] Array an Datagrid..dinde ?
> >>=20
> >> Guten Morgen
> >>=20
> >> Dumme frage aber wie binde ich ein array(x,y) an ein Datagrid?
> >> Stehe heute irgendwie mal wieder auf dem schlauch.
> >>=20
> >> Danke und gruss
> >>=20
> >> Roman Pittroff
> >> Consulting
> >> Bangkok, Thailand
> >>=20
> >>=20
> >> _______________________________________________
> >> Asp.net Mailingliste, Postings senden an:
> >> [email protected]
> >> An-/Abmeldung und Suchfunktion unter:
> >> http://www.glengamoi.com/mailman/listinfo/asp.net
> >>=20
> >
> >_______________________________________________
> >Asp.net Mailingliste, Postings senden an:
> >[email protected]
> >An-/Abmeldung und Suchfunktion unter:
> >http://www.glengamoi.com/mailman/listinfo/asp.net
> >
> 
> 
> --__--__--
> 
> Message: 11
> From: "Alexander Zeitler" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Subject: RE: [Asp.net] Array an Datagrid..dinde ?
> Date: Fri, 22 Apr 2005 09:37:48 +0200
> Organization: Alex on ASP.NET
> Reply-To: [email protected]
> 
> Hallo,
> 
> >=20
> > :-) Danke das geht nur du hast eine kleinigkeit uebersehen  das ich 
> >ein mulit-array habe array(x,y).
> > Aber ich denke da muss ich mir den table selber bauen =20
> 
> das geht nicht, weil das Array das ICollection interface 
> nicht implementiert.
> 
> Verwende z.B. eine ArrayList, die ist f=FCr solche Zwecke gedacht.
> 
> Gruss
> 
> Alex
> 
> 
> 
> --__--__--
> 
> Message: 12
> From: "Thomas Bandt" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Subject: AW: [Asp.net] Array an Datagrid..dinde ?
> Date: Fri, 22 Apr 2005 09:39:10 +0200
> Organization: PULSAR interactive media GmbH
> Reply-To: [email protected]
> 
> Hm ja, du hast Recht - wie sich das mit mulit-arrays :D 
> verh=E4lt wei=DF ich jetzt auch nicht... hab auch grad mal 
> versucht ne Hashtable zu binden, funzt aber auch nicht :-(=20
> 
> > -----Urspr=FCngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im Auftrag von Roman Pittroff
> > Gesendet: Freitag, 22. April 2005 09:31
> > An: [email protected]
> > Betreff: RE: [Asp.net] Array an Datagrid..dinde ?
> >=20
> > Gmorgen Thomas=20
> >=20
> > :-) Danke das geht nur du hast eine kleinigkeit 
> uebersehen=20  das ich 
> >ein mulit-array habe array(x,y).
> > Aber ich denke da muss ich mir den table selber bauen =20  
> Gruss =20  
> >Roman Pittroff  Consulting  Bangkok, Thailand =20  =20 =20
> > >-----Original Message-----
> > >From: [EMAIL PROTECTED]
> > >[mailto:[EMAIL PROTECTED] On Behalf Of Thomas Bandt
> > >Sent: 22 April 2005 14:20
> > >To: [email protected]
> > >Subject: AW: [Asp.net] Array an Datagrid..dinde ?
> > >
> > >Moin,
> > >
> > >also das hier funktioniert bei mir:
> > >
> > ><%@ Page language=3D"c#" AutoEventWireup=3D"true" %> <%@ Import=20 
> > >namespace=3D"System.Web" %> <script runat=3D"server">
> > >   void Page_Load()
> > >   {
> > >           string [] myArr =3D {"Fifa WM 2006", "ist=20
> > scheisse", "weil ich keine=20
> > >Karten kriege"};
> > >           MyGrid.DataSource =3D myArr;
> > >           MyGrid.DataBind();
> > >   }
> > ></script>
> > ><html>
> > >   <body>
> > >           <asp:DataGrid id=3D"MyGrid" runat=3D"server" />
> > >   </body>
> > ></html>
> > >
> > >> -----Urspr=FCngliche Nachricht-----
> > >> Von: [EMAIL PROTECTED]
> > >> [mailto:[EMAIL PROTECTED] Im Auftrag von 
> Roman Pittroff
> > >> Gesendet: Freitag, 22. April 2005 08:57
> > >> An: [email protected]
> > >> Betreff: [Asp.net] Array an Datagrid..dinde ?
> > >>=20
> > >> Guten Morgen
> > >>=20
> > >> Dumme frage aber wie binde ich ein array(x,y) an ein Datagrid?
> > >> Stehe heute irgendwie mal wieder auf dem schlauch.
> > >>=20
> > >> Danke und gruss
> > >>=20
> > >> Roman Pittroff
> > >> Consulting
> > >> Bangkok, Thailand
> > >>=20
> > >>=20
> > >> _______________________________________________
> > >> Asp.net Mailingliste, Postings senden an:
> > >> [email protected]
> > >> An-/Abmeldung und Suchfunktion unter:
> > >> http://www.glengamoi.com/mailman/listinfo/asp.net
> > >>=20
> > >
> > >_______________________________________________
> > >Asp.net Mailingliste, Postings senden an:
> > >[email protected]
> > >An-/Abmeldung und Suchfunktion unter:
> > >http://www.glengamoi.com/mailman/listinfo/asp.net
> > >
> >=20
> > _______________________________________________
> > Asp.net Mailingliste, Postings senden an:
> > [email protected]
> > An-/Abmeldung und Suchfunktion unter:
> > http://www.glengamoi.com/mailman/listinfo/asp.net
> >=20
> 
> 
> --__--__--
> 
> Message: 13
> From: "Roman Pittroff" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Subject: RE: [Asp.net] Array an Datagrid..binde ?
> Date: Fri, 22 Apr 2005 14:51:59 +0700
> Organization: Roman Pittroff
> Reply-To: [email protected]
> 
> Hallo :-)
> 
> Danke, habe mich nicht genau ausgedrueckt
> 
> Ich habe eine Class x und will diese in eine matrix=20 
> reinschreiben. also matrix(x,y) =3D x
> 
> Dieses soll dann an einem datagrid gebunden werden und um das 
> ganze noch spanneder zu machen eine propertie aus dem Class 
> steuert das CSS der jeweiligen zelle.
> 
> Habe das schon als collection versucht nur dann=20 zeigt mir 
> das datagrid nur den count an.
> 
> 
> Irgend wie bekomme ich das heue nicht hin :-(
> 
> Ein schubser in die richtige richtung waere nett.
> 
> Danke
> 
> Roman Pittroff
> Consulting
> Bangkok, Thailand
> 
> =20
> 
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] On Behalf Of Alexander Zeitler
> >Sent: 22 April 2005 14:38
> >To: [email protected]
> >Subject: RE: [Asp.net] Array an Datagrid..dinde ?
> >
> >Hallo,
> >
> >>=20
> >> :-) Danke das geht nur du hast eine kleinigkeit uebersehen=20
> >das ich ein=20
> >> mulit-array habe array(x,y).
> >> Aber ich denke da muss ich mir den table selber bauen =20
> >
> >das geht nicht, weil das Array das ICollection interface nicht=20 
> >implementiert.
> >
> >Verwende z.B. eine ArrayList, die ist f=FCr solche Zwecke gedacht.
> >
> >Gruss
> >
> >Alex
> >
> >
> >_______________________________________________
> >Asp.net Mailingliste, Postings senden an:
> >[email protected]
> >An-/Abmeldung und Suchfunktion unter:
> >http://www.glengamoi.com/mailman/listinfo/asp.net
> >
> 
> 
> --__--__--
> 
> Message: 14
> From: "Tim Alexander von Leliwa" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Date: Fri, 22 Apr 2005 09:54:02 +0200
> Organization: SOUTHEASTestate
> Subject: [Asp.net] =?x-user-defined?Q?=DCberlauf_einer_int-Spalte?=
> Reply-To: [email protected]
> 
> Hallo Liste,
> 
> Habe eine SQL-DB mit einer Tabelle und einer Spalte f=FCr 
> Telefonnummer. = Diese ist als char angelegt. Jetzt lade ich 
> diese folgendermassen in ein =
> dataset:
> 
> adapter.Fill(myDataSet, "O_Calls");
> 
> Funktioniert auch prima, bloss ab einer L=E4nge von ca. 13 
> Ziffern kommt = dann folgende Fehlermeldung:
> 
> "Die Konvertierung des varchar-Wertes '0012312312345 ' 
> f=FChrte zum = =DCberlauf einer int-Spalte. Der maximale Wert 
> f=FCr eine ganze Zahl wurde =FCberschritten."
> 
> F=FCr die Zeile mit dem Fill-Befehl - woran liegt das und wie 
> kann man = das Problem umgehen?
> 
> Vielen Dank und Gr=FCsse,
> Tim
> 
> 
> --__--__--
> 
> Message: 15
> From: "Alexander Zeitler" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Subject: RE: [Asp.net] Array an Datagrid..binde ?
> Date: Fri, 22 Apr 2005 10:03:41 +0200
> Organization: Alex on ASP.NET
> Reply-To: [email protected]
> 
> 
> Hallo,
> 
> > 
> > Ich habe eine Class x und will diese in eine matrix reinschreiben. 
> > also matrix(x,y) = x
> > 
> > Dieses soll dann an einem datagrid gebunden werden und um das ganze 
> > noch spanneder zu machen eine propertie aus dem Class 
> steuert das CSS 
> > der jeweiligen zelle.
> > 
> > Habe das schon als collection versucht nur dann zeigt mir 
> das datagrid 
> > nur den count an.
> > 
> > 
> > Irgend wie bekomme ich das heue nicht hin :-(
> 
> Angenommen Du hast die Klasse Product:
> 
>       public class Product
>       {
>               private int                             id;
>               private string                  name;
>               private decimal                 unitPrice;
>               private bool                    isDiscontinued;
> 
>               public Product(int ID, string Name, decimal 
> UnitPrice, bool
> IsDiscontinued)
>               {
>                       this.ID                                 = ID;
>                       this.Name                               = Name;
>                       this.UnitPrice                  = UnitPrice;
>                       this.IsDiscontinued             = 
> IsDiscontinued;
>               }
> 
> 
>               public int ID
>               {
>                       get { 
>                               return id; 
>                       }
>                       set {   
>                               id = value; 
>                       }
>               }
> 
> 
>               public string Name
>               {
>                       get {   
>                               return name; 
>                       }
>                       set {   name = value; }
>               }
> 
> 
>               public decimal UnitPrice
>               {
>                       get {   
>                               return unitPrice; 
>                       }
>                       set { 
>                               unitPrice = value;
>                       }
>               }
> 
> 
>               public bool IsDiscontinued
>               {
>                       get { 
>                               return isDiscontinued; 
>                       }
>                       set {   
>                               isDiscontinued = value; 
>                       }
>               }
> }
> 
> dann leitest Du Dir von ArrayList eine Custom Collection
> ab:
> 
>       public class ProductsCollection: ArrayList {
>               public enum ProductsCollectionFields {
>                       Name,
>                       UnitPrice
>               }
> 
>               public void Sort(ProductsCollectionFields 
> sortField, bool
> isAscending) {
>                       switch (sortField) {
>                               case ProductsCollectionFields.Name:
>                                       base.Sort(new
> ProductNameComparer());
>                                       break;
>                       }
> 
>                       if (!isAscending) base.Reverse();
>               }
> 
>               private sealed class ProductNameComparer : IComparer {
>                       public int Compare(object x, object y) {
>                               Product first   = (Product) x;
>                               Product second  = (Product) y;
>                               return 
> first.Name.CompareTo(second.Name);
>                       }
>               }
> 
>               private sealed class PriceComparer : IComparer {
>                       public int Compare(object x, object y) {
>                               Product first   = (Product) x;
>                               Product second  = (Product) y;
>                               return
> first.UnitPrice.CompareTo(second.UnitPrice);
>                       }
>               }
>       }
> 
> 
> Das ganze kannst Du dann im DataGrid verwenden:
> 
> <asp:DataGrid id="dgrProducts" runat="server" BorderColor="#CC9966"
> BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="4"
> AllowPaging="True" Width="500px" AutoGenerateColumns="False"
> allowsorting="True">
> <SelectedItemStyle Font-Bold="True" ForeColor="#663399" 
> BackColor="#FFCC66"> </SelectedItemStyle>
> 
> <ItemStyle ForeColor="#330099" BackColor="White"> </ItemStyle>
> 
> <HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" 
> BackColor="#990000"> </HeaderStyle>
> 
> <FooterStyle ForeColor="#330099" BackColor="#FFFFCC"> </FooterStyle>
> 
> <Columns>
> <asp:BoundColumn DataField="ID" HeaderText="ID"> <HeaderStyle 
> HorizontalAlign="Center"> </HeaderStyle> <ItemStyle 
> HorizontalAlign="Right"> </ItemStyle> </asp:BoundColumn> 
> <asp:templatecolumn sortexpression="name">
>       <headerstyle horizontalalign="Center" />
>       <headertemplate>
>               Name
>               <!--<asp:linkbutton id="lbtHeaderName" runat="server"
> commandname="Sort">Produkt-Bezeichnung</asp:linkbutton>-->
>       </headertemplate>
>       <itemtemplate>
>               <%# DataBinder.Eval(Container, "DataItem.Name") %>
>       </itemtemplate>
> </asp:templatecolumn>
> <asp:BoundColumn DataField="UnitPrice" HeaderText="Einheitspreis"
> DataFormatString="{0:c}" sortexpression="unitprice"> 
> <HeaderStyle HorizontalAlign="Center"> </HeaderStyle>
> 
> <ItemStyle HorizontalAlign="Right">
> </ItemStyle>
> </asp:BoundColumn>
> <asp:TemplateColumn HeaderText="Abgek&#252;ndigt"> 
> <HeaderStyle HorizontalAlign="Center"> </HeaderStyle>
> 
> <ItemStyle HorizontalAlign="Center">
> </ItemStyle>
> 
> <ItemTemplate>
> <asp:CheckBox ID="chbDiscontinued" Runat="server" 
> Enabled="False"/> <!--Checked='<%# DataBinder.Eval(Container, 
> "DataItem.IsDiscontinued")%>'--> </ItemTemplate> 
> </asp:TemplateColumn> </Columns>
> 
> <PagerStyle HorizontalAlign="Center" ForeColor="#330099" 
> BackColor="#FFFFCC"
> Mode="NumericPages">
> </PagerStyle></asp:DataGrid>
> 
> oder auch z.B. im ItemDataBound darauf zugreifen:
> 
>               private void dgrProducts_ItemDataBound(object 
> sender, DataGridItemEventArgs e) {
>                       // Fill Checkboxes
>                       if(     e.Item.ItemType == ListItemType.Item || 
>                               e.Item.ItemType ==
> ListItemType.AlternatingItem) {
>                               Product product = 
> (Product)e.Item.DataItem;
>       
> ((CheckBox)e.Item.Cells[3].Controls[1]).Checked = 
> product.IsDiscontinued;
>                       }
>               }
> 
> hoffe, das hilft ein wenig ;-)
> 
> Gruss
> 
> Alex
> 
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> Asp.net mailing list
> [email protected]
> http://www.glengamoi.com/mailman/listinfo/asp.net
> 
> 
> End of Asp.net Digest
> _______________________________________________
> Asp.net Mailingliste, Postings senden an:
> [email protected]
> An-/Abmeldung und Suchfunktion unter:
> http://www.glengamoi.com/mailman/listinfo/asp.net
> 

_______________________________________________
Asp.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an