[Gambas-user] Grid view data event

Fabien Bodard gambas.fr at ...626...
Wed Dec 5 10:35:32 CET 2012


You have two choices you can manage the columns you show in the data event
or in theDB query.

Maybe you can use databound  control such as dataview....  all this stuff
isalready done
Le 5 déc. 2012 06:23, "Shane" <shanep1967 at ...169...> a écrit :

> Hi i'm trying to use the Gridview data Event using this code
>
>    Res.moveTo(Row)
>    GridView1.Data.text = Str(res[Column])
> and all works fine now is there a way to get only some of the fields
> from the data base
> eg if i had
>
> code,
> price,
> cost,
> picture,
>
> fields and i didnt want to show the cost field how would i do this.
>
> thanks shane.
>
>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list