StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Conversion from type 'DBNull' to type 'String' is not valid.
Conversion from type 'DBNull' to type 'String' is not valid.
Post Reply
Like
1
Conversion from type 'DBNull' to type 'String' is not valid.
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Ricardo Quartier
Ricardo Quartier
posted 18 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: Forum Members
Posts: 87,
Visits: 779
Hello.. this is what I am doing now... Im trying to pupulate the combo box, but i'm gettin this error "Conversion from type 'DBNull' to type 'String' is not valid.". The funny thing is that I have a a text box that loads from the same BO and loads the same field, and it's working..
PS - I dont have any null info on the "nome_clube" field on the table.
Any Clues.. anyone?
Attachments
combobox_properties.gif
(
245 views,
77.00 KB
)
dbnull_error.gif
(
239 views,
62.00 KB
)
sql_data.gif
(
212 views,
63.00 KB
)
textbox_properties.gif
(
232 views,
76.00 KB
)
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Conversion from type 'DBNull' to type 'String' is not valid.
Ricardo Quartier
-
18 Years Ago
I forgot to say thanks in advance.. :D
Ricardo Quartier
-
18 Years Ago
Hello Ricardo,
Your problem is not because you have a NULL...
StrataFrame Team
-
18 Years Ago
Hello Ben, please is this right? Public Class frmCadClubes...
Ricardo Quartier
-
18 Years Ago
Ricardo, Since you are trying to popualte a combo from a business...
Trent L. Taylor
-
18 Years Ago
Awesome ! Thanks, Trent !
Ricardo Quartier
-
18 Years Ago
Glad to help ;)
Trent L. Taylor
-
18 Years Ago
Hi, Trent... me again.. now I can load comboboxes on all forms.. that...
Ricardo Quartier
-
18 Years Ago
Just to verify what you are attempting to do before I send you some...
Trent L. Taylor
-
18 Years Ago
Hi everything u said was correct, but i still did not inserted the...
Ricardo Quartier
-
18 Years Ago
Ricardo, This will worksimilar as the example I showed you previously....
Trent L. Taylor
-
18 Years Ago
Yo Trent, all okidoki. Thanks Now i have 3 combos... Contry, State...
Ricardo Quartier
-
18 Years Ago
Glad to hear it ;)
Trent L. Taylor
-
18 Years Ago
Yo, last "question" and a diferent help :D Now I have those 3 combos,...
Ricardo Quartier
-
18 Years Ago
Right now you are populatingeach combo box using all rows in the...
Trent L. Taylor
-
18 Years Ago
Yo Trent, this line: e.Parameters(0).Value =...
Ricardo Quartier
-
18 Years Ago
Hi Ricardo, "MyStates" is used as an example, you will want to...
Robert Linton
-
18 Years Ago
Rob is exactly right, I really don't have anything to add. Let me know...
Trent L. Taylor
-
18 Years Ago
Thanks Rob that helped me to understand, but im still gettin' an error...
Ricardo Quartier
-
18 Years Ago
Ricardo, Your fill method is wrong on the cities. Try this instead:...
Trent L. Taylor
-
18 Years Ago
Hi, now runs.. but the combobox of cities does not load... :w00t:...
Ricardo Quartier
-
18 Years Ago
In the city combo box, how do you have the...
Trent L. Taylor
-
18 Years Ago
OK, I've sent to u... thanks
Ricardo Quartier
-
18 Years Ago
Got it...thanks.
Trent L. Taylor
-
18 Years Ago
it runs now, Im trying to learn.. thanks Trent
Ricardo Quartier
-
18 Years Ago
Good, I'm glad you got it. Let me know if you have any questions.
Trent L. Taylor
-
18 Years Ago
I would like to thank Ricardo, Ben and Trent (I hope I did not miss...
Edhy Rijo
-
17 Years Ago
Glad we helped out, even if it was indirectly. That's the whole reason...
StrataFrame Team
-
17 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search