protected void gvCamsKarvy_ItemDataBound(object sender, GridItemEventArgs e)
        {
            customerBo = new CustomerBo();
            if (e.Item is GridEditFormInsertItem && e.Item.OwnerTableView.IsItemInserted)
            {
                GridEditFormInsertItem item = (GridEditFormInsertItem)e.Item;
                DropDownList           ddlclassificationCode = (DropDownList)item.FindControl("ddlclassificationCode");
                dsTransactionType = customerTransactionBo.GetMFTransactionType();
                ddlclassificationCode.DataValueField = "WMTT_TransactionClassificationCode";
                ddlclassificationCode.DataTextField  = "WMTT_TransactionClassificationName";
                ddlclassificationCode.DataSource     = dsTransactionType;
                ddlclassificationCode.DataBind();
                ddlclassificationCode.Items.Insert(0, new ListItem("Select", "Select"));
            }
            if (e.Item is GridDataItem)
            {
                //GridDataItem dataItem = e.Item as GridDataItem;
                //LinkButton buttonEdit = dataItem["editColumn"].Controls[0] as LinkButton;
                //LinkButton buttonDelete = dataItem["deleteColumn"].Controls[0] as LinkButton;
                //Label lbl = new Label();
                //lbl = (Label)e.Item.FindControl("lblFiletypeId");
                //if (schemeName == "AMFI" || schemeName == "ValueResearch" || schemeName == "AF")
                //{
                //    buttonEdit.Enabled = false;
                //    buttonDelete.Enabled = false;
                //    buttonDelete.Attributes["onclick"] = "return alert('You cannot delete this scheme')";
                //    buttonEdit.Attributes["onclick"] = "return alert('You cannot Edit this scheme')";
                //}
            }

            if (e.Item is GridEditFormItem && e.Item.IsInEditMode && e.Item.ItemIndex != -1)
            {
                string strClassificationCode = gvCamsKarvy.MasterTableView.DataKeyValues[e.Item.ItemIndex]["ClassificationCode"].ToString();;

                GridEditFormItem editedItem            = (GridEditFormItem)e.Item;
                DropDownList     ddlclassificationCode = (DropDownList)editedItem.FindControl("ddlclassificationCode");
                dsTransactionType = customerTransactionBo.GetMFTransactionType();
                ddlclassificationCode.DataValueField = "WMTT_TransactionClassificationCode";
                ddlclassificationCode.DataTextField  = "WMTT_TransactionClassificationName";
                ddlclassificationCode.DataSource     = dsTransactionType;
                ddlclassificationCode.DataBind();
                ddlclassificationCode.SelectedValue = strClassificationCode;
            }
        }