Quickly, off the top of my head, you could create a linked list of objects with which you will do an insertion sort. You then run the dictionary, inserting objects into the array ONLY if the value is higher than the value at position zero OR if the array is empty. When inserting a new object, just insert it in the correct place.
Wow, I was being exceptionally thick tonight. I just realized that you could just use an OrderedDictionary.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
I have a List<double> Values, where each double is an array representing one series (not from a database). I can have several dozen double and each can be 100k+ items.
I would like to display this to the user in a datagrid (I know this is a lot of information, but the user needs to be able to browse). Due to the size, it is prohibative to load the entire thing into the grid at once, instead loading rows as needed. From Google, it seems like I need to bind this data source to the datagrid.
this is for an chat application....
i want to get system ideal time for setting the user status to ideal in the chat....
supposs if the system is ideal for 2 minut, I want to change the status of the logged in user to Ideal.
Doh. Of course. You don't format the display of a DataTable DataColumn, because it's never displayed. You format the display of the column in the DataGridView, in which the DataTable data is displayed.
Man, you don't do any table stuff for a year, and you forget everything.
While browsing the .Net Framework source code I saw many methods marked extern, but without a DllImport attributte. My question is how could I use the extern keyword that way and when is it useful (no documentation on msdn; the only thing I found is this post[^].
For example, in String.cs:
So: how do I have to setup the compiler to build a program which has some methods marked as "InternalCall", without making a separate unmanaged DLL library.
Another question is why VS won't download the unmanaged parts of a source code and forces as to search for them manually...
Greetings - Gajatko
Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.
While browsing the .Net Framework source code I saw many methods marked extern, but without a DllImport attributte. My question is how could I use the extern keyword that way and when is it useful
This is normally built into the assembly. I do not know the exact details, but I think the method body just refers to some unmanaged section of code. I think you can 'get this' by using the Managed C++ compiler.
From a webservice, is it possible to print out something directy to the printer? (Without showing the default internet explorer print dialog). I need that because a few barcode printers required data in a special format (usually an ascii sequence)
Sorry, I think my question was not good. My actual question is: Is it possible to print a line or something directly to a windows printer installed in the computer where the .aspx is been called? For example, If I make a webapplication, put a button on it and an event when the user clicks that button some text must be printed as it is, without the pre-formatation internet explorer does. If it's possible, how can I do that?
Last Visit: 21-Oct-19 12:28 Last Update: 21-Oct-19 12:28