protected void GetProductImagesByProductID() { CustomProfile profile = CustomProfile.GetProfile(); if (hdnprodID.Value == "") { hdnprodID.Value = "0"; } iProductMasterClient productClient = new iProductMasterClient(); GVImages.DataSource = productClient.GetProductImagesByProductID(Convert.ToInt64(hdnprodID.Value), Session.SessionID.ToString(), profile.Personal.UserID.ToString(), profile.DBConnection._constr); GVImages.DataBind(); productClient.Close(); }