V
ven
HELLO
i have datagrid with template column
<asp:TemplateColumn HeaderText="nazwa">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Left"></ItemStyle>
<ItemTemplate>
<P>
<asp:LinkButton id=LinkButton1 runat="server"
CausesValidation="False" Text='<%# DataBinder.Eval(Container,
"DataItem.name") %>' CommandName="szczegol" CommandArgument='<%#
Container.DataItem("id_artykulu") %>'>
</asp:LinkButton></P>
<P>
<asp:Label id=Label2 runat="server" Text='<%#
DataBinder.Eval(Container, "DataItem.description") %>'>
</asp:Label></P>
</ItemTemplate>
</asp:TemplateColumn>
where i have name of the item and description of item....
Now i wanna to add selection on page that will allow selecting that
description is visible or not visible
i wanna use dropdownlist with two values - visible and not visible then :
if dropdownlist1.selectedvalue="visible" then
?????????????
else
?????????????
end if
How can i do that ?
i have datagrid with template column
<asp:TemplateColumn HeaderText="nazwa">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Left"></ItemStyle>
<ItemTemplate>
<P>
<asp:LinkButton id=LinkButton1 runat="server"
CausesValidation="False" Text='<%# DataBinder.Eval(Container,
"DataItem.name") %>' CommandName="szczegol" CommandArgument='<%#
Container.DataItem("id_artykulu") %>'>
</asp:LinkButton></P>
<P>
<asp:Label id=Label2 runat="server" Text='<%#
DataBinder.Eval(Container, "DataItem.description") %>'>
</asp:Label></P>
</ItemTemplate>
</asp:TemplateColumn>
where i have name of the item and description of item....
Now i wanna to add selection on page that will allow selecting that
description is visible or not visible
i wanna use dropdownlist with two values - visible and not visible then :
if dropdownlist1.selectedvalue="visible" then
?????????????
else
?????????????
end if
How can i do that ?