Click here to Skip to main content
15,893,161 members
Home / Discussions / C#
   

C#

 
AnswerRe: application client/serveur sous c# Pin
Ravi Sant17-Apr-11 23:50
Ravi Sant17-Apr-11 23:50 
QuestionVisual Studio 2010 Photo Gallery website or project Pin
georgehowell17-Apr-11 3:35
georgehowell17-Apr-11 3:35 
AnswerRe: Visual Studio 2010 Photo Gallery website or project Pin
Not Active17-Apr-11 4:30
mentorNot Active17-Apr-11 4:30 
AnswerRe: Visual Studio 2010 Photo Gallery website or project Pin
Prasanta_Prince18-Apr-11 0:18
Prasanta_Prince18-Apr-11 0:18 
Questionadding a different references depending on the system.(32 bit or 64 bit) Pin
prasadbuddhika16-Apr-11 20:38
prasadbuddhika16-Apr-11 20:38 
AnswerRe: adding a different references depending on the system.(32 bit or 64 bit) [modified] Pin
Luc Pattyn17-Apr-11 2:24
sitebuilderLuc Pattyn17-Apr-11 2:24 
QuestionDatabase help Pin
Dave McCool16-Apr-11 12:23
Dave McCool16-Apr-11 12:23 
AnswerRe: Database help Pin
RobCroll17-Apr-11 4:22
RobCroll17-Apr-11 4:22 
You can still do it the same way you did it 4 years ago using ADO.NET.

If this is not legacy data, by that I mean you can change the structure without breaking other applications, merging this data into one table will make life a lot easier. Create a Family table with Id and Name fields. Then create another table called Shellfish with all the same fields and include a FamilyId field. Then insert the records from the other tables. You can do this by creating queries in Access. The reason I suggest this is because it will make developing your UI a lot easier. Normalising the data schema will make a huge difference.

Also is there any requirement for the data to be stored in Access? Access has an upgrade wizard which will make it easy to convert to a SQL Express database. This will enable you to use Entity Framework which will make development quicker if you don't include the learning curve.

Once you have done that, filling your ComboBoxes, ListBoxes, TextBoxes etc., will be a piece of cake.

If it is a legacy system you are probably resigned to cutting a lot of code in your Data Access Layer to replicate what I have mentioned above using ADO.NET.

FamilyListBox.DataSource = myData.GetFamilies();
...

private void FamilyListBox_SelectedValueChanged(object sender, EventArgs e)
{
	CommonNameListBox.DataSource = MyData.GetShellFish();
}

private void CommonNameListBox_SelectedValueChanged(object sender, EventArgs e)
{
	ShellFish shellFish = CommonNameListBox.SelectedItem as ShellFish;
	CommonNameTextBox.Text = shellFish.CommonName;
	...
}


You will also need to set the DisplayName property for the ListBoxes.

Hope that helps but it is a hard question to answer in a few words.
"You get that on the big jobs."

QuestionHelp loading form, progress bar and button Pin
Dave McCool16-Apr-11 12:15
Dave McCool16-Apr-11 12:15 
AnswerRe: Help loading form, progress bar and button Pin
Luc Pattyn16-Apr-11 12:29
sitebuilderLuc Pattyn16-Apr-11 12:29 
GeneralRe: Help loading form, progress bar and button Pin
Dave McCool18-Apr-11 1:14
Dave McCool18-Apr-11 1:14 
QuestionScrolling with mouse in combo box too fast Pin
RobScripta16-Apr-11 2:37
professionalRobScripta16-Apr-11 2:37 
AnswerRe: Scrolling with mouse in combo box too fast Pin
Dave Kreskowiak16-Apr-11 2:52
mveDave Kreskowiak16-Apr-11 2:52 
GeneralRe: Scrolling with mouse in combo box too fast Pin
RobScripta16-Apr-11 3:23
professionalRobScripta16-Apr-11 3:23 
GeneralRe: Scrolling with mouse in combo box too fast Pin
Dave Kreskowiak16-Apr-11 3:29
mveDave Kreskowiak16-Apr-11 3:29 
GeneralRe: Scrolling with mouse in combo box too fast Pin
RobCroll17-Apr-11 4:34
RobCroll17-Apr-11 4:34 
GeneralRe: Scrolling with mouse in combo box too fast Pin
BobJanova17-Apr-11 23:55
BobJanova17-Apr-11 23:55 
GeneralRe: Scrolling with mouse in combo box too fast Pin
RobScripta18-Apr-11 6:05
professionalRobScripta18-Apr-11 6:05 
GeneralRe: Scrolling with mouse in combo box too fast Pin
BobJanova18-Apr-11 10:17
BobJanova18-Apr-11 10:17 
AnswerRe: Scrolling with mouse in combo box too fast Pin
Dalek Dave16-Apr-11 3:52
professionalDalek Dave16-Apr-11 3:52 
Questionuser control rotate urgent Pin
muharrem16-Apr-11 2:03
muharrem16-Apr-11 2:03 
AnswerRe: user control rotate urgent Pin
dan!sh 16-Apr-11 2:16
professional dan!sh 16-Apr-11 2:16 
QuestionMaster/detail datagridview not loading Pin
Muammar©15-Apr-11 9:59
Muammar©15-Apr-11 9:59 
Questionvideo conferencing system [modified] Pin
comsian1115-Apr-11 8:38
comsian1115-Apr-11 8:38 
AnswerRe: video conferencing system Pin
OriginalGriff15-Apr-11 8:40
mveOriginalGriff15-Apr-11 8:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.