Hmm, brings nicht hin.
Ist in einem DataGridColumn wo Cell.DataBinding-Event genutzt wird.
Da hab ich
Dim DRV As System.Data.Common.DbDataRecord = CType(Dgi.DataItem,
System.Data.Common.DbDataRecord)
und dann
...DRV("ROW") is nothing...
Doch das bringt mir die Exception, dass IndexOutOfRange-Seite.
Gruss und gute Nacht
Christoph
Alexander Zeitler schrieb:
> natürlich nicht DataGrid, sondern DataSet ;-)
>
> Gruss
>
> Alex
>
>
>> abhängig vom Typ der Datenquelle, z.B. DataGrid würde ich das
>> DataItem z.B. in den Typ DataRowView casten und gucken, ob
>> drv["Kategoriename"] != null ist.
>>
>> Gruss
>>
>> Alex
>>
>>
>> _______________________________________________
>> 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
>
_______________________________________________
Asp.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net