Hi,
How to bind sql insert statement when OnCheckedChanged.
I have tried different ways but somehow i'm doing something wrong,
so if anyone could give me some advice on how to handle this i'd appricate it.
<ig:WebDataGrid ID="WebDataGrid1" runat="server" EnableAjax="False"
Height="350px" Width="637px" AutoGenerateColumns="False">
<Columns>
<ig:BoundDataField DataFieldName="UserID" Key="UserID" Hidden="True">
<Header Text="UserID" />
</ig:BoundDataField>
<ig:BoundDataField DataFieldName="Username" Key="Username" Width="90px">
<Header Text="Username" />
</ig:BoundDataField>
<ig:TemplateDataField Key="Algemeen" Width="90px">
<ItemTemplate>
<div style="text-align: center;">
<asp:CheckBox runat="server" ID="key_Algemeen" /></div>
</ItemTemplate>
<HeaderTemplate>
<div style="text-align: center;">
<asp:Label ID="Label2" runat="server" Text="Algemeen"></asp:Label>
<input type="checkbox" name="SelectAllCheckBox" onclick="SelectAll(this);" />
</div>
</div>
</HeaderTemplate>
</ig:TemplateDataField>
<ig:TemplateDataField Key="Financieel" Width="90px">
<ItemTemplate>
<div style="text-align: center;">
<asp:CheckBox runat="server" ID="key_Financieel" /></div>
</ItemTemplate>
<HeaderTemplate>
<div style="text-align: center;">
<asp:Label ID="Label3" runat="server" Text="Financieel"></asp:Label>
<input type="checkbox" name="SelectAllCheckBox" onclick="SelectAll(this);" />
</div>
</div>
</HeaderTemplate>
</ig:TemplateDataField>
<ig:TemplateDataField Key="Licentie" Width="90px">
<ItemTemplate>
<div style="text-align: center;">
<asp:CheckBox runat="server" ID="key_Licentie" /></div>
</ItemTemplate>
<HeaderTemplate>
<div style="text-align: center;">
<asp:Label ID="Label3" runat="server" Text="Licentie"></asp:Label>
<input type="checkbox" name="SelectAllCheckBox" onclick="SelectAll(this);" />
</div>
</div>
</HeaderTemplate>
</ig:TemplateDataField>
<ig:TemplateDataField Key="Applicatie" Width="90px">
<ItemTemplate>
<div style="text-align: center;">
<asp:CheckBox runat="server" ID="key_Applicatie" /></div>
</ItemTemplate>
<HeaderTemplate>
<div style="text-align: center;">
<asp:Label ID="Label3" runat="server" Text="Applicatie"></asp:Label>
<input type="checkbox" name="SelectAllCheckBox" onclick="SelectAll(this);" />
</div>
</div>
</HeaderTemplate>
</ig:TemplateDataField>
<ig:TemplateDataField Key="UitDienst" Width="90px">
<ItemTemplate>
<div style="text-align: center;">
<asp:CheckBox runat="server" ID="key_UitDienst" /></div>
</ItemTemplate>
<HeaderTemplate>
<div style="text-align: center;">
<asp:Label ID="Label3" runat="server" Text="Uit Dienst"></asp:Label>
<input type="checkbox" name="SelectAllCheckBox" onclick="SelectAll(this);" />
</div>
</div>
</HeaderTemplate>
</ig:TemplateDataField>
</Columns>
<Behaviors>
<ig:Sorting>
</ig:Sorting>
</Behaviors>
</ig:WebDataGrid>
|