P
Pipo
Hi,
I want to bind my checkboxes during Rowcreated in the gridview.
I want to render:
<asp:CheckBox ID="chkDIS1" runat="server" Checked='<%# Bind("DIS1") %>' />
I tried:
chk.InputAttributes.Add("Checked", "'<%# Bind(""" + "DIS" +
dtt.Rows(intRowCounter).Item(0).ToString + """)" + "%>'")
But then I get Checked="'<%# Bind("DIS1") %>'" notice the extra " before and
after '<%# Bind("DIS1") %>'
also
chk.InputAttributes.Add("Checked='<%# Bind(""" + "SID" +
dtt.Rows(intRowCounter).Item(0).ToString + """)" + "%>'", Nothing)
But this does nothing.
Does anybody knows how to do this?
tia
I want to bind my checkboxes during Rowcreated in the gridview.
I want to render:
<asp:CheckBox ID="chkDIS1" runat="server" Checked='<%# Bind("DIS1") %>' />
I tried:
chk.InputAttributes.Add("Checked", "'<%# Bind(""" + "DIS" +
dtt.Rows(intRowCounter).Item(0).ToString + """)" + "%>'")
But then I get Checked="'<%# Bind("DIS1") %>'" notice the extra " before and
after '<%# Bind("DIS1") %>'
also
chk.InputAttributes.Add("Checked='<%# Bind(""" + "SID" +
dtt.Rows(intRowCounter).Item(0).ToString + """)" + "%>'", Nothing)
But this does nothing.
Does anybody knows how to do this?
tia