Roadrocker66
Gebruiker
- Lid geworden
- 7 mei 2009
- Berichten
- 104
Hallo allemaal!
Ik heb een vraagje over de volgende Tutorial.
http://www.homeandlearn.co.uk/csharp/csharp_s12p12.html
En dan specifiek over de volgende kwestie.
Exercise
Add a text box to your form. Get the name of the person from this text box, rather than using the hard coded value that you have at the moment.
Exercise
Add a drop down list next to the text box. The drop down list should allow a user to search by last name, or by job title. (Searching by first name doesn't make much sense - too many people with the same first name!)
Heb de code zoals beschreven over genomen maar krijg het niet voor elkaar om om die textbox en dropdownlist op elkaar af te stemmen in het disign.
Daarnaast zou ik willen dat alle records die ik schrijf kunnen worden gevonden.
Dus niet alleen "Khan" in de volgende code:
Wie kan mij helpen?
Ik heb een vraagje over de volgende Tutorial.
http://www.homeandlearn.co.uk/csharp/csharp_s12p12.html
En dan specifiek over de volgende kwestie.
Exercise
Add a text box to your form. Get the name of the person from this text box, rather than using the hard coded value that you have at the moment.
Exercise
Add a drop down list next to the text box. The drop down list should allow a user to search by last name, or by job title. (Searching by first name doesn't make much sense - too many people with the same first name!)

Heb de code zoals beschreven over genomen maar krijg het niet voor elkaar om om die textbox en dropdownlist op elkaar af te stemmen in het disign.
Daarnaast zou ik willen dat alle records die ik schrijf kunnen worden gevonden.
Dus niet alleen "Khan" in de volgende code:
Code:
string searchFor = "Khan";
int results = 0;
DataRow[] returnedRows;