Dec 4, 2010

How to check the Data List / List view Selected items In Java Script

            string id = "";
            string id1 = "";
            for (int i = 0; i < dlBuddy.Items.Count; i++)
            {
                HtmlInputCheckBox chk = (HtmlInputCheckBox)dlBuddy.Items[i].FindControl("CheckBox1");
                if (chk.Checked == true)
                {
                    string chkid = chk.Value;
                    id = id + "," + chkid;
                }

            }

No comments:

Post a Comment

What is the use of n-tier architecture and 3-tier architecture?

how to implement 3-tier architecture in asp.net using c#. 3-Tier architecture is also called layered architecture. Some people called it ...