|
hi christian,
Thanks for remind me of the reporting progress My problem was solve.Thanks guys.
|
|
|
|
|
*grin* glad to help
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
<br />
<br />
Object obj = null;<br />
if(obj == null)<br />
Console.Writeline("null");<br />
<br />
if(obj != null)<br />
Console.Writeline("not null");<br />
<br />
In above which will execute faster. == or !=
Just curious...
Regards,
Vythees
Miles to go before sleep...
|
|
|
|
|
Does == or != has much vertical differences?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
I imagine they would be the same.
|
|
|
|
|
vytheese wrote: In above which will execute faster. == or !=
Considering that your PC probably runs at 2+ billion clock cycles per second, and such an operation is so trivial compared to other instructions that could be issued, does it really matter? Seriously, the jump that's going to happen after the conditional check is going to cost more than the check because of the way processor pipelining works. And the jump is going to happen regardless of the type of check you are performing.
In short you are over optimising.
Finally, just so you get your question answered - They cost the same in terms of processor cycles.
|
|
|
|
|
It's like asking you (As a Human Being)
Which can you solve faster:
1 + 1
or
5 * 5
They're both SO easy (I hope...) that the time it takes you to do the calculations is SO small, the time taken is actually negligible in the actual scheme of things (The time taken from being given the question, to producing an answer), even though the second question (Being multiplication, with higher numbers) is obviously harder (Relatively...)
To Sum Up:
It doesnt really matter
-= Reelix =-
|
|
|
|
|
So in that terms, Is there will be a diffrence between JNE or JE instructions.
Colin Angus Mackay wrote: In short you are over optimising.
Yes I agree with the above.
Regards,
Vythees
Miles to go before sleep...
|
|
|
|
|
Hi,
How can I read data (data sent to printer from notepad or any other application) from printer port before printing based on printer port and ip adress (in case of network printer) in C#
This is very very urgent for me
Thanks in advance
--Krishna
Krishna Prasad RVS
Microsoft Certified Application Developer (MCAD)
|
|
|
|
|
You would do this by watching the print spooler, not a port. By the time it gets to the port, it's been sent.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I wrote a code that will poll with active directory for the changed user attributes. If my code find that there is any change (say for ex: change is for telephone number for one user), my code will fetch the latest attributes from active directory and update my application datanbase with it. This I am achieving based on the LDAP DN for all users in my app database.
So here I want to know, if I change the CN for a group in active directory, how can I get this update. My code doesnt able to fetch this CN itself (as my app dtabase is having old CN).
How can I acheive this?
Thanks in advance!
-Yoyo
|
|
|
|
|
while binding a drop down I am facing this error:"DropDown has a SelectedValue which is invalid because it does not exist in the list of items."
I have two drop down in a repeater control if u select value as 1 in first ddl then second ddl should show 3 items else it should show only 2 items. but when I select value 1 in first ddl & select the newly displayed item in 2nd ddl & try to add another row in repeater. I get above mentioned error.
:"2nd Dropdown has a SelectedValue which is invalid because it does not exist in the list of items."
|
|
|
|
|
I guess you're setting an invalid selected item in code. And asking in the wrong forum, we have an ASP.NET forum.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i want to pass the text of a textbox to a Crystal report that can be use as report header
|
|
|
|
|
Please don't ask the same things over and over
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Excuse me but I realy need it.
|
|
|
|
|
So, your position is, that unlike all the other predominately Indian non programmers who take coding work then ask people here to do the work for them, you actually NEED a response and so you're allowed to just keep posting over and over, because if you're rude, we're sure to help more quickly ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
so you think that you are polite??????????!!!!!!!!!!
|
|
|
|
|
No, I think that what you're saying is ridiculous and you need to consider the rules of the list you're asking for help, instead of just assuming your problems are worse than everyone elses.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i want to have a report generator in Visual Studio .net(C#) that i can generate my reports easyly and fast .
|
|
|
|
|
What is wrong with Crystal ? There's a great library from Dundas for creating charts, would that help ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i want to pass text of a combobox to crystal report from another form and can not do this.can you help me.
in delphi and with quick report it is very easy to do(the objects of Quick report is accessable from another form)
thanks.
|
|
|
|
|
1. Parameter
2. SelectionFormula.
|
|
|
|
|
thanks for your attention.
I tried parameter but could not use it can you explain me how to use it and if you have a sample for these two solutions please show me.
thanks a lot.
|
|
|
|
|