hi, thank you for the answer, but i found a little problem, there is no
datasource method only a property, and I don't know how to manage it because
i uses an object.
if you can clarify it for me i reallly apreciate it. thanks again

Signature
greeting,
Sergio E.
DCE2005 - 2*
> override DataSource method
>
>> Hi, I'm extending the gridview control and I need the data that fills it
>> because I need get a subset of the results to do an operation.
>>
>> Thanks!
Sergey Poberezovskiy - 10 Aug 2007 00:30 GMT
My bad: - sure it is a property. But you can still override it:
public override object DataSource
{
get { return base.DataSource; }
set
{
// you can put some validating code here
base.DataSource = value;
}
}
> hi, thank you for the answer, but i found a little problem, there is no
> datasource method only a property, and I don't know how to manage it because
[quoted text clipped - 7 lines]
> >>
> >> Thanks!
Sergio E. - 10 Aug 2007 13:12 GMT
thank you!

Signature
Saludos,
Sergio E.
DCE2005 - 2*
> My bad: - sure it is a property. But you can still override it:
>
[quoted text clipped - 21 lines]
>> >>
>> >> Thanks!