Ich habe dies versucht, aber nicht ausgewählt Wert auf einen anderen Rasteransicht bekommenDatagridview mit Checkbox
string data = "";
foreach (GridViewRow row in GridView5.Rows)
{
if (row.RowType == DataControlRowType.DataRow)
{
CheckBox chkRow = (row.Cells[0].FindControl("chkCtr") CheckBox);
if (chkRow.Checked)
{
string Brand_Name = row.Cells[1].Text;
string Market_Name = row.Cells[2].Text;
string USC = row.Cells[3].Text;
string Manufacture = row.Cells[4].Text;
data = data + Brand_Name + " , ";
//;+ Market_Name + " , " + USC + ","+Manufacture+"";
gvrProducts.Visible = true;
gvrProducts.DataSource = data;
// ListBox1.DataBind();
gvrProducts.DataBind();
}
}
}
Bitte helfen
Wow, das ist ultimative Lösungen !! .. Danke. Ich werde mit mehr Zweifeln kommen;) – Prashanth