User Profile
Collapse
-
how does the asp:panel control work? i've never heard of this -
captainphoenix replied to WinApp : Cannot bind to the property or column Item Name on the DataSourcein .NETok i think i see where this is going. i did change the names of some of the datasource names, but none of them were actually used. would that affect it?
this is what got attached to my clipboard when i clicked "copy extension detail to the clipboard":
System.Argument Exception was unhandled
Message="Cannot bind to the property or column Item Name on the DataSource.
Parameter...Leave a comment:
-
ok totally different project, but same problem. for some reason the project refuses to pass variables from one form to another, and this project is huge so i have to use multiple forms. once again, simply declaring the variables at the global level WILL NOT WORK. I know that you can cheat the system and do like form.control.te xt, but in this case that's not going to work (way too many variables, way too many forms, way too much code, and some of...Leave a comment:
-
captainphoenix replied to WinApp : Cannot bind to the property or column Item Name on the DataSourcein .NETim not sure what you mean. There were no code changes. the part of the code that gets highlighted is "form.show" . would this be related to any issues with the form it's supposed to load up, or is this somehow just the wrong code?Leave a comment:
-
declaring buttons in array format
vb 2005
what i have is an interface designed to act like an order form at a bookstore, like the one a clerk would use to ring up a customer for books. The btnList button connects all the textboxes in the gui to an msaccess database with all the information about pricing and what courses the textbooks correlate to. the best way for me to describe it is a row of textboxes for inputs for isbn#, textbook name, the course it correlates to, pricing,... -
captainphoenix started a topic WinApp : Cannot bind to the property or column Item Name on the DataSourcein .NETWinApp : Cannot bind to the property or column Item Name on the DataSource
visual basic 2005, this is my code:
Dim frminterfacea As New frmInterface
frminterfacea.S how()
this loaded up the form frminterface until today. it worked fine yesterday, no change in code, now i get this message at runtime:
ArgumentExcepti on [sic] was unhandled
Cannot bind to the property or column Item Name on the DataSource.
Parameter name: dataMember
... -
does vb6 have an "Accept Button" property under the form's properties window?...Leave a comment:
-
captainphoenix replied to sql for @[word1 word2].....how do build a query when field name has 2 words?in .NETyup. none worked.
how to get to twenty characters in one line...Leave a comment:
-
captainphoenix replied to sql for @[word1 word2].....how do build a query when field name has 2 words?in .NETOk so the only way i found to fix this problem is really dumb: open the .mdb file, then change the names there, then open the vb file and change the names of the fields within the query builder. I'm not calling this problem "solved" officially though because i still can't get the program running properly. I'll post more info when i have it.Leave a comment:
-
captainphoenix replied to sql for @[word1 word2].....how do build a query when field name has 2 words?in .NETalso if i go without brackets it diverts to word1 [word2] and puts quotes around the whole damned thingLeave a comment:
-
captainphoenix started a topic sql for @[word1 word2].....how do build a query when field name has 2 words?in .NETsql for @[word1 word2].....how do build a query when field name has 2 words?
In VB (.NET?) building a query from a table made in MS Access. I'm trying to type the sql line WHERE [Course Number] = @[Course Number] but it won't recognize the code because "Course Number" is two words. the whole thing would work fine if i had remembered in MS Access to name it Course_Number but it's too late for that. How do i fix this? -
-
OK I think I've figured most of it out, but I've come to the query designer screen and it is not recognizing the SQL code I'm typing in. Specifically, in an attempt to return the name of each passenger in the listbox, the code I have input automatically converts to
WHERE (Name = '@name')
instead of
WHERE (Name = @name)
and I remember it had something to do with declaring the "@"...Leave a comment:
-
Importing MS Access Databases to VB
Windows XP Home Edition
VB 2005
MS Access 2003
I am having problems importing mdb information from access to visual basic. The first application worked fine, but the second one refuses to work, giving me a list of build errors pertaining to "[whatever] not defined..." see below
Error 1 Type 'AirlineReserva tionForm.Sennel lo_06DataSet' is not defined. C:\Documents and Settings\msenne l1\Desktop\hw6\ Airline... -
No. I mean I have one button that gathers all the data and stores it in the necessary variables. I.E. when you click on the button, inputboxes pop up and ask for the values of different parts of the array. Once all the information is gathered, the information is outputted onto a listbox. Under the listbox is a new set of buttons designed to search for values and edit them, as well as print the form and close the application. However, when I tell...Leave a comment:
-
No, I used that info to determine the the size of an array. Now I need to get the values of the arrays from one button to another. I'm bailing on the two form thing. That was too much work and an awful mess. I'm keeping everything to one form using visible/hide operations, but I need to pass the info gathered from btnA to btnB. For example, stringvariableA (x) was assigned a value of "blah" in btnA via inputboxes. Now I need to transfer...Leave a comment:
-
captainphoenix started a topic Aligning text to columns in a listbox when you don't know how many columns are neededin Visual BasicAligning text to columns in a listbox when you don't know how many columns are needed
all in vb2005
I have three arrays: one 2d array, two 1d arrays. I need to output them into a listbox and align them to columns, which I know how to do using string.format(b lahblahblah). However, in this case the user is defining the necessary number of columns. Specifically, I have vb project that effectively gathers the scoring information for a soccer team and outputs it to a listbox. The gamedate array would be the first row, and the players'...
No activity results to display
Show More
Leave a comment: