public void Ejecutar_SP_MigraCompras_XML(string strSP, double FCTCOM_COM_TOT_TP, double FCTCOM_COM_TOT_MN, double FCTCOM_COM_TOT_ME, double FCTCOM_UDS_TOTS, double FCTCOM_CANC_TP, double FCTCOM_CANC_MN, double FCTCOM_CANC_ME , double FCTCOM_DEVS_TP, double FCTCOM_DEVS_MN, double FCTCOM_DEVS_ME, double FCTCOM_UDS_DEVS, double FCTCOM_NOTA_TP, double FCTCOM_NOTA_MN , double FCTCOM_NOTA_ME, double FCTCOM_DESCTOS_TP, double FCTCOM_DESCTOS_MN, double FCTCOM_DESCTOS_ME, double FCTCOM_COM_BRT_TP, double FCTCOM_COM_BRT_MN, double FCTCOM_COM_BRT_ME , string FCTCOM_FCH, string FCTCOM_EMPR_ID,string FCTCOM_ARTI_ID, string FCTCOM_OART_ID, string FCTCOM_AD1A_ID, string FCTCOM_AD2A_ID, string FCTCOM_AD3A_ID, string FCTCOM_AD4A_ID , string FCTCOM_AD5A_ID, string FCTCOM_ALTE_ID, string FCTCOM_PRO_ID,string FCTCOM_OPRO_ID, string FCTCOM_AD1P_ID, string FCTCOM_AD2P_ID, string FCTCOM_CIUP_ID) { ConexionBD conexionDB = new ConexionBD(CadenaConexion); try { sSQL = strSP.ToString() + " " + FCTCOM_COM_TOT_TP + "," + FCTCOM_COM_TOT_MN + "," + FCTCOM_COM_TOT_ME + "," + FCTCOM_UDS_TOTS + "," + FCTCOM_CANC_TP + "," + FCTCOM_CANC_MN + "," + FCTCOM_CANC_ME + "," + FCTCOM_DEVS_TP + "," + FCTCOM_DEVS_MN + "," + FCTCOM_DEVS_ME + "," + FCTCOM_UDS_DEVS + "," + FCTCOM_NOTA_TP + "," + FCTCOM_NOTA_MN + "," + FCTCOM_NOTA_ME + "," + FCTCOM_DESCTOS_TP + "," + FCTCOM_DESCTOS_MN + "," + FCTCOM_DESCTOS_ME + "," + FCTCOM_COM_BRT_TP + "," + FCTCOM_COM_BRT_MN + "," + FCTCOM_COM_BRT_ME + ",'" + FCTCOM_FCH + "','" + FCTCOM_EMPR_ID + "','" + FCTCOM_ARTI_ID + "','" + FCTCOM_OART_ID + "','" + FCTCOM_AD1A_ID + "','" + FCTCOM_AD2A_ID + "','" + FCTCOM_AD3A_ID + "','" + FCTCOM_AD4A_ID + "','" + FCTCOM_AD5A_ID + "','" + FCTCOM_ALTE_ID + "','" + FCTCOM_PRO_ID + "','" + FCTCOM_OPRO_ID + "','" + FCTCOM_AD1P_ID + "','" + FCTCOM_AD2P_ID + "','" + FCTCOM_CIUP_ID + "'"; DataSet oDtb = conexionDB.GetDataSet(sSQL); } finally { conexionDB.Dispose(); } }