|
Create a interface of different grapsh and depending on the parameter it would have the necessary details.
|
|
|
|
|
The process for designing any such system follows one pattern:
You decide each field or collection of fields your RenderChart function must handle. RenderChart must then discover what categorical fields have been provided, and, depending on how the data needs to be rendered, you step through the process in such a way that renderable ranges are validated and no error can be produced.
Sounds simple, doesn't it? What happens is, you discover the rules you have to comply with as you refine them, until ultimately you develop a bullet proof approach. In the end, what looks like the work of a genius is actually just a product of hard, exhaustive work. Leave a hole for something to fall through, and it won't be long before someone else discovers you didn't finish your work. Getting the job *done* well and in due time is a matter of asking *yourself* the necessary pattern of questions.
1. What do I have to process?
2. What range of values shall I validate and support the processing of?
3. What order do I process the validated range so that nothing can go awry at any step?
In answering the last question, you start with an intial concept and refine it just as you would solve a mathematic equation. You find your process can break down in phase A because it needs to accommodate a value you don't provide until phase B; and so you introduce value B prior to phase A. Refining the approach in this way, ultimately you come up with a bullet proof answer.
4. A further thing you do all the while is determine a minimal footprint, balanced against efficient processing. There are tradeoffs there. Just make sure the tradeoffs you decide are purposed to be the best solution for whatever you are trying to do.
|
|
|
|
|
how to display image on report when i stored image's path in database
|
|
|
|
|
hello how to use a flex grid in c#.net
sree
|
|
|
|
|
What is a flex grid? I have never heard of it.
Ben
|
|
|
|
|
Using C# and the VS2005 IDE SP1
Whenever I run my C# projects through the IDE it always goes through the build process whether the code is current or not.
Is this normal? Can it be turned off as it is a waste of time?
Any help appreciated. Thanks in advance.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)
|
|
|
|
|
It may appear to be going through the build process all the time, but in fact it's actually just evaluating whether it needs to build anything. Unfortunately this seems to take just as long as just building the code would have done.
You can tell the difference: if it actually builds anything, it will output the compiler command line. If not, it won't.
|
|
|
|
|
It seem that is does not just evaluate. It goes through the post and pre build steps too as my tlb's are updated. I'll investigate a little further, thanks for your reply.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)
|
|
|
|
|
The pre build step will always run. If the pre build step changes some source files/other input to the compiler, the project will be compiled again.
For the post build step, there's an option if it should always run or only when the compiler updated the output file.
Ensure your pre build step doesn't write to any files (does not modify the "last write time" of the files) if its input didn't change.
|
|
|
|
|
Thanks for this. I have re-evaluated my pre-build activities and I have been able to move ones that would alter any files to run in post-build when the output has been changed.
Many thanks again.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)
|
|
|
|
|
How can i insert multiple records in the databse in C#?
Sitara
|
|
|
|
|
wrote: How can i insert multiple records in the databse in C#?
Remember you can issue just about any SQL through a SqlCommand . (You didn't specify the database technology you are using so I've assumed SQL Server)
* Supply multiple INSERT statements.
* Supply an INSERT statement with a SELECT where the resultset has many rows.
|
|
|
|
|
Wouldn't it be better to create a store procedure
1) it would reduce the messs in coding
2) store proc are efficient in performance wise.
|
|
|
|
|
Hi,
I have a very simple, yet nagging problem. I am trying to convert some string containing numbers and dots to double. The thing is that double convert (Convert.ToDouble) crashes if the string to convert contains a dot (e.g. "10.10")
Can you please help me around this problem.
Thanks
Krugger
|
|
|
|
|
You're probably running the code on a machine where the standard culture of the OS and consequently of your application usually use another decimal separator (e.g. in german os the comma), so you have to use an overload that takes an IFormatProvider providing proper culture-specific formatting information.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Thank you.
In fact, i just figured it out myself but thank you for the tip. It indeed has to do with the locale.
Krugger
|
|
|
|
|
You can use CultureInfo.InvariantCulture to easily get a number format where the decimal separator definitely is a period.
string s = "3.1415926536";<br />
double p = double.Parse(s, CultureInfo.InvariantCulture);
---
single minded; short sighted; long gone;
|
|
|
|
|
Simple try this
string str = "10.23";
double db;
db=Double.Parse(str);
i think it might help you
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
Hi All,
How can i change/alter the data present in the data set without connecting to the database (but when i update,these changes should reflected in the database)
ayyp
|
|
|
|
|
u can do that by creating data table run time and then add or update values in that table and add it in dataset,then while saving u have to create connection with db and u can update table in db through command object.
rahul
|
|
|
|
|
Hi! I want to implement a new .dll with which you can show a new Column in the Explorer of Windows Vista. I know, that you have to use the new Property System instead of IColumnProvider, when using the .dll on Vista.
But in the MSDN you only can read an example, which includes an so called ".recipe"-file (xml). But I don't won't to define new files. At first I just want to show a new column in the explorer which shows the numbers from 1 to 10 for example. But I don't have any ideas how to implement that. I think too, it is a problem, using the example from the MSDN, cos of its C++-Code. But I need C#!
->http://msdn2.microsoft.com/en-us/library/aa969363.aspx[^]
->http://msdn2.microsoft.com/en-us/library/ms633739.aspx[^]
Can anyone help me please?
|
|
|
|
|
Hi
How to extract text from already existing captcha image.I have some captcha images(jpg format) with me,from that images i have to read the letters one by one and convert them as a string.
|
|
|
|
|
Don't cross post
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
Noone's going to give you code to implement a spambot.
--
Rules of thumb should not be taken for the whole hand.
|
|
|
|
|
"completely automated public Turing test to tell computers and humans apart"
If you can write a proggy that does it then it is self defeating. Heck, if you can write one for any but the most trivial captcha you have a PhD.
File Not Found
|
|
|
|