Click here to Skip to main content
15,896,912 members
Home / Discussions / C#
   

C#

 
AnswerRe: List Pin
Dave Kreskowiak25-Jul-14 2:24
mveDave Kreskowiak25-Jul-14 2:24 
GeneralRe: List Pin
Mycroft Holmes25-Jul-14 14:20
professionalMycroft Holmes25-Jul-14 14:20 
GeneralRe: List Pin
Dave Kreskowiak26-Jul-14 3:53
mveDave Kreskowiak26-Jul-14 3:53 
AnswerRe: List Pin
GuyThiebaut25-Jul-14 3:06
professionalGuyThiebaut25-Jul-14 3:06 
GeneralRe: List Pin
Mycroft Holmes25-Jul-14 14:25
professionalMycroft Holmes25-Jul-14 14:25 
GeneralRe: List Pin
GuyThiebaut25-Jul-14 19:18
professionalGuyThiebaut25-Jul-14 19:18 
AnswerRe: List Pin
Steve Foutty25-Jul-14 3:12
Steve Foutty25-Jul-14 3:12 
GeneralRe: List Pin
PIEBALDconsult25-Jul-14 20:27
mvePIEBALDconsult25-Jul-14 20:27 
QuestionAsp.net rdcl Report Pin
Zeyad Jalil23-Jul-14 23:00
professionalZeyad Jalil23-Jul-14 23:00 
AnswerRe: Asp.net rdcl Report Pin
thatraja24-Jul-14 2:17
professionalthatraja24-Jul-14 2:17 
QuestionCrystal Report Sort by Date Formula Pin
Amr Muhammed23-Jul-14 13:28
Amr Muhammed23-Jul-14 13:28 
AnswerRe: Crystal Report Sort by Date Formula Pin
thatraja24-Jul-14 2:30
professionalthatraja24-Jul-14 2:30 
AnswerRe: Crystal Report Sort by Date Formula Pin
jschell24-Jul-14 11:39
jschell24-Jul-14 11:39 
QuestionUsing a proxy server in c# Pin
Member 1052179323-Jul-14 13:03
Member 1052179323-Jul-14 13:03 
AnswerRe: Using a proxy server in c# Pin
Bernhard Hiller23-Jul-14 20:23
Bernhard Hiller23-Jul-14 20:23 
GeneralRe: Using a proxy server in c# Pin
Member 1052179324-Jul-14 0:53
Member 1052179324-Jul-14 0:53 
GeneralRe: Using a proxy server in c# Pin
Bernhard Hiller24-Jul-14 2:58
Bernhard Hiller24-Jul-14 2:58 
QuestionKurti dev to uni code and uni code yo kurti dev convert by script Pin
Member 1096585923-Jul-14 1:36
Member 1096585923-Jul-14 1:36 
AnswerRe: Kurti dev to uni code and uni code yo kurti dev convert by script Pin
thatraja23-Jul-14 1:57
professionalthatraja23-Jul-14 1:57 
GeneralRe: Kurti dev to uni code and uni code yo kurti dev convert by script Pin
Member 1096585923-Jul-14 2:03
Member 1096585923-Jul-14 2:03 
GeneralRe: Kurti dev to uni code and uni code yo kurti dev convert by script Pin
thatraja23-Jul-14 21:07
professionalthatraja23-Jul-14 21:07 
QuestioniTextSharp PDF Overlay Pin
michPla1223-Jul-14 1:16
michPla1223-Jul-14 1:16 
Questionadd multiple passengers Pin
Jassim Rahma22-Jul-14 11:41
Jassim Rahma22-Jul-14 11:41 
GeneralRe: add multiple passengers Pin
PIEBALDconsult22-Jul-14 18:58
mvePIEBALDconsult22-Jul-14 18:58 
AnswerRe: add multiple passengers Pin
OriginalGriff22-Jul-14 19:47
mveOriginalGriff22-Jul-14 19:47 
There are quite a few ways to do this, depending on your skill level and abilities:
1) You could create each control individually and add them in a row inside a panel
2) You could create a UserControl which has one of each of the controls you need and then add one of that for each passenger
3) You could use some grid based control instead - such as a DataGridView

But what you want is a bit...um...odd. The first thing which looks like a silly idea is "cbodateOfBrith" which I assume is a combobox for the date of birth. How many dates do you propose to put in that? 120 years worth? OMG | :OMG:
Would you want to try and enter the date from that? Because I wouldn't! Consider a DateTimePicker instead...

And I wouldn't do it that way either: Instead of asking for the number of passengers, use a grid based control that the user can edit directly and let them add all the rows they need. This shows how to create a Calender control within a DataGridView: http://msdn.microsoft.com/en-us/library/7tas5c80.aspx[^]
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

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.