vb.net - No value given for one or more required parameters in sub -


this code:

private sub updateloan2()     if conn.state = connectionstate.open conn.close()     call connect()     comm.connection = conn     comm.commandtype = commandtype.text     comm.commandtext = "update tblloansetup set  [loan_no]='" & me.lblloanno.text &      "',[id]='" & me.txtidnumber.text &      "',[first_name]='" & me.textfname.text &      "',[last_name]= '" & me.textlname.text &      "',[a_date]='" & me.textdateofloan.text &      "',[loan_type]= '" & me.textloantype.text &      "',[loan_amount]='" & me.lblloanrem.text &      "',[payable_in months]= '" & me.lblinstbal.text &      "',[instalments]= '" & me.lblpriminst.text &      "',[interest]= '" & me.textinterestmonth.text &      "',[processing_fee]= '" & me.lblprocessfee.text &      "',[available_amount]= '" & me.textloanrelease.text &          "',[payable_amount]= '" & me.lblprincln.text &      "' tblloansetup.loan_no =" & me.lblloanno.text & ""     comm.executenonquery()     messagebox.show("successfully saved") end sub 

gives me error:

no value given 1 or more required parameters....


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -