Click here to Skip to main content
15,914,222 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalvb.net versus c# Pin
ckoverman29-Jul-04 6:03
ckoverman29-Jul-04 6:03 
GeneralRe: vb.net versus c# Pin
Nemanja Trifunovic29-Jul-04 6:24
Nemanja Trifunovic29-Jul-04 6:24 
GeneralRe: vb.net versus c# Pin
Dave Kreskowiak29-Jul-04 6:28
mveDave Kreskowiak29-Jul-04 6:28 
GeneralDataGrid - how to get the sort arrow in column header Pin
T Manjaly29-Jul-04 5:05
T Manjaly29-Jul-04 5:05 
GeneralRe: DataGrid - how to get the sort arrow in column header Pin
Dave Kreskowiak29-Jul-04 6:34
mveDave Kreskowiak29-Jul-04 6:34 
GeneralRe: DataGrid - how to get the sort arrow in column header Pin
T Manjaly29-Jul-04 7:25
T Manjaly29-Jul-04 7:25 
GeneralRe: DataGrid - how to get the sort arrow in column header Pin
Dave Kreskowiak29-Jul-04 8:11
mveDave Kreskowiak29-Jul-04 8:11 
Generaldatagrid problem Pin
Asim N.29-Jul-04 2:15
Asim N.29-Jul-04 2:15 
hello,
i am using a checkbox in a template column in datagrid.
The problem is that when i wan to get its value, i.e. checked is true of false.

after postback : it always give me, checked, if it is chchked by default.
and
false always, when it's not checked.
don't know y is this so ?

it's standalone, i.e. not linked with any database field.

plz help me in this.

here is the code sample:


if (e.CommandName == "Delete")
{
String Result = "";
foreach(DataGridItem dataGridItem in DataGrid1.Items)
{
//Get Checked property of Checkbox control
bool IsGraduate = ((CheckBox)dataGridItem.FindControl("CheckBox1")).Checked;

if (IsGraduate)
{
Result += "Is Graduate , ";
}
else
{
Result += "Is not Graduate , ";
}

Label1.Text = Result;
}

}


Looking for help.
what am i missing ?

Asim


Regards,
Asim
GeneralRe: datagrid problem Pin
Dave Kreskowiak29-Jul-04 6:09
mveDave Kreskowiak29-Jul-04 6:09 
GeneralConvert Print preview to jpeg file Pin
vancouver77728-Jul-04 21:27
vancouver77728-Jul-04 21:27 
GeneralTimer Function Pin
Mega128-Jul-04 16:57
Mega128-Jul-04 16:57 
GeneralRe: Timer Function Pin
Dave Kreskowiak29-Jul-04 6:04
mveDave Kreskowiak29-Jul-04 6:04 
GeneralWIA called in VB6 Pin
PLTEH28-Jul-04 16:17
PLTEH28-Jul-04 16:17 
GeneralRe: WIA called in VB6 Pin
Dave Kreskowiak29-Jul-04 5:50
mveDave Kreskowiak29-Jul-04 5:50 
GeneralRe: WIA called in VB6 Pin
PLTEH29-Jul-04 15:57
PLTEH29-Jul-04 15:57 
GeneralRe: WIA called in VB6 Pin
Dave Kreskowiak30-Jul-04 1:10
mveDave Kreskowiak30-Jul-04 1:10 
GeneralAccessing MIDI in VB Pin
Kevnar27-Jul-04 20:04
Kevnar27-Jul-04 20:04 
GeneralCreating a Tiff that is Fax Ready Pin
gthompson200527-Jul-04 16:35
gthompson200527-Jul-04 16:35 
GeneralRe: Creating a Tiff that is Fax Ready Pin
Dave Kreskowiak28-Jul-04 7:10
mveDave Kreskowiak28-Jul-04 7:10 
GeneralRe: Creating a Tiff that is Fax Ready Pin
gthompson200528-Jul-04 15:04
gthompson200528-Jul-04 15:04 
GeneralDataGrid RowHeaderClick Event Pin
ColdWaterBlue27-Jul-04 10:34
ColdWaterBlue27-Jul-04 10:34 
GeneralRe: DataGrid RowHeaderClick Event Pin
Syed Abdul Khader30-Jul-04 0:20
Syed Abdul Khader30-Jul-04 0:20 
GeneralListView: Display only txt files Pin
Brad Fackrell27-Jul-04 7:16
Brad Fackrell27-Jul-04 7:16 
GeneralRe: ListView: Display only txt files Pin
Dave Kreskowiak27-Jul-04 10:11
mveDave Kreskowiak27-Jul-04 10:11 
GeneralRe: ListView: Display only txt files Pin
Brad Fackrell27-Jul-04 10:50
Brad Fackrell27-Jul-04 10:50 

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.