Search Results

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: bcasp ; Forum: C# and child forums
Forum: C# Mar 24th, 2009
Replies: 3
Views: 349
Posted By bcasp
If you've ever expanded the file for a form in the list view in your solution explorer pane, you should see two files below the main Form source file. There should be a [form_name].Designer.cs (or...
Forum: C# Mar 24th, 2009
Replies: 5
Views: 595
Posted By bcasp
To answer you questions about the different source files, if you're using Visual Studio, each time you add a new component to your solution (as explained by ddanbe above), it is placed in its own...
Forum: C# Feb 27th, 2009
Replies: 13
Views: 787
Posted By bcasp
When you set the DataSource or load the Items manually, you could just set the SelectedIndex property to 0. That should keep you from getting errors about nothing being selected. I guess whether or...
Forum: C# Feb 23rd, 2009
Replies: 13
Views: 787
Posted By bcasp
OK...have you tried using the SelectedItem property?
Forum: C# Feb 23rd, 2009
Replies: 13
Views: 787
Posted By bcasp
If this is the problem I think it is, I usually fix it by using the Text property of the combo box. It should allow you to get the text of what's in the combo box without the user actually having to...
Forum: C# Feb 20th, 2009
Replies: 8
Views: 1,873
Posted By bcasp
An easy approach would be to separate the values in the array by a comma before putting it into the database as a comma delimited string. Then when you bring it back from the database, just do a...
Forum: C# Feb 13th, 2009
Replies: 9
Views: 1,105
Posted By bcasp
If I'm reading this correctly, it sounds like you just want to be able to manipulate the ListView on a Form from another class somewhere in your application. Have you tried making a public instance...
Forum: C# Jan 9th, 2009
Replies: 5
Views: 348
Posted By bcasp
I think there's a couple of ways you could solve the problem you are having. One of the options you could use would be to make MotorVehicleAdministration a separate object.


using System;
...
Forum: C# Apr 30th, 2008
Replies: 1
Views: 474
Posted By bcasp
Just from quickly looking at your connection string, I saw that you used " marks in your string. You don't actually need these. If you go to http://www.connectionstrings.com, you can get connection...
Forum: C# Apr 28th, 2008
Replies: 4
Views: 477
Posted By bcasp
I've always used the following method for database operations. I split the actual database access into two methods: ExecuteQuery and ExecuteNonQuery. In your case, if you're trying to write to the...
Forum: C# Apr 25th, 2008
Replies: 6
Views: 2,190
Posted By bcasp
I've always run into issues with using the IDENTITY property in Access. If your using an autonumber, you could always just do something like:

SELECT MAX(autonumber_column_name) AS alias FROM...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC