Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Kylin #1
CheckBox in DataGrid .
How can I judge which checkbox is checked ?
for(int i=0;i<dgOrderList.Items.Count;i++)
{
CheckBox
ordercheck=(CheckBox)dgOrderList.Items[i].FindControl("OrderCheck");
if (ordercheck.Checked==true)
{
Response.Write(i.ToString());
}
}
and no results that I want to have ,
any help ?
Kylin Guest
-
CheckBox in Datagrid
Hello can anyone help me for displaying a checkbox into datagrid. thanks -
Howto bind CheckBox to the datagrid/ Then update the database field when the checkbox is clicked.
I am trying to update the database field when the checkbox is clicked. I am trying to modified the following solution but.. got stuck on the... -
how to add checkbox to a datagrid?
Hello, I am trying to add a checkbox to a datagrid. But i dont want to bind a data with the checkBox. I only want to know if any user has chacked... -
Added CheckBox to a DataGrid Doesn't work with DataGrid.Enabled=False
I have created a Template Column and Added to a Datagrid, which contains a checkBox. The column is not Binded to any column of the Dataset, but is... -
DataGrid&CheckBox
I have a problem with handle an exception on DataGrid - TemplateColumn I have a datagrid with many columns. One of them is itemID. Second is... -
dinil #2
Re: CheckBox in DataGrid .
check whether the checkbox is a server control.
"Kylin" <w0wd@sohu.com> wrote in message
news:ewlAksvRFHA.3420@TK2MSFTNGP14.phx.gbl...> How can I judge which checkbox is checked ?
>
>
>
> for(int i=0;i<dgOrderList.Items.Count;i++)
> {
> CheckBox
> ordercheck=(CheckBox)dgOrderList.Items[i].FindControl("OrderCheck");
> if (ordercheck.Checked==true)
> {
> Response.Write(i.ToString());
> }
>
> }
>
> and no results that I want to have ,
> any help ?
>
>
>
dinil Guest



Reply With Quote

