Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

get data that fills a gridviewocontrol inside it (i'm extendig the gridview)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sergio E. - 08 Aug 2007 15:56 GMT
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!

Signature

Greetings,
Sergio E.
DCE2005 - 2*

--
Saludos,
Sergio E.
DCE2005 - 2*

Sergey Poberezovskiy - 09 Aug 2007 03:28 GMT
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!
Sergio E. - 09 Aug 2007 20:17 GMT
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!

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.