PC Review


Reply
Thread Tools Rate Thread

datagrid and web controls

 
 
Phil Townsend
Guest
Posts: n/a
 
      15th Jun 2006
I have a datagrid control that gets populated from a dataset in a
code-behind file. In addition to some text fields the data contains
three smallint fields that can either be a 1 or 0. When the datagrid
gets populated I want a checkbox to be displayed for those fields that
is either checked or unchecked depending on whether the smallint field
is zero or one. I've not done anything like this before. Can anybody
help? Thanks!



*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
 
 
 
chanmm
Guest
Posts: n/a
 
      16th Jun 2006
You can do it like this:
http://msdn.microsoft.com/msdnmag/is...4/CuttingEdge/

chanmm


"Phil Townsend" <(E-Mail Removed)> wrote in message
news:ecE7R$(E-Mail Removed)...
>I have a datagrid control that gets populated from a dataset in a
> code-behind file. In addition to some text fields the data contains
> three smallint fields that can either be a 1 or 0. When the datagrid
> gets populated I want a checkbox to be displayed for those fields that
> is either checked or unchecked depending on whether the smallint field
> is zero or one. I've not done anything like this before. Can anybody
> help? Thanks!
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filling One DataGrid Based on Selection from Another DataGrid - Both in Separate User Controls thegame Microsoft ASP .NET 1 28th Feb 2005 04:23 PM
Controls in datagrid krallabandi@gmail.com Microsoft Dot NET 0 7th Dec 2004 11:22 AM
DataGrid controls =?Utf-8?B?Qm9uag==?= Microsoft C# .NET 2 11th Nov 2004 10:30 PM
datagrid controls DotNetJunkies User Microsoft ASP .NET 1 15th Jul 2004 01:33 AM
datagrid controls Robert Smith Microsoft VB .NET 1 21st Aug 2003 05:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:14 PM.