Click here to Skip to main content
15,894,896 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: run NSIS installer.exe from commandline Pin
Thisita10-Jul-07 15:06
Thisita10-Jul-07 15:06 
QuestionMAsx TExt Box Pin
PriteshMalvan1-Jul-07 19:23
PriteshMalvan1-Jul-07 19:23 
AnswerRe: MAsx TExt Box Pin
RepliCrux1-Jul-07 20:07
RepliCrux1-Jul-07 20:07 
Questionvalidation Pin
Bojja Lakshmi1-Jul-07 2:41
Bojja Lakshmi1-Jul-07 2:41 
AnswerRe: validation Pin
Paul Conrad13-Jul-07 12:59
professionalPaul Conrad13-Jul-07 12:59 
GeneralRe: validation Pin
Bojja Lakshmi15-Jul-07 21:19
Bojja Lakshmi15-Jul-07 21:19 
QuestionDataGridView CheckBox issue! Pin
pashitech30-Jun-07 6:29
pashitech30-Jun-07 6:29 
AnswerRe: DataGridView CheckBox issue! Pin
RepliCrux1-Jul-07 13:51
RepliCrux1-Jul-07 13:51 
Hi Prashanth,

You can do the following: (case: if using data Binding)

foreach (DataGridViewRow row in dataGridView1.Rows)
{
if ((bool)row.Cells["select"].Value.Equals(true))
{
//Do Something
}
}

In the above case the DataGrid is bound to the following table:

private DataTable Table()
{
DataTable table = new DataTable();
DataColumn col1 = new DataColumn("select",Type.GetType("System.Boolean"));
DataColumn col2 = new DataColumn("Name", Type.GetType("System.String"));

table.Columns.Add(col1);
table.Columns.Add(col2);

DataRow r1 = table.NewRow();
r1["select"] = true;
r1["Name"] = "Something";

DataRow r2 = table.NewRow();
r2["select"] = false;
r2["Name"] = "nothing";

table.Rows.Add(r1);
table.Rows.Add(r2);

return table;
}

Hope that helps.

Cheers
GeneralRe: DataGridView CheckBox issue! Pin
pashitech1-Jul-07 17:06
pashitech1-Jul-07 17:06 
GeneralRe: DataGridView CheckBox issue! Pin
RepliCrux1-Jul-07 17:46
RepliCrux1-Jul-07 17:46 
GeneralRe: DataGridView CheckBox issue! Pin
pashitech1-Jul-07 18:23
pashitech1-Jul-07 18:23 
GeneralRe: DataGridView CheckBox issue! Pin
RepliCrux1-Jul-07 18:39
RepliCrux1-Jul-07 18:39 
GeneralRe: DataGridView CheckBox issue! Pin
pashitech3-Jul-07 3:47
pashitech3-Jul-07 3:47 
GeneralRe: DataGridView CheckBox issue! Pin
RepliCrux3-Jul-07 12:49
RepliCrux3-Jul-07 12:49 
Questionchenage desktop size Pin
m_soleimani30-Jun-07 0:22
m_soleimani30-Jun-07 0:22 
QuestionPopulating Windows Forms From Access Pin
HurricaneDan28-Jun-07 12:06
HurricaneDan28-Jun-07 12:06 
AnswerRe: Populating Windows Forms From Access Pin
Paul Conrad13-Jul-07 13:00
professionalPaul Conrad13-Jul-07 13:00 
QuestionHow to move records using firstbutton,previous button,next button,last button in vb.net? Pin
sathyan_829428-Jun-07 7:13
sathyan_829428-Jun-07 7:13 
AnswerRe: How to move records using firstbutton,previous button,next button,last button in vb.net? Pin
Christian Graus28-Jun-07 14:21
protectorChristian Graus28-Jun-07 14:21 
AnswerRe: How to move records using firstbutton,previous button,next button,last button in vb.net? Pin
RepliCrux28-Jun-07 18:03
RepliCrux28-Jun-07 18:03 
QuestionVSS2005 Pin
tantoun27-Jun-07 23:52
tantoun27-Jun-07 23:52 
QuestionHow to use VSS? please suggest the best approach Pin
pashitech27-Jun-07 19:47
pashitech27-Jun-07 19:47 
AnswerRe: How to use VSS? please suggest the best approach Pin
originSH27-Jun-07 22:24
originSH27-Jun-07 22:24 
QuestionGet Process List from window Service in VISTA [modified] Pin
kalpeshgedia26-Jun-07 22:15
kalpeshgedia26-Jun-07 22:15 
AnswerRe: Get Process List from window Service in VISTA Pin
Dave Kreskowiak27-Jun-07 4:53
mveDave Kreskowiak27-Jun-07 4:53 

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.