Hi..
I am using HTML table grid .
I want to set check box in first column of grid.
i am using the append method to fetch the data from database
here is my code..
public void load_builder()
{
SqlConnection con = new SqlConnection(constring);
con.Open();
string sql = "select category_code,category,created_date from category";
SqlCommand cmd = new SqlCommand(sql, con);
SqlDataReader dr;
dr = cmd.ExecuteReader();
//sb.Append("");
while (dr.Read())
{
sb.Append("
sb.Append("
sb.Append("
sb.Append("
sb.Append("
sb.Append("
}
}
Instead of select i want to set checkbox.
pls help me..
Advanx thx..
Sudharsan S.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsForums
Top experts
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Harvey Devakumar24 reputationPosted Jun 13, 2012, 3:05 AM EDT
this will render a checkbox in that area.
Try adding like this.