|
Hi Henry
It gives me an error
Sort string contains a property that is not in the IBindingList.
line code is this...
MenuBS.Sort = "FoodName";
|
|
|
|
|
The only thing that springs to mind is that you have used a different field name in your database, maybe "Food_Name" or Foodname" (lower case 'n'). Something simple like that.
Have a check. If you cannot find the cause then comment out the line and the 'try', the '{' and all of the '} finally { blah }' bit.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi Henry
Can I ask you something
How about I send you my Project complitely
Only if you want to
If so, you need to tell me how to upload
Roni
|
|
|
|
|
That would be fine.
I use this[^].
Just download and install it. When it is installed right click the tray icon and choose 'Open Dropbox folder'. When it opens you should see a 'Getting Started.pdf', read that.
Then if you double click the 'Public' folder there is a 'How to use the Public Folder.rtf' file. Open that in Word, or almost any Word Processor and read it too.
Then you should be good to go.
I assume that you have a zip program. If not shout out and I'll point you at one.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
is it good idea to use this, what i mean is that
i dont want other people to have accses and download my project
appart from you
roni
|
|
|
|
|
1. Only people that know the url can download it.
2. If you use it, put the address in a message, I will download it, tell you straight away, and you can delete it.
But you are right to be cautious.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
can i have your e-mail address and sendit to you
if you dont mind please
|
|
|
|
|
I was thinking maybe I should zip my folder and then email it to you
|
|
|
|
|
If you want to do that. That's fine. Have you still got my email address from the earlier message?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
|
Henry is this your xxxxxx
hfam at live stop co stop uk.
|
|
|
|
|
Yes
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
give me few minutes im sending to you by e-mail
|
|
|
|
|
Hi Henry
I think you have an email check it out
Roni
|
|
|
|
|
I have it.
I will not be able to look at it until tomorrow though and what with it being so near to Xmas I'm going to be busier than usual, so please be patient.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi Roni,
Before I go to bed, I noticed while unzipping your project that there is a Login/Logout Form. Will I need a password to run the program? If so you'd better email that to me too.
Good night, I'll speak to you some time tomorrow.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi Henry
You can look at the database the password under the User table
Also when you load tha application dont click the LogIn/Logout Button, click the SignIn button
you dont need password there just press to OK button of dialog signin box and you can get thrugh to the next step of the application...
roni
|
|
|
|
|
OK.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi Henry
I've read also the e-mail that you send it to me. The reason I made the SignIn and LogIn/Logout buttons its only to test my application, because i will remove on of them in the end of my application.
Now with the panels (such as: starters panel, mains panel, etc etc,) that you mentioned on e-mail well basically they are empty, but when I click for instance the Starter Button it calls the StarterUserControl and places inside the starter panel, basically this wasn't my Idea in the beggining when I started to do this project, becasue I know the more control in to your application the slower it would be the application. My idea in the begging was to create somehow dynamic buttons or whatever, in oreder to reduce the number of controls in the forms, but I didnt have any clue how to do it but maybe in time i will when I get to know better the c# environment
roni
|
|
|
|
|
LAPEC wrote: Now with the panels (such as: starters panel, mains panel, etc etc,) that you mentioned on e-mail well basically they are empty, but when I click for instance the Starter Button it calls the StarterUserControl and places inside the starter panel
I followed what the code was doing, but you can do the same thing with just one panel, as I suggested in my Email. Just add all the UserControls to the same panel, while you are still using the UCs, that is. Then, at the times when you now show or hide the panels, simply show or hide the UC in question. So instead of StarterPanel.Hide or StarterPanel.Show use starterUC.Hide and starterUC.Show .
I'll get in touch later.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
ok Henry
I'll talk to you later
|
|
|
|
|
Hi Henry
Merry Christmas
I hope you enjoying your Christmas Time.
Kind regards
Roni
modified on Sunday, December 26, 2010 11:21 AM
|
|
|
|
|
Hi Henry
How are you, how was you christmas, I hope you enjoy it..
I have another slight problem, probably the same as before but this time with dataGridView1.
Kind regards
Roni
|
|
|
|
|
Hi Roni,
Sorry for the delay in responding.
Thank you for your seasonal greetings, I hope you enjoyed the break (if you had one) and have a happy and prosperous New Year.
Although I have not contacted you, I have been thinking about your application. I have tested a version with all the StarterPanel, MainPanel etc. removed and it works well. My testing machine is an old, slow one and without the extra panels it responds much faster and with less flashing.
I am currently trying to work out a way to dispense with the many UserControls too but that is a little more complicated than I at first thought due to the 'Cooking Instructions' buttons (Rare, Well Done etc.) that you had not mentioned before.
Also your database should really have some Normalization[^] applied to it before your application grows much more, otherwise any changes that are made will become horrendous to implement.
Still, never mind for now. What is your problem with the DataGridview?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi Henry
Good to hear from you again.
I actually managed to sort out the problem that you explained to me, and I'm only doing with two panels (food and drink panel).
Now another problem is rising.
You know on the listview the sample that you send it to me as a zip file.
On that listview of your sample, you have divided the courses into groups of the listview (and I did managed to do that on my project).
The problem is like so
When I add the starter items in to listview and also the main items it groups on the listview like so:
Starters ════════════════════════════════════
1 Soup £0.00
1 Bruschetta £0.00
Mains ═══════════════════════════════════════
1 Ravioli £0.00
1 Lasagne £0.00
1 Veg. Pizza £0.00
But what I want to do now is: (maybe you have noticed there is a button called Course Separator)....
Between starter group header and main group header I want to insert a line string into listview like so....
Starters ════════════════════════════════════
1 Soup £0.00
1 Bruschetta £0.00
****** Course 1 ****** this is what I want to insert in between...
Mains ═══════════════════════════════════════
1 Ravioli £0.00
1 Lasagne £0.00
1 Veg. Pizza £0.00
here is the code of the button but for some reason its not displaying nothing into listview.
private void cmdCourseSeparator_Click(object sender, EventArgs e)
{
string line1 = "════";
string line2 = "══════ Course 1 ══════";
string line3 = "══════";
string line4 = "══════ Course 2 ══════";
ListViewGroup liViGroup = new ListViewGroup();
liViGroup.HeaderAlignment = System.Windows.Forms.HorizontalAlignment.Center;
if (liViGroup.Header == "Starter")
{
liViGroup.Items.Add(line1);
}
this.TableOrderListView.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] {
liViGroup});
}
|
|
|
|