Hi,
Please try below code.
protected void Page_Load(object sender, EventArgs e)
{
string s = "547283,546748,545497,545106,543740";
string[] values = s.Split(',');
GridView1.Columns.Add(new TemplateField());
BoundField a = new BoundField();
GridView1.Columns.Add(a);
GridView1.DataSource = values;
GridView1.DataBind();
}
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType != DataControlRowType.Header)
{
e.Row.Cells[0].Controls.Add(new CheckBox());
}
}