Click here to Skip to main content
15,921,660 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Context hightlight editor for VB.NET WinForms Pin
Henry Minute30-Oct-09 2:15
Henry Minute30-Oct-09 2:15 
AnswerRe: Context hightlight editor for VB.NET WinForms Pin
Alan Burkhart3-Nov-09 17:35
Alan Burkhart3-Nov-09 17:35 
AnswerRe: Context hightlight editor for VB.NET WinForms Pin
Shameel5-Nov-09 1:15
professionalShameel5-Nov-09 1:15 
QuestionMemory is not Released in Windows Application when ever any Form is Closed Pin
k_kedarnadh28-Oct-09 20:52
k_kedarnadh28-Oct-09 20:52 
AnswerRe: Memory is not Released in Windows Application when ever any Form is Closed Pin
Luc Pattyn29-Oct-09 4:06
sitebuilderLuc Pattyn29-Oct-09 4:06 
AnswerRe: Memory is not Released in Windows Application when ever any Form is Closed Pin
Dave Kreskowiak31-Oct-09 11:35
mveDave Kreskowiak31-Oct-09 11:35 
Questionproblem with datatable [modified] Pin
Sider8926-Oct-09 9:10
Sider8926-Oct-09 9:10 
AnswerRe: problem with datatable Pin
Henry Minute26-Oct-09 10:20
Henry Minute26-Oct-09 10:20 
From reading your question, which was slightly difficult because your actual question is mixed up in the middle of your code, I would suggest that you redesign your DataTable

private void Permissions_Load(object sender, EventArgs e){
    dt = new DataTable();
    dt.Columns.Add("Feature", typeof(string));
    dt.Columns.Add("None", typeof(bool));      //<======================== Here ===============
    dt.Columns.Add("ReadOnly", typeof(bool));      //<======================== Here ===============
    dt.Columns.Add("ReadWrite", typeof(bool));      //<======================== Here ===============

    datagridview1.Datasource=dt;
}


The three columns marked //<======================== Here =============== are the three possible values of PermissionType and should be one column, probably, without thinking about it too much, of type int. This would mean that the design of your Form and Grid would need to change which would therefore probably change the question.

Also you refer in the question bit to the any checkbox without having previously mentioned it, let alone describe its purpose.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: problem with datatable Pin
Sider8926-Oct-09 23:53
Sider8926-Oct-09 23:53 
GeneralRe: problem with datatable Pin
Henry Minute27-Oct-09 3:02
Henry Minute27-Oct-09 3:02 
AnswerRe: problem with datatable Pin
AhmedMasum28-Oct-09 1:15
AhmedMasum28-Oct-09 1:15 
Questionpaging datagridview in vb.net Pin
vikas shukla26-Oct-09 1:12
vikas shukla26-Oct-09 1:12 
AnswerRe: paging datagridview in vb.net Pin
Ashfield26-Oct-09 3:21
Ashfield26-Oct-09 3:21 
AnswerRe: paging datagridview in vb.net Pin
Henry Minute26-Oct-09 4:40
Henry Minute26-Oct-09 4:40 
GeneralRe: paging datagridview in vb.net Pin
AhmedMasum28-Oct-09 1:30
AhmedMasum28-Oct-09 1:30 
GeneralRe: paging datagridview in vb.net Pin
Henry Minute28-Oct-09 1:34
Henry Minute28-Oct-09 1:34 
GeneralRe: paging datagridview in vb.net Pin
AhmedMasum28-Oct-09 1:53
AhmedMasum28-Oct-09 1:53 
AnswerRe: paging datagridview in vb.net Pin
AhmedMasum28-Oct-09 1:52
AhmedMasum28-Oct-09 1:52 
QuestionDynamic Splitter window to Split a MDI Child Window into Panes Pin
Brian C Hart22-Oct-09 9:10
professionalBrian C Hart22-Oct-09 9:10 
AnswerRe: Dynamic Splitter window to Split a MDI Child Window into Panes Pin
Shameel27-Oct-09 0:19
professionalShameel27-Oct-09 0:19 
GeneralRe: Dynamic Splitter window to Split a MDI Child Window into Panes Pin
Brian C Hart27-Oct-09 12:26
professionalBrian C Hart27-Oct-09 12:26 
GeneralRe: Dynamic Splitter window to Split a MDI Child Window into Panes Pin
Richard MacCutchan27-Oct-09 13:04
mveRichard MacCutchan27-Oct-09 13:04 
GeneralTracking activity in a WebBrowser control from a Windows Form Host Pin
Brady Kelly22-Oct-09 5:49
Brady Kelly22-Oct-09 5:49 
GeneralRe: Tracking activity in a WebBrowser control from a Windows Form Host Pin
AhmedMasum28-Oct-09 1:49
AhmedMasum28-Oct-09 1:49 
Questionhow to prevent the user from moving to the clicked cell in DataGridView ? Pin
alladeen21-Oct-09 13:11
alladeen21-Oct-09 13:11 

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.