Forum: C# Mar 9th, 2009 |
| Replies: 1 Views: 233 Well, thats a little ambiguous
if you have an array of things
such as
Thing[] mythings = new Thing[100]; |
Forum: C# Mar 5th, 2009 |
| Replies: 4 Views: 1,296 Long as you add them as resources you can use them |
Forum: C# Mar 5th, 2009 |
| Replies: 19 Views: 965 It gets really tiring to see people who dont try and then expect others here to do the work. I know theres no date format that does the suffix, which is why I got you to look. If you google there are... |
Forum: C# Mar 5th, 2009 |
| Replies: 19 Views: 965 So you didnt look.
and before you say you did..
I typed
DateTime.ToString("dd mm yyyy");
placed cursor on ToString
Pressed F1
Got help |
Forum: C# Mar 4th, 2009 |
| Replies: 19 Views: 965 Take a read of the helpfile, there are many date/time formats, its very simple, but you should start reading for yourself what options you have. |
Forum: C# Mar 4th, 2009 |
| Replies: 2 Views: 524 if the white border is in the graphic, first thing Id say would be remove it from the graphic, if its not, you could consider programattically making the picture smaller.. |
Forum: C# Mar 3rd, 2009 |
| Replies: 19 Views: 965 I was trying to get you to look at the datetime functions for yourself to find the things like tryparse..
Perhaps you will now try and do a search on date time formats. |
Forum: C# Mar 3rd, 2009 |
| Replies: 19 Views: 965 Have you considered that you are reinventing the wheel?
Perhaps there is a function of the datetime variety that will do all this for you.. |
Forum: C# Mar 3rd, 2009 |
| Replies: 13 Views: 1,704 Please search this forum, this has been answered a number of times before. |
Forum: C# Mar 3rd, 2009 |
| Replies: 5 Views: 1,558 error 2 is caused by
string[] allData = sr.ReadLine();
Read what it says. It tells you what the ReadLine returns, and whats wrong with your line.
The first error is to do with your second... |
Forum: Pascal and Delphi Mar 2nd, 2009 |
| Replies: 10 Views: 927 No code tags?
Whats the error? symptom?
other than youve said pick is a char, and then asked if its 'flip1' as a string, so i guess it always says you lose. |
Forum: C# Mar 1st, 2009 |
| Replies: 14 Views: 2,508 Um, just like I showed :P |
Forum: C# Mar 1st, 2009 |
| Replies: 14 Views: 2,508 OK Ive seen worse, although you should check that your openConnection doesnt return null in your Main.
Socpe.. Scope is a little like a line of sight.
If i had
private void Something()... |
Forum: C# Mar 1st, 2009 |
| Replies: 14 Views: 2,508 OK do you know what "Scope" is? |
Forum: C# Mar 1st, 2009 |
| Replies: 6 Views: 1,247 According to MSDN its supposed to
http://msdn.microsoft.com/en-us/library/system.windows.forms.checkedlistbox.selectionmode.aspx |
Forum: C# Mar 1st, 2009 |
| Replies: 14 Views: 2,508 Well done. And whats better is is you almost certainly understand why you ended up with thec ode you did, rather than have someone hand you it. |
Forum: Pascal and Delphi Mar 1st, 2009 |
| Replies: 10 Views: 927 Turbomen, do what you can, paste the code in, tell us what doesnt work or what error you get and we'll try and help you. Doing homework for you isnt going to happen |
Forum: C# Mar 1st, 2009 |
| Replies: 14 Views: 2,508 So. Each line of your file has a field, hopefully you can work out how to read the file into variables, then now you have an template for how to do the SQL, you need to work out how to add those... |
Forum: C# Feb 28th, 2009 |
| Replies: 14 Views: 2,508 Have you worked out the SQL you would need to run to put the data into your table? |
Forum: C# Feb 27th, 2009 |
| Replies: 3 Views: 662 |
Forum: C# Feb 27th, 2009 |
| Replies: 4 Views: 580 Well if its a resource its available, to use (use google) so all you would need to do is write either a console or windows form based app that asks them for password etc, and then where to save the... |
Forum: C# Feb 27th, 2009 |
| Replies: 4 Views: 580 You cna add the item as a resource to your application, however displaying it, maybe more complex if the user doesnt have the facilities to decrypt or use a relevant app to display it. That would be... |
Forum: C# Feb 26th, 2009 |
| Replies: 5 Views: 1,888 The reason the value was relevant is that was probably the URI it complained on. |
Forum: C# Feb 26th, 2009 |
| Replies: 5 Views: 1,888 What is the value of Server.MapPath("xmlfiles/deneme.xml") |
Forum: C# Feb 25th, 2009 |
| Replies: 2 Views: 680 because \ treats the next character as litteral/escape so \\ actually would be \ in reality |
Forum: C# Feb 22nd, 2009 |
| Replies: 4 Views: 343 for (i = 0; i == 8; ++i)
{
coinsamount[i] = pence / coins[i];
pence = pence % coins[i];
}
Think of the for loop as... |
Forum: C# Feb 19th, 2009 |
| Replies: 4 Views: 633 Collect the data you want from however many sources you need to collect from, and place it in a single place (such as a CSV file) and merge. |
Forum: C# Feb 19th, 2009 |
| Replies: 3 Views: 450 is your project using the new 2.0 framework? |
Forum: C# Feb 19th, 2009 |
| Replies: 4 Views: 633 so you want to do a mail merge in effect, why not use office? |
Forum: C# Feb 17th, 2009 |
| Replies: 2 Views: 781 Crystal doesnt print access reports, it prints crystal reports. |
Forum: C# Feb 16th, 2009 |
| Replies: 5 Views: 741 Why run it as 2 queries, why not just run it as one? |
Forum: C# Feb 11th, 2009 |
| Replies: 3 Views: 335 So now you have 4 threads on the same subject. If you cant work out and reply to a one you already made, how do you realistically expect to learn to code?
You havent changed a single word of it,... |
Forum: C# Feb 11th, 2009 |
| Replies: 3 Views: 1,088 But thats not the question you asked. Please try some grammar, some punctuation, and real words. Please mark this thread and the other pointless one like it asking to put a control within itself, as... |
Forum: C# Feb 11th, 2009 |
| Replies: 6 Views: 1,679 You havent done that much reading then. make a data source in memory, and assign it to the datagrid view. |
Forum: C# Feb 11th, 2009 |
| Replies: 3 Views: 1,088 That makes no sense what so ever. You want to add something to itself? |
Forum: C# Feb 10th, 2009 |
| Replies: 3 Views: 738 thats normally why you bind the control to the table/query |
Forum: C# Feb 6th, 2009 |
| Replies: 9 Views: 755 But its not finding it. So, either its not looking where you think (use something like the FileMon from what used to be sysinternals, or, such) to check where its looking coz its not looking where... |
Forum: C# Feb 6th, 2009 |
| Replies: 9 Views: 755 it cant find your file to read in, thats the problem. Copy the car3.car into the debug directory of your new project |
Forum: Pascal and Delphi Feb 5th, 2009 |
| Replies: 3 Views: 763 fileCount should be in single quotes. Its a string. |
Forum: C# Feb 2nd, 2009 |
| Replies: 4 Views: 958 Then make the padding less :) or put your text on the left, and pad the arrow out |