when i selecting row from gridview and data getting loading into textbox and dropdownlist,when data get load in dropdown list value getting double to display ....
- protected void GVCon_SelectedIndexChanged(object sender, EventArgs e)
- {
- cno.Text = GVCon.SelectedRow.Cells[1].Text;
- txtcontainer.Text = GVCon.SelectedRow.Cells[2].Text;
- txtWeight.Text = GVCon.SelectedRow.Cells[3].Text;
- txtbaletotal.Text = GVCon.SelectedRow.Cells[5].Text;
-
-
-
- DDLCAT.SelectedItem.Text = GVCon.SelectedRow.Cells[6].Text;
DDLCat.selecteditem.text = GVcon.selectedRow.cells[6].Text;here is screen shot... Goodwill getting double display ....