Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 How can I insert a little buttun next to my column

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-05-18 : 17:56:34
I have Datagrid control that i populate from code (datasource, tablestyle...). How can I insert a little buttun next to one of my column values (I want to customize the content of one of my columns to include a little push button or a little image)
Thanks.

MichaelP
Jedi Yak

2489 Posts

Posted - 2006-05-18 : 19:10:01
You may need to use a repeater (datarepeater) for that sort of thing instead of the datagrid.

Michael

<Yoda>Use the Search page you must. Find the answer you will. Cursors, path to the Dark Side they are. Avoid them, you must. Use Order By NewID() to get a random record you will.</Yoda>

Opinions expressed in this post are not necessarily those of TeleVox Software, inc. All information is provided "AS IS" with no warranties and confers no rights.
Go to Top of Page

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-05-18 : 19:17:39
what s a repeator good for, what s the difference between it and datagrid
gracias amigo, how does it look like.
Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2006-05-18 : 21:02:59
Just use a template column in your datagrid, you can put anything you want in there.
Go to Top of Page

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-05-18 : 21:21:44
i m doing windows form-application not web application
Go to Top of Page
   

- Advertisement -