Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
GeneralRe: Directx Writepixel in .NET Pin
Jeremy Kimball14-Jun-04 9:02
Jeremy Kimball14-Jun-04 9:02 
GeneralRe: Directx Writepixel in .NET Pin
eldrago14-Jun-04 20:00
eldrago14-Jun-04 20:00 
GeneralRe: Directx Writepixel in .NET Pin
Jeremy Kimball15-Jun-04 3:00
Jeremy Kimball15-Jun-04 3:00 
GeneralSynchronized Databinding Pin
WillemM14-Jun-04 6:43
WillemM14-Jun-04 6:43 
GeneralRe: Synchronized Databinding Pin
WillemM14-Jun-04 7:51
WillemM14-Jun-04 7:51 
GeneralDataGrid CheckBoxes Pin
exhaulted14-Jun-04 6:23
exhaulted14-Jun-04 6:23 
GeneralRe: DataGrid CheckBoxes Pin
Heath Stewart14-Jun-04 6:28
protectorHeath Stewart14-Jun-04 6:28 
GeneralRe: DataGrid CheckBoxes Pin
exhaulted14-Jun-04 22:09
exhaulted14-Jun-04 22:09 
Heath,
thanks for your advice but i have already bound the DataGrid to a DataSet

dataSAR.DataSource = gmb.gmbSet; //DataSet in the gmb object<br />
dataSAR.DataMember = "SAR"; //Table Name


Then i set up a DataGridTableStyle, mapped it to the table.
DataGridTableStyle sarStyle = new DataGridTableStyle();<br />
sarStyle.MappingName = "SAR";


Next i created a DataGridBoolColumn object and mapped it to the corresponding column in the table
DataGridBoolColumn checkColumn = new DataGridBoolColumn();<br />
checkColumn.MappingName = "Checked";


Finally i added the column to the TableStyle and added the TableStyle to the DataGrid.TableStyles collection.
sarStyle.GridColumnStyles.Add(checkColumn);<br />
dataSAR.TableStyles.Add(sarStyle);


I think that this is the correct way of going about this but i am having the problems mentioned in the above post so any advice about what i am doing wrong would be appreciated.

Cheers

KP
GeneralRe: DataGrid CheckBoxes Pin
Heath Stewart15-Jun-04 2:32
protectorHeath Stewart15-Jun-04 2:32 
GeneralRe: DataGrid CheckBoxes Pin
exhaulted15-Jun-04 5:40
exhaulted15-Jun-04 5:40 
GeneralRe: DataGrid CheckBoxes Pin
Heath Stewart15-Jun-04 5:53
protectorHeath Stewart15-Jun-04 5:53 
GeneralRe: DataGrid CheckBoxes Pin
exhaulted15-Jun-04 6:17
exhaulted15-Jun-04 6:17 
GeneralDataGrid CheckBoxes Pin
exhaulted14-Jun-04 6:23
exhaulted14-Jun-04 6:23 
Questionthe best way to terminate a blocked thread? Pin
vista2714-Jun-04 6:20
vista2714-Jun-04 6:20 
AnswerRe: the best way to terminate a blocked thread? Pin
palbano14-Jun-04 6:38
palbano14-Jun-04 6:38 
AnswerRe: the best way to terminate a blocked thread? Pin
Mike Dimmick14-Jun-04 6:40
Mike Dimmick14-Jun-04 6:40 
Generalneed help, treeView and active directory Pin
vcorn14-Jun-04 6:11
vcorn14-Jun-04 6:11 
GeneralRe: need help, treeView and active directory Pin
Heath Stewart14-Jun-04 6:41
protectorHeath Stewart14-Jun-04 6:41 
GeneralRe: need help, treeView and active directory Pin
vcorn14-Jun-04 7:29
vcorn14-Jun-04 7:29 
GeneralRe: need help, treeView and active directory Pin
Dave Kreskowiak14-Jun-04 7:31
mveDave Kreskowiak14-Jun-04 7:31 
GeneralRe: need help, treeView and active directory Pin
vcorn14-Jun-04 7:43
vcorn14-Jun-04 7:43 
GeneralRe: need help, treeView and active directory Pin
Wackatronic14-Jun-04 7:57
Wackatronic14-Jun-04 7:57 
GeneralRe: need help, treeView and active directory Pin
Dave Kreskowiak14-Jun-04 8:02
mveDave Kreskowiak14-Jun-04 8:02 
GeneralRe: need help, treeView and active directory Pin
vcorn14-Jun-04 8:27
vcorn14-Jun-04 8:27 
GeneralRe: need help, treeView and active directory Pin
Dave Kreskowiak14-Jun-04 8:34
mveDave Kreskowiak14-Jun-04 8:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.