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 / .NET Framework / Compact Framework / March 2007

Tip: Looking for answers? Try searching our database.

Adding controls to a datagrid column?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Milsnips - 22 Mar 2007 17:19 GMT
Hi there,

what i'm trying to achieve is this ( i dont know how it'll affect the grid
performance during loading):

1. I am loading 3 columns in my datarows manually via
DataTable.Rows.Add(myRow)
2. I want to put in a button in the 4th and 5th column which will be, say
either an image "delete" button, and a "edit" button - can either be a
picture control with a click event, or an actual button control, not too
fussed, however the picture control is more visually pleasing to the eye
:-))

Can anyone guide me in the right direction here on how to do this?
thanks,
Paul
<ctacke/> - 22 Mar 2007 17:31 GMT
You're on your way to a custom control - the DataGrid won't do this.

Signature

Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--

> Hi there,
>
[quoted text clipped - 12 lines]
> thanks,
> Paul
Alex Yakhnin - 23 Mar 2007 20:52 GMT
Take a look at the Ilyia's sample that shows how to achieve that. It does
require CF v2 SP1 or later:
http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx

--
Alex Yakhnin, Device Application Developer MVP

> Hi there,
>
[quoted text clipped - 12 lines]
> thanks,
> Paul
Milsnips - 23 Mar 2007 23:21 GMT
Hi Alex,

Yep its exactly the kind of thing i was looking for.

thanks,
Paul

> Take a look at the Ilyia's sample that shows how to achieve that. It does
> require CF v2 SP1 or later:
[quoted text clipped - 19 lines]
>> thanks,
>> Paul

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.