Click here to Skip to main content
15,913,773 members
Home / Discussions / C#
   

C#

 
Question[Message Deleted] Pin
sulabh202012-Apr-07 22:41
sulabh202012-Apr-07 22:41 
AnswerRe: How to add bullets to word document using c# Pin
Christian Graus12-Apr-07 23:04
protectorChristian Graus12-Apr-07 23:04 
AnswerRe: How to add bullets to word document using c# Pin
Colin Angus Mackay13-Apr-07 0:18
Colin Angus Mackay13-Apr-07 0:18 
QuestionHow to programmatically add a checkbox column in datatable? Pin
Affan Toor12-Apr-07 22:09
Affan Toor12-Apr-07 22:09 
AnswerRe: How to programmatically add a checkbox column in datatable? Pin
sujithkumarsl12-Apr-07 22:33
sujithkumarsl12-Apr-07 22:33 
GeneralRe: How to programmatically add a checkbox column in datatable? Pin
Affan Toor12-Apr-07 23:13
Affan Toor12-Apr-07 23:13 
GeneralRe: How to programmatically add a checkbox column in datatable? Pin
Affan Toor12-Apr-07 23:33
Affan Toor12-Apr-07 23:33 
AnswerRe: How to programmatically add a checkbox column in datatable? Pin
msogun13-Apr-07 6:58
msogun13-Apr-07 6:58 
Hi,
This is kind of something I was trying to do. Can you help me out here. Here is the sample of my code.

DataSet ds = new DataSet();
string sql;

sql = @"SELECT lastName,firstName,MiddleName,LoginName,Passwd,ReadOnly,Updates,Deletes,Inserts,OTCPriviledge FROM Users ";
SqlDataAdapter da = new SqlDataAdapter(sql, conString);
da.Fill(ds, "Users");
//dataGridView1.DataBindings.Clear();
dataGridView1.DataSource = ds.Tables["Users"];

DataTable dt = ds.Tables["Users"];

CheckBox chkbox = new CheckBox();
...
..
------------------------------------------------------------------------------
I want the following columns to be checkbox where loaded into the dataGridView.
ReadOnly,Updates,Deletes,Inserts,OTCPriviledge

QuestionInstall an ActiveX for IE ? Pin
Jan.Seiffert12-Apr-07 22:00
Jan.Seiffert12-Apr-07 22:00 
QuestionProgram Api Pin
snouto12-Apr-07 21:37
snouto12-Apr-07 21:37 
AnswerRe: Program Api Pin
Christian Graus12-Apr-07 21:52
protectorChristian Graus12-Apr-07 21:52 
GeneralRe: Program Api Pin
snouto12-Apr-07 21:54
snouto12-Apr-07 21:54 
GeneralRe: Program Api Pin
Christian Graus12-Apr-07 22:04
protectorChristian Graus12-Apr-07 22:04 
QuestionSuspend Thread Of a Process Pin
LPV12-Apr-07 21:24
LPV12-Apr-07 21:24 
AnswerRe: Suspend Thread Of a Process Pin
il_masacratore12-Apr-07 21:26
il_masacratore12-Apr-07 21:26 
QuestionIs dere is no one to solve the query!** Pin
sulabh202012-Apr-07 21:14
sulabh202012-Apr-07 21:14 
GeneralRe: Is dere is no one to solve the query!** Pin
sulabh202012-Apr-07 21:25
sulabh202012-Apr-07 21:25 
GeneralRe: Is dere is no one to solve the query!** Pin
Pete O'Hanlon13-Apr-07 0:52
mvePete O'Hanlon13-Apr-07 0:52 
AnswerRe: Is dere is no one to solve the query!** Pin
Christian Graus12-Apr-07 21:25
protectorChristian Graus12-Apr-07 21:25 
GeneralRe: Is dere is no one to solve the query!** Pin
Sathesh Sakthivel12-Apr-07 21:31
Sathesh Sakthivel12-Apr-07 21:31 
AnswerRe: Is dere is no one to solve the query!** Pin
Colin Angus Mackay13-Apr-07 0:14
Colin Angus Mackay13-Apr-07 0:14 
GeneralRe: Is dere is no one to solve the query!** Pin
Pete O'Hanlon13-Apr-07 0:47
mvePete O'Hanlon13-Apr-07 0:47 
GeneralRe: Is dere is no one to solve the query!** Pin
Colin Angus Mackay13-Apr-07 2:45
Colin Angus Mackay13-Apr-07 2:45 
GeneralRe: Is dere is no one to solve the query!** Pin
Pete O'Hanlon13-Apr-07 3:08
mvePete O'Hanlon13-Apr-07 3:08 
Questiondatagridview question, plz help Pin
akkram12-Apr-07 20:52
akkram12-Apr-07 20:52 

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.