Click here to Skip to main content
15,894,291 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
In Merchansdising Module there 90 or more than 100 row in Gridview loaded for Color and Size. When I save the process by clicking Save button then it not save and not show any message.
The code is here
C#
for (int i = 0; i < SizeGrid.Rows.Count; i++)
    {
        string status;
        CheckBox chkslect = (CheckBox)SizeGrid.Rows[i].FindControl("chkselect");
        Label lblSizeDimn = (Label)SizeGrid.Rows[i].FindControl("lblSizeDimn");
                   Label lblplacement = (Label)SizeGrid.Rows[i].FindControl("lblplacement");
        string maincat = grdSizeSensitivity.Rows[i].Cells[1].Text;
        string size = SizeGrid.Rows[i].Cells[2].Text;
        DropDownList drpdimn = (DropDownList)SizeGrid.Rows[i].FindControl("drpsezesenmaincat");
        string itemname = SizeGrid.Rows[i].Cells[3].Text;
       
        TextBox txtprice = (TextBox)SizeGrid.Rows[i].FindControl("txtprice");
        inventory.Update_Size(int.Parse(drpStyleno.SelectedValue), maincat, size, drpdimn.SelectedItem.Text, itemname, lblplacement.Text.Trim(), txtprice.Text.Trim(), int.Parse(status), lblSizeDimn.Text);
Posted
v3
Comments
Put this in Try Catch and start debugging. See what is the issue.
ZurdoDev 29-Jan-15 9:36am    
What is Merchandising Module? You'll have to debug this and find out what is happening.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900