newbie question on datagrid

  • Thread starter Thread starter George Ter-Saakov
  • Start date Start date
First convert you columns for which you want a radio button displayed as
TemplateColumns (Select you DG in design mode, Click Property builder,
etc..)

The left click on your DG and select EditTemplate columns. Drag a radio
button in the Item Template section.
Repeat for every column you want a radio button

Hope this helps,

Patrick Delifer
 
Before taking on datagrids, you may want to consider mastering the proper
setting of your system time.

Bob Lehmann
 
Danny said:
Hi,

I would like use datagrid to display a list of items with a radio button
attached to each item. Say I have a datatable in a dataset, datatable has
one datacolumn "description". By binding this datatable to datagrid, the
datagrid display the descriptions. But how do I put a radio button in
front of each description to allow users to choose?

TIA

You will need an add on control if what you want is for each row in the
datagrid to be a selection, or choice as if they are all part of the same
radio button group.

Here is one of the best series on the Data Grid:

http://aspnet.4guysfromrolla.com/articles/040502-1.aspx

Part 11 explains what your after:

http://aspnet.4guysfromrolla.com/articles/122602-1.aspx
 
Bob,

I suspect he's actually quite smart.
By setting his system time to 31/05/04 then his posting would always appear
on top/bottom
when you're sorting the forum by date sent (which I suspect most people do),
at least until the end of this month.
That way the posting has more chance to be looked at and answered for.
But perhaps its not actually his intention at all... I don't know.. ;)
 
Hi,

I would like use datagrid to display a list of items with a radio button
attached to each item. Say I have a datatable in a dataset, datatable has
one datacolumn "description". By binding this datatable to datagrid, the
datagrid display the descriptions. But how do I put a radio button in front
of each description to allow users to choose?

TIA
 
Back
Top