I copied and pasted into Visual Studio and I got the following syntax error on both stmts. I don't know enough to guess at the cause. I have Option Strict On?
"Public Overridable Function ToString() As String' has no parameters and its return type cannot be indexed.
txtCost.Text =...
I want to display 10.50 instead of 10.5 to txtSalesPrice.Text when I read Access DB. It is stored in the DB as a String 10.5. How do I change the code below for txtSalesPrice.Text and txtCost.Text? Thanks in advance for any help.
' Display the current record.
Private Overloads Sub...
Resolved
I found the answer in another book.
Case "fldPartDescription"
If e.Row.Item("fldPartDescription").ToString.Length = 0 Then
MessageBox.Show("Part Description must be entered", _
"Error", MessageBoxButtons.OK)
EndIf
I want to make sure that when adding a new record to the Access DB the user enters data all fields. I figured out the Integer fields but cannot find how to check the String fields. I searched the forum and could not locate anything. Any help would be appreciated. The Description field is the one...
I will check the file and then I will take my code to a tutor and get an explanation of what I am doing wrong along with a copy of your reply. Thanks for the help!
I am reading a Sequential file load it into ArrayList and when the user clicks mmuSaveFile_Click. I get the exception (Specified cast is not valid). Can anyone tell me what I am doing wrong ? Look for EXCEPTION below. Also when I use MS Visual Studio to step thru the code it never goes to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.