Forum: C# Mar 9th, 2009 |
| Replies: 1 Views: 232 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,285 Long as you add them as resources you can use them |
Forum: C# Mar 5th, 2009 |
| Replies: 19 Views: 958 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: 958 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: 958 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: 513 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: 958 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: 958 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,686 Please search this forum, this has been answered a number of times before. |
Forum: C# Mar 3rd, 2009 |
| Replies: 5 Views: 1,527 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: C# Mar 1st, 2009 |
| Replies: 14 Views: 2,470 Um, just like I showed :P |
Forum: C# Mar 1st, 2009 |
| Replies: 14 Views: 2,470 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,470 OK do you know what "Scope" is? |
Forum: C# Mar 1st, 2009 |
| Replies: 6 Views: 1,224 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,470 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: C# Mar 1st, 2009 |
| Replies: 14 Views: 2,470 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,470 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: 650 |
Forum: C# Feb 27th, 2009 |
| Replies: 4 Views: 575 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: 575 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,839 The reason the value was relevant is that was probably the URI it complained on. |
Forum: C# Feb 26th, 2009 |
| Replies: 5 Views: 1,839 What is the value of Server.MapPath("xmlfiles/deneme.xml") |
Forum: C# Feb 25th, 2009 |
| Replies: 2 Views: 668 because \ treats the next character as litteral/escape so \\ actually would be \ in reality |
Forum: C# Feb 22nd, 2009 |
| Replies: 4 Views: 342 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: 623 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: 449 is your project using the new 2.0 framework? |
Forum: C# Feb 19th, 2009 |
| Replies: 4 Views: 623 so you want to do a mail merge in effect, why not use office? |
Forum: C# Feb 17th, 2009 |
| Replies: 2 Views: 770 Crystal doesnt print access reports, it prints crystal reports. |
Forum: C# Feb 16th, 2009 |
| Replies: 5 Views: 734 Why run it as 2 queries, why not just run it as one? |
Forum: C# Feb 11th, 2009 |
| Replies: 3 Views: 333 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,073 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,636 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,073 That makes no sense what so ever. You want to add something to itself? |
Forum: C# Feb 10th, 2009 |
| Replies: 3 Views: 731 thats normally why you bind the control to the table/query |
Forum: C# Feb 6th, 2009 |
| Replies: 9 Views: 748 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: 748 it cant find your file to read in, thats the problem. Copy the car3.car into the debug directory of your new project |
Forum: C# Feb 2nd, 2009 |
| Replies: 4 Views: 932 Then make the padding less :) or put your text on the left, and pad the arrow out |
Forum: C# Jan 30th, 2009 |
| Replies: 4 Views: 1,361 Perhaps ensure the service is stopped first? |
Forum: C# Jan 30th, 2009 |
| Replies: 4 Views: 777 Then show us what you tried and why it didnt work.. *then* we will help you |
Forum: C# Jan 27th, 2009 |
| Replies: 11 Views: 1,544 I guess changing from the properties to events in the bottom right (by default) was missing..
So.. Im gonna take an educated guess you didnt tie the event to the method you made?? |