public static string PartnerInfo(string Partner_Name, string Partner_DOB, string Partner_Gender, string Partner_Resi_Address, string Partner_Mobile, string Partner_Qualification, string Partner_Exp, string Partner_ID_Proof, string Partner_ID_Number, string Partner_Addr_Proof, string Partner_AddrProof_Num, string Partner_PAN_DIN_Num, string Partner_Relation) { PMMYLoanForm Loandata = (PMMYLoanForm)HttpContext.Current.Session["Loan"]; Loandata.Partner_Name = Partner_Name; Loandata.Partner_DOB = Partner_DOB; Loandata.Partner_Gender = Partner_Gender; Loandata.Partner_Resi_Address = Partner_Resi_Address; Loandata.Partner_Mobile = Partner_Mobile; Loandata.Partner_Qualification = Partner_Qualification; Loandata.Partner_Exp = Partner_Exp; Loandata.Partner_ID_Proof = Partner_ID_Proof; Loandata.Partner_ID_Number = Partner_ID_Number; Loandata.Partner_Addr_Proof = Partner_Addr_Proof; Loandata.Partner_AddrProof_Num = Partner_AddrProof_Num; Loandata.Partner_PAN_DIN_Num = Partner_PAN_DIN_Num; Loandata.Partner_Relation = Partner_Relation; var stringwriter = new System.IO.StringWriter(); var serializer = new XmlSerializer(Loandata.GetType()); serializer.Serialize(stringwriter, Loandata); HttpContext.Current.Session["Loan"] = Loandata; return("hello"); }
public static string SatutoryInfo(string SatutoryObl_Reg_Shop, string SatutoryObl_Reg_ShopRemark, string SatutoryObl_Reg_MSME, string SatutoryObl_Reg_MSMERemark, string SatutoryObl_DrugLicense, string SatutoryObl_DrugLicense_Remark, string SatutoryObl_SaleReturn_File, string SatutoryObl_SaleReturn_File_Remark, string SatutoryObl_ITReturn_File, string SatutoryObl_ITReturn_File_Remark, string SatutoryObl_Dues_Remain, string SatutoryObl_Dues_RemainRemark) { PMMYLoanForm Loandata = (PMMYLoanForm)HttpContext.Current.Session["Loan"]; Loandata.SatutoryObl_Reg_Shop = SatutoryObl_Reg_Shop; Loandata.SatutoryObl_Reg_ShopRemark = SatutoryObl_Reg_ShopRemark; Loandata.SatutoryObl_Reg_MSME = SatutoryObl_Reg_MSME; Loandata.SatutoryObl_Reg_MSMERemark = SatutoryObl_Reg_MSMERemark; Loandata.SatutoryObl_DrugLicense = SatutoryObl_DrugLicense; Loandata.SatutoryObl_DrugLicense_Remark = SatutoryObl_DrugLicense_Remark; Loandata.SatutoryObl_SaleReturn_File = SatutoryObl_SaleReturn_File; Loandata.SatutoryObl_SaleReturn_File_Remark = SatutoryObl_SaleReturn_File_Remark; Loandata.SatutoryObl_ITReturn_File = SatutoryObl_ITReturn_File; Loandata.SatutoryObl_ITReturn_File_Remark = SatutoryObl_ITReturn_File_Remark; Loandata.SatutoryObl_Dues_Remain = SatutoryObl_Dues_Remain; Loandata.SatutoryObl_Dues_RemainRemark = SatutoryObl_Dues_RemainRemark; var stringwriter = new System.IO.StringWriter(); var serializer = new XmlSerializer(Loandata.GetType()); serializer.Serialize(stringwriter, Loandata); HttpContext.Current.Session["Loan"] = Loandata; return("hello"); }
public static string PastFutureInfo(string PastPerf_PYII_Act_NetSale, string PastPerf_PYII_Act_NetProfit, string PastPerf_PYII_Act_Capital, string PastPerf_PYI_Act_NetSale, string PastPerf_PYI_Act_NetProfit, string PastPerf_PYI_Act_Capital, string PresentYear_Est_NetSale, string PresentYear_Est_NetProfit, string PresentYear_Est_Capital, string NextYear_Proj_NetSale, string NextYear_Proj_NetProfit, string NextYear_Proj_Capital) { PMMYLoanForm Loandata = (PMMYLoanForm)HttpContext.Current.Session["Loan"]; Loandata.PastPerf_PYII_Act_NetSale = PastPerf_PYII_Act_NetSale; Loandata.PastPerf_PYII_Act_NetProfit = PastPerf_PYII_Act_NetProfit; Loandata.PastPerf_PYII_Act_Capital = PastPerf_PYII_Act_Capital; Loandata.PastPerf_PYI_Act_NetSale = PastPerf_PYI_Act_NetSale; Loandata.PastPerf_PYI_Act_NetProfit = PastPerf_PYI_Act_NetProfit; Loandata.PastPerf_PYI_Act_Capital = PastPerf_PYI_Act_Capital; Loandata.PresentYear_Est_NetSale = PresentYear_Est_NetSale; Loandata.PresentYear_Est_NetProfit = PresentYear_Est_NetProfit; Loandata.PresentYear_Est_Capital = PresentYear_Est_Capital; Loandata.NextYear_Proj_NetSale = NextYear_Proj_NetSale; Loandata.NextYear_Proj_NetProfit = NextYear_Proj_NetProfit; Loandata.NextYear_Proj_Capital = NextYear_Proj_Capital; var stringwriter = new System.IO.StringWriter(); var serializer = new XmlSerializer(Loandata.GetType()); serializer.Serialize(stringwriter, Loandata); HttpContext.Current.Session["Loan"] = Loandata; return("hello"); }
public static string CashCreditInfo(string CCL_WC_ActSale_previousFY, string CCL_WC_ActSale_currFY, string CCL_WC_Proj_Sale, string CCL_WC_Proj_Cycle, string CCL_WC_Proj_Inventory, string CCL_WC_Proj_Debtors, string CCL_WC_Proj_Creditors, string CCL_WC_Proj_Promot_Contri, string CCL_WC_Proj_Limit, string CCL_TL_MachineEquip, string CCL_TL_Purpose, string CCL_TL_SupplierName, string CCL_TL_MachineCost, string CCL_TL_Promote_Contri, string CCL_TL_Loan_Req, string CCL_TL_Repayment_Period) { PMMYLoanForm Loandata = (PMMYLoanForm)HttpContext.Current.Session["Loan"]; Loandata.CCL_WC_ActSale_previousFY = CCL_WC_ActSale_previousFY; Loandata.CCL_WC_ActSale_currFY = CCL_WC_ActSale_currFY; Loandata.CCL_WC_Proj_Sale = CCL_WC_Proj_Sale; Loandata.CCL_WC_Proj_Cycle = CCL_WC_Proj_Cycle; Loandata.CCL_WC_Proj_Inventory = CCL_WC_Proj_Inventory; Loandata.CCL_WC_Proj_Debtors = CCL_WC_Proj_Debtors; Loandata.CCL_WC_Proj_Creditors = CCL_WC_Proj_Creditors; Loandata.CCL_WC_Proj_Promot_Contri = CCL_WC_Proj_Promot_Contri; Loandata.CCL_WC_Proj_Limit = CCL_WC_Proj_Limit; Loandata.CCL_TL_MachineEquip = CCL_TL_MachineEquip; Loandata.CCL_TL_Purpose = CCL_TL_Purpose; Loandata.CCL_TL_SupplierName = CCL_TL_SupplierName; Loandata.CCL_TL_MachineCost = CCL_TL_MachineCost; Loandata.CCL_TL_Promote_Contri = CCL_TL_Promote_Contri; Loandata.CCL_TL_Loan_Req = CCL_TL_Loan_Req; Loandata.CCL_TL_Repayment_Period = CCL_TL_Repayment_Period; var stringwriter = new System.IO.StringWriter(); var serializer = new XmlSerializer(Loandata.GetType()); serializer.Serialize(stringwriter, Loandata); HttpContext.Current.Session["Loan"] = Loandata; return("hello"); }
public static string BankingCreditInfo(string CR_Exist_SA_Banking, string CR_Exist_SA_Outstanding, string CR_Exist_SA_Status, string CR_Exist_CA_Banking, string CR_Exist_CA_Outstanding, string CR_Exist_CA_Status, string CR_Exist_CC_Banking, string CR_Exist_CC_LimitAvailed, string CR_Exist_CC_Outstanding, string CR_Exist_CC_SecurityLodg, string CR_Exist_CC_Status, string CR_Exist_TL_Banking, string CR_Exist_TL_LimitAvailed, string CR_Exist_TL_Outstanding, string CR_Exist_TL_SecurityLodg, string CR_Exist_TL_Status, string CR_Exist_LGBG_Banking, string CR_Exist_LGBG_Limit, string CR_Exist_LGBG_Outstanding, string CR_Exist_LGBG_SecurityLodg, string CR_Exist_LGBG_Status, string CR_Prop_CC_Amount, string CR_Prop_CC_Purpose, string CR_Prop_CC_SecurityOffer, string CR_Prop_TL_Amount, string CR_Prop_TL_Purpose, string CR_Prop_TL_SecurityOffer, string CR_Prop_LGBG_Amount, string CR_Prop_LGBG_Purpose, string CR_Prop_LGBG_SecurityOffer) { PMMYLoanForm Loandata = (PMMYLoanForm)HttpContext.Current.Session["Loan"]; Loandata.CR_Exist_SA_Banking = CR_Exist_SA_Banking; Loandata.CR_Exist_SA_Outstanding = CR_Exist_SA_Outstanding; Loandata.CR_Exist_SA_Status = CR_Exist_SA_Status; Loandata.CR_Exist_CA_Banking = CR_Exist_CA_Banking; Loandata.CR_Exist_CA_Outstanding = CR_Exist_CA_Outstanding; Loandata.CR_Exist_CA_Status = CR_Exist_CA_Status; Loandata.CR_Exist_CC_Banking = CR_Exist_CC_Banking; Loandata.CR_Exist_CC_LimitAvailed = CR_Exist_CC_LimitAvailed; Loandata.CR_Exist_CC_Outstanding = CR_Exist_CC_Outstanding; Loandata.CR_Exist_CC_SecurityLodg = CR_Exist_CC_SecurityLodg; Loandata.CR_Exist_CC_Status = CR_Exist_CC_Status; Loandata.CR_Exist_TL_Banking = CR_Exist_TL_Banking; Loandata.CR_Exist_TL_LimitAvailed = CR_Exist_TL_LimitAvailed; Loandata.CR_Exist_TL_Outstanding = CR_Exist_TL_Outstanding; Loandata.CR_Exist_TL_SecurityLodg = CR_Exist_TL_SecurityLodg; Loandata.CR_Exist_TL_Status = CR_Exist_TL_Status; Loandata.CR_Exist_LGBG_Banking = CR_Exist_LGBG_Banking; Loandata.CR_Exist_LGBG_Limit = CR_Exist_LGBG_Limit; Loandata.CR_Exist_LGBG_Outstanding = CR_Exist_LGBG_Outstanding; Loandata.CR_Exist_LGBG_SecurityLodg = CR_Exist_LGBG_SecurityLodg; Loandata.CR_Exist_LGBG_Status = CR_Exist_LGBG_Status; Loandata.CR_Prop_CC_Amount = CR_Prop_CC_Amount; Loandata.CR_Prop_CC_Purpose = CR_Prop_CC_Purpose; Loandata.CR_Prop_CC_SecurityOffer = CR_Prop_CC_SecurityOffer; Loandata.CR_Prop_TL_Amount = CR_Prop_TL_Amount; Loandata.CR_Prop_TL_Purpose = CR_Prop_TL_Purpose; Loandata.CR_Prop_TL_SecurityOffer = CR_Prop_TL_SecurityOffer; Loandata.CR_Prop_LGBG_Amount = CR_Prop_LGBG_Amount; Loandata.CR_Prop_LGBG_Purpose = CR_Prop_LGBG_Purpose; Loandata.CR_Prop_LGBG_SecurityOffer = CR_Prop_LGBG_SecurityOffer; var stringwriter = new System.IO.StringWriter(); var serializer = new XmlSerializer(Loandata.GetType()); serializer.Serialize(stringwriter, Loandata); HttpContext.Current.Session["Loan"] = Loandata; return("hello"); }
public static string AssociateInfo(string Associate_Name, string Associate_Addr, string Associate_Present_Banking, string Associate_Nature, string Associate_Interest, string Associate_Relation) { PMMYLoanForm Loandata = (PMMYLoanForm)HttpContext.Current.Session["Loan"]; Loandata.Associate_Name = Associate_Name; Loandata.Associate_Addr = Associate_Addr; Loandata.Associate_Present_Banking = Associate_Present_Banking; Loandata.Associate_Nature = Associate_Nature; Loandata.Associate_Interest = Associate_Interest; Loandata.Associate_Relation = Associate_Relation; var stringwriter = new System.IO.StringWriter(); var serializer = new XmlSerializer(Loandata.GetType()); serializer.Serialize(stringwriter, Loandata); HttpContext.Current.Session["Loan"] = Loandata; return("hello"); }
public static string BusinessInfo(string BusiInfo_Enterprise_Name, string BusiInfo_Constitution, string BusiInfo_Curr_Address, string BusiInfo_Pincode, string BusiInfo_State, string BusiInfo_District, string BusiInfo_Location, string BusiInfo_Premises, string BusiInfo_Mobile, string BusiInfo_Email, string BusiInfo_Act_Existing, string BusiInfo_Act_Proposed, string BusiInfo_Commencement_Dt, string BusiInfo_IsUnitReg, string BusiInfo_Reg_Number, string BusiInfo_Resi_Address, string BusiInfo_Social_Cat, string BusiInfo_MonorityComm) { PMMYLoanForm Loandata = (PMMYLoanForm)HttpContext.Current.Session["Loan"]; Loandata.BusiInfo_Enterprise_Name = BusiInfo_Enterprise_Name; Loandata.BusiInfo_Constitution = BusiInfo_Constitution; Loandata.BusiInfo_Curr_Address = BusiInfo_Curr_Address; Loandata.BusiInfo_Pincode = BusiInfo_Pincode; Loandata.BusiInfo_State = BusiInfo_State; Loandata.BusiInfo_District = BusiInfo_District; Loandata.BusiInfo_Location = BusiInfo_Location; Loandata.BusiInfo_Premises = BusiInfo_Premises; Loandata.BusiInfo_Mobile = BusiInfo_Mobile; Loandata.BusiInfo_Email = BusiInfo_Email; Loandata.BusiInfo_Act_Existing = BusiInfo_Act_Existing; Loandata.BusiInfo_Act_Proposed = BusiInfo_Act_Proposed; Loandata.BusiInfo_Commencement_Dt = BusiInfo_Commencement_Dt; Loandata.BusiInfo_IsUnitReg = BusiInfo_IsUnitReg; Loandata.BusiInfo_Reg_Number = BusiInfo_Reg_Number; Loandata.BusiInfo_Resi_Address = BusiInfo_Resi_Address; Loandata.BusiInfo_Social_Cat = BusiInfo_Social_Cat; Loandata.BusiInfo_MonorityComm = BusiInfo_MonorityComm; var stringwriter = new System.IO.StringWriter(); var serializer = new XmlSerializer(Loandata.GetType()); serializer.Serialize(stringwriter, Loandata); HttpContext.Current.Session["Loan"] = Loandata; return("hello"); }
public static string BankInfo(string Bank, string Bank_Branch, string Branch_ID) { PMMYLoanForm Loandata = (PMMYLoanForm)HttpContext.Current.Session["Loan"]; Loandata.Bank = Bank; Loandata.Bank_Branch = Bank_Branch; var stringwriter = new System.IO.StringWriter(); var serializer = new XmlSerializer(Loandata.GetType()); serializer.Serialize(stringwriter, Loandata); XmlDocument xml = new XmlDocument(); xml.LoadXml(stringwriter.ToString()); XmlNodeList nodes = xml.SelectNodes("PMMYLoanForm"); //xml.ChildNodes[0].RemoveAll(); foreach (XmlNode node in nodes) { //node.ParentNode.RemoveChild(node); node.Attributes.RemoveNamedItem("xmlns:xsi"); node.Attributes.RemoveNamedItem("xmlns:xsd"); } string strxml = xml.ChildNodes[1].OuterXml; //string xml = "<?xml version="1.0" encoding="utf-16"?><PMMYLoanForm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><BusiInfo_Enterprise_Name>xgsdgsdgsdg</BusiInfo_Enterprise_Name><BusiInfo_Constitution>Partnership</BusiInfo_Constitution><BusiInfo_Curr_Address>sdgsdg</BusiInfo_Curr_Address><BusiInfo_Pincode>dgsdg</BusiInfo_Pincode><BusiInfo_State>sgsgdg</BusiInfo_State><BusiInfo_District>sdgsgsd</BusiInfo_District><BusiInfo_Location>Choose your option</BusiInfo_Location><BusiInfo_Premises>Owned</BusiInfo_Premises><BusiInfo_Mobile>sdgsdf</BusiInfo_Mobile><BusiInfo_Email>[email protected]</BusiInfo_Email><BusiInfo_Act_Existing>dfhdfh</BusiInfo_Act_Existing><BusiInfo_Act_Proposed>fhghgh</BusiInfo_Act_Proposed><BusiInfo_Commencement_Dt>10-Jun-2018</BusiInfo_Commencement_Dt><BusiInfo_IsUnitReg>Yes</BusiInfo_IsUnitReg><BusiInfo_Reg_Number>fghfhgh</BusiInfo_Reg_Number><BusiInfo_Resi_Address>hgh</BusiInfo_Resi_Address><BusiInfo_Social_Cat>Minority Community</BusiInfo_Social_Cat><BusiInfo_MonorityComm>Jains</BusiInfo_MonorityComm><Partner_Name>bvxcbvbv</Partner_Name><Partner_DOB>10-Jun-2018</Partner_DOB><Partner_Gender>Male</Partner_Gender><Partner_Resi_Address>thdf</Partner_Resi_Address><Partner_Mobile>hdfhdfh</Partner_Mobile><Partner_Qualification>dfhdfh</Partner_Qualification><Partner_Exp>dfhdfh</Partner_Exp><Partner_ID_Proof>Aadhar</Partner_ID_Proof><Partner_ID_Number>dfhdfh</Partner_ID_Number><Partner_Addr_Proof>Aadhar</Partner_Addr_Proof><Partner_AddrProof_Num>dhdfh</Partner_AddrProof_Num><Partner_PAN_DIN_Num>dfhdfh</Partner_PAN_DIN_Num><Partner_Relation>dhdfhdfh</Partner_Relation><Associate_Name>vdfdgdf</Associate_Name><Associate_Addr>dgsdgfgf</Associate_Addr><Associate_Present_Banking>dghdgdf</Associate_Present_Banking><Associate_Nature>dgdfgd</Associate_Nature><Associate_Interest>dgdf</Associate_Interest><Associate_Relation>dgdfgd</Associate_Relation><CR_Exist_SA_Banking>dfhdf</CR_Exist_SA_Banking><CR_Exist_SA_Outstanding /><CR_Exist_SA_Status>dghdfg</CR_Exist_SA_Status><CR_Exist_CA_Banking>dgdgdfgf</CR_Exist_CA_Banking><CR_Exist_CA_Outstanding>dfgdfgdf</CR_Exist_CA_Outstanding><CR_Exist_CA_Status>dfgdfgdfgd</CR_Exist_CA_Status><CR_Exist_CC_Banking>dfgdg</CR_Exist_CC_Banking><CR_Exist_CC_LimitAvailed>hjfgjf</CR_Exist_CC_LimitAvailed><CR_Exist_CC_Outstanding>sdfsfsd</CR_Exist_CC_Outstanding><CR_Exist_CC_SecurityLodg>jfgjf</CR_Exist_CC_SecurityLodg><CR_Exist_CC_Status>jdfdfjdf</CR_Exist_CC_Status><CR_Exist_TL_Banking>dfhjdfdfh</CR_Exist_TL_Banking><CR_Exist_TL_LimitAvailed>dfhdfhd</CR_Exist_TL_LimitAvailed><CR_Exist_TL_Outstanding>dhdffdfh</CR_Exist_TL_Outstanding><CR_Exist_TL_SecurityLodg>dhdfhdfh</CR_Exist_TL_SecurityLodg><CR_Exist_TL_Status>dhdfhdfh</CR_Exist_TL_Status><CR_Exist_LGBG_Banking>dhdfhd</CR_Exist_LGBG_Banking><CR_Exist_LGBG_Limit>hjghjff</CR_Exist_LGBG_Limit><CR_Exist_LGBG_Outstanding>dfdfhdh</CR_Exist_LGBG_Outstanding><CR_Exist_LGBG_SecurityLodg>dfhdfhdf</CR_Exist_LGBG_SecurityLodg><CR_Exist_LGBG_Status>dfhdfhdf</CR_Exist_LGBG_Status><CR_Prop_CC_Amount>dhdfhdfh</CR_Prop_CC_Amount><CR_Prop_CC_Purpose>dhdfhfh</CR_Prop_CC_Purpose><CR_Prop_CC_SecurityOffer>dfhdfhdf</CR_Prop_CC_SecurityOffer><CR_Prop_TL_Amount>dhdfhdfhfh</CR_Prop_TL_Amount><CR_Prop_TL_Purpose>dfhdfhdfh</CR_Prop_TL_Purpose><CR_Prop_TL_SecurityOffer>dhdfhdfhdfh</CR_Prop_TL_SecurityOffer><CR_Prop_LGBG_Amount>dhdfhdfh</CR_Prop_LGBG_Amount><CR_Prop_LGBG_Purpose>dfhdfhdf</CR_Prop_LGBG_Purpose><CR_Prop_LGBG_SecurityOffer>dfhdfhfh</CR_Prop_LGBG_SecurityOffer><CCL_WC_ActSale_previousFY>dhdhdfhdfh</CCL_WC_ActSale_previousFY><CCL_WC_ActSale_currFY>dfhdhfdfh</CCL_WC_ActSale_currFY><CCL_WC_Proj_Sale>dfhdfhdh</CCL_WC_Proj_Sale><CCL_WC_Proj_Cycle>dfhdfh</CCL_WC_Proj_Cycle><CCL_WC_Proj_Inventory>dhdfh</CCL_WC_Proj_Inventory><CCL_WC_Proj_Debtors>dfhdfh</CCL_WC_Proj_Debtors><CCL_WC_Proj_Creditors>dfhdfhd</CCL_WC_Proj_Creditors><CCL_WC_Proj_Promot_Contri>dfhdfhdfh</CCL_WC_Proj_Promot_Contri><CCL_WC_Proj_Limit>ghg</CCL_WC_Proj_Limit><CCL_TL_MachineEquip>dfhydey</CCL_TL_MachineEquip><CCL_TL_Purpose>ryerye</CCL_TL_Purpose><CCL_TL_SupplierName>cdhc</CCL_TL_SupplierName><CCL_TL_MachineCost>chdfhdfh</CCL_TL_MachineCost><CCL_TL_Promote_Contri>dfhdfhdfh</CCL_TL_Promote_Contri><CCL_TL_Loan_Req>dhdfhdf</CCL_TL_Loan_Req><CCL_TL_Repayment_Period>dhdfdf</CCL_TL_Repayment_Period><PastPerf_PYII_Act_NetSale>klhjsdkl</PastPerf_PYII_Act_NetSale><PastPerf_PYII_Act_NetProfit>kjhjkhjkh</PastPerf_PYII_Act_NetProfit><PastPerf_PYII_Act_Capital>kjhjkhjkhjk</PastPerf_PYII_Act_Capital><PastPerf_PYI_Act_NetSale>kjghkjhjkhjk</PastPerf_PYI_Act_NetSale><PastPerf_PYI_Act_NetProfit>kjhjkhjkhjkh</PastPerf_PYI_Act_NetProfit><PastPerf_PYI_Act_Capital>kjhjkhjkhjkhjkh</PastPerf_PYI_Act_Capital><PresentYear_Est_NetSale>kjghjkhjkhjkh</PresentYear_Est_NetSale><PresentYear_Est_NetProfit>kjhjkhjkhjk</PresentYear_Est_NetProfit><PresentYear_Est_Capital>kjghjkhjkhjkh</PresentYear_Est_Capital><NextYear_Proj_NetSale>kjhjkhjkhjk</NextYear_Proj_NetSale><NextYear_Proj_NetProfit>hjgfghfgh</NextYear_Proj_NetProfit><NextYear_Proj_Capital>uiytyutyu</NextYear_Proj_Capital><SatutoryObl_Reg_Shop>Yes</SatutoryObl_Reg_Shop><SatutoryObl_Reg_ShopRemark>ghgfj</SatutoryObl_Reg_ShopRemark><SatutoryObl_Reg_MSME>Yes</SatutoryObl_Reg_MSME><SatutoryObl_Reg_MSMERemark>dhdfhdfh</SatutoryObl_Reg_MSMERemark><SatutoryObl_DrugLicense>No</SatutoryObl_DrugLicense><SatutoryObl_DrugLicense_Remark>dfhdfhfh</SatutoryObl_DrugLicense_Remark><SatutoryObl_SaleReturn_File>No</SatutoryObl_SaleReturn_File><SatutoryObl_SaleReturn_File_Remark>dfhfdhdh</SatutoryObl_SaleReturn_File_Remark><SatutoryObl_ITReturn_File>Yes</SatutoryObl_ITReturn_File><SatutoryObl_ITReturn_File_Remark>dfhdfhfh</SatutoryObl_ITReturn_File_Remark><SatutoryObl_Dues_Remain>No</SatutoryObl_Dues_Remain><SatutoryObl_Dues_RemainRemark>dfhdfhfhf</SatutoryObl_Dues_RemainRemark><Bank>Select Bank</Bank><Bank_Branch>Select Branch</Bank_Branch></PMMYLoanForm>"; //string xml = "<? xml version = \"1.0\" encoding = \"utf-16\" ?>< PMMYLoanForm xmlns:xsi = \"http://www.w3.org/2001/XMLSchema-instance\" xmlns: xsd = \"http://www.w3.org/2001/XMLSchema\" >< BusiInfo_Enterprise_Name > xgsdgsdgsdg </ BusiInfo_Enterprise_Name >< BusiInfo_Constitution > Partnership </ BusiInfo_Constitution >< BusiInfo_Curr_Address > sdgsdg </ BusiInfo_Curr_Address ></ PMMYLoanForm >"; //string xml = "<?xmlversion="1.0"standalone="yes"?><Customers><CustomerId ="1"><Name>John Hammond</Name><Country>United States</Country></Customer><CustomerId = "2"><Name>Mudassar Khan</Name><Country>India</Country></Customer><CustomerId ="3"><Name>Suzanne Mathews</Name><Country>France</Country></Customer><CustomerId ="4"><Name>Robert Schidner</Name><Country>Russia</Country></Customer></Customers>"; //string xml = File.ReadAllText("C:\\Users\\Mantralaya\\Desktop\\asdf.xml"); BL.BL MOLDBAccess; MOLDBAccess = new BL.BL(System.Configuration.ConfigurationManager.AppSettings["APPID"].ToString()); string constr = System.Configuration.ConfigurationManager.AppSettings["APPID"].ToString(); HttpContext.Current.Session["Application_ID"] = ""; try { using (SqlConnection con = new SqlConnection(constr)) { using (SqlCommand cmd = new SqlCommand("InsertXMLFile1")) { cmd.Connection = con; cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.AddWithValue("@xml", strxml); SqlParameter outPutParameter = new SqlParameter(); outPutParameter.ParameterName = "@appId"; outPutParameter.SqlDbType = System.Data.SqlDbType.NVarChar; outPutParameter.Direction = System.Data.ParameterDirection.Output; cmd.Parameters.Add(outPutParameter); con.Open(); int result = (int)MOLDBAccess.ExecuteNonQuery(cmd); //cmd.ExecuteNonQuery(); string ApplID = outPutParameter.Value.ToString(); HttpContext.Current.Session["Application_ID"] = ApplID; con.Close(); } } } catch (Exception ex) { string ds = ex.Message + "---" + ex.StackTrace; } HttpContext.Current.Session["Loan"] = Loandata; return("hello"); }