Vs 2013 datagrid customization
hi, I'm using vs 2013 rite now im doing a project in winforms in that i want to create a dropdownlist box in my datagrid while im adding a new row dynamically and i have already bind the datagrid to a data source.. so pls help me with the code.. Thank u!!
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Joginder BangerRank #360 · 7K reputationPosted Oct 15, 2014, 6:56 PM EDT
void CustomersGridView_RowDataBound(Object sender, GridViewRowEventArgs e)
{
if(e.Row.RowType == DataControlRowType.DataRow)
{ // Display the company name in italics.
e.Row.Cells[1].Text = "" + e.Row.Cells[1].Text + "";
}
}
i hope your problem had been solved.