check box inside data list and data list bind from database.
first i checked check box than select quantity from drop_quantity and than click button submit data...
i want when click on button get value of check box and there quantity
runat="server">
OnClick="sbmt_btn_Click1" Style="margin-left: 695px; margin-top: -32px;" />
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Devendra KumarPosted Feb 6, 2016, 1:26 AM
ali tuncerPosted Feb 6, 2016, 1:09 AM
I guess you want something like this:
{
CheckBox chk = (CheckBox)item.FindControl("chkbox");
DropDownList drp = (DropDownList)item.FindControl("drop_quantity");
}