| | |
End of Statement Expected
Please support our VB.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Sep 2008
Posts: 25
Reputation:
Solved Threads: 0
I am getting an error with this statement and can not seem to figure out what is wrong.
I am doing a calculation and want to put the results of the calculation in lblMortgagePayment. I get the error for this line, end of statement expected.
Help please,
Ken
VB.NET Syntax (Toggle Plain Text)
decMortgagePayment.ToString("C") & " Monthly Payment" = Me.lblMortgagePayment.Text
Help please,
Ken
First off, it's on the same line. but Try this:
I am not too sure that is 100% correct because I am work but you got it the wrong way round.
VB.NET Syntax (Toggle Plain Text)
Me.lblMortgagePayment.Text = (decMortgagePayment) & " Monthly Payment "
I am not too sure that is 100% correct because I am work but you got it the wrong way round.
>> I am doing a calculation and want to put the results of the calculation in lblMortgagePayment
you want to put the result in lblMortgagePayment, but you put wrong assignment in your code.
Mr Brownstone was give the answer.
you want to put the result in lblMortgagePayment, but you put wrong assignment in your code.
Mr Brownstone was give the answer.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
![]() |
Similar Threads
- SQL Injection Attack (Database Design)
- Error message and this mans wits end...! (Java)
- Where to insert this code? (ASP.NET)
- How is this wrong? (VB.NET)
- Datagrid view using parameters(Plz help) (VB.NET)
- end statement error happen in vbscript (Visual Basic 4 / 5 / 6)
- Is there anything wrong with this code (ASP)
- Password Generator (Visual Basic 4 / 5 / 6)
- I've got Trojan.Holax... is this bad? (Viruses, Spyware and other Nasties)
Other Threads in the VB.NET Forum
- Previous Thread: not properly printing RTF document
- Next Thread: Connecting VB .NET with SQL Dbase
| Thread Tools | Search this Thread |
"crystal .net .net2005 30minutes 2005 2008 access account arithmetic array assignment basic box button buttons center check code component connectionstring convert crystalreport data database databasesearch datagrid datagridview date design dissertation dissertations dissertationthesis dosconsolevb.net dropdownlist excel fade file-dialog firewall folder ftp generatetags hardcopy image images input insert intel isnumericfuntioncall math monitor navigate net networking opacity output passingparameters peertopeervideostreaming picturebox picturebox1 port problem problemwithinstallation project record reports" savedialog searchvb.net select serial shutdown string survey tcp temp temperature text textbox timer toolbox trim updown user useraccounts usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web winforms wpf






