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 Reply
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.
Harvey DevakumarPosted Jun 13, 2012, 7:05 AM
this will render a checkbox in that area.
Try adding like this.