|
I have to develop a web application from a web site.
On the web site, on the App_WebReferences folder, there is a folder
ContactComponent and there are 3 wsdl files, First,Second and Third inside that.
On the web site, the web service is referenced as ContactComponent.First,
ContactComponent.Second and ContactComponent.Third
On my web application also, I need to reference the same way.
How will I add all the three web services to one reference so that I can call ContactComponent.First
ContactComponent.Second
ContactComponent.Third
Thanks
|
|
|
|
|
graphicsPath.AddString("sample", fontfamily, ..., ..., ...);
graphic.DrawPath(pn, graphicsPath);
I have added "sample" to addstring method while application is loading. As i proceed i require to change the name from "sample" to "Item". Can i change it? If yes, how?
|
|
|
|
|
Even i used string variable but in vain..
|
|
|
|
|
I assume you are doing your drawing from either a somecontrol_Paint or OnPaint overriden method that gets drawn whenever the control gets invalidated. Therefore you can issue an control.Invalidate() and use replace the string with whatever.
off the top of my head
private void control_Paint(object sender, PaintEventArgs e)
{
string str = "sample";
if (!loading)
str = "Item";
graphicsPath.AddString(str, fontfamily, ..., ..., ...);
graphic.DrawPath(pn, graphicsPath);
graphicsPath.Dispose();
pn.Dispose();
}
then somewhere, relevent, in you code issue;
isLoading = false;
control.Invalidate();
Hope this helps,
Mike
|
|
|
|
|
I am writting a progam to demo CSMA/CD in the Ethernet, but I don't know how to do. Who can give me code for CSMA/CD? Thanks you very much. Help me!
|
|
|
|
|
If You have code for it could you send it to my mail thucbv@gmail.com
Thanks a lots.
|
|
|
|
|
Ok, Thanks.
This is a protocol used in the Internet. CSMA/CD stands for Carrier Sense Mutil Access / Conllision Detect.
|
|
|
|
|
What prevented you to edit the first discussion thread and present a consolidated query instead of giving separate reply-to-yourself style threads?
Also, discussion forums can not be expected to supplant the basic ground work and homework. They only can streamline your basic work, enhancing the output and helping out in your troubleshooting efforts.
I would suggest you give a deep study of Forum Posting Guidelines here: http://www.codeproject.com/scrapbook/forumguidelines.asp[^]
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
|
|
|
|
|
Nice answer. Damn, but you're getting good at this. I'm proud of you young Skywalker.
|
|
|
|
|
Pete O'Hanlon wrote: I'm proud of you young Skywalker.
It seems that I'm being replaced . Damn the over-bearing workloads!
"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
"There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib
"Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"
|
|
|
|
|
[Strokes Ego]He's only young Skywalker - you're still the Padawan.[/Strokes Ego]
|
|
|
|
|
These forums are intended to provide answers to specific programming questions. They're not places where you can get your (home)work done for you.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
How to get answer to your question:
2. "Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with."
Sorry, I don't know anything about CSMA/CD. But if you want help from those who do know, you better reformulate your question.
[ My Blog] "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
Good day.
First, I have to ask, to please excuse my English.
I have an aspx page with 5 comboboxes on it. The 2nd combobox's details is dependand on the 1st one's selectedValue and combobox 3,4 and 5 is dependand on combobox2's selectedValue. Auto-postback is enabled on both combobox 1 & 2.
Whenever I choose a value in combobox 1, the data in combobox 2 gets updated and the first item in combobox2 is automatically selected. The problem with this is that data in combobox 3, 4 & 5 is dependant om the selectedValue of combobox2 and also needs to be updated with the new selectedValue of combobox2, but it does not get updated when the selectedValue of combobox2 changes as a result of the change in combobox1.
The problem exists when a users choice is the value already selected in combobox2, then the data for comboboxes 3, 4 & 5 aren't populated correctly.
It doesn't help disabling of hiding comboboxes 3-5 and only enabling it when the selectedValue of combobox2 changes, because the user will still click on the same value already selected, and the event will not fire.
I also tried adding a "empty" value to the combobox and selecting it as default, but this will lead to a foreign key violation in the databse.
The question is...
Is there a way, that I can (without adding an empty entry in the database - bad practise) set the initial selected item to a blank entry, thereby forcing the user to change the selected index?
I'm currently using ASP.Net 2.0 and the back-end code is in C#. I believe it can be solved with the back-end code, this is why I posted it to the C# and ASP.Net section.I can make use of Javascript, but the application I'm developing doesn't work all to well with AJAX.
Thanks in advance.
JD Stuart
|
|
|
|
|
Just noticed this is a report from another forum. DON'T DO IT!!
Combobox.Items.Insert(0, "");
Make sure you do this after an databind for the combobox. Alternatively, you could add an item to the collection that you are binding the combobox to. Not the database, the dataset or datatable returned.
only two letters away from being an asset
|
|
|
|
|
jdstuart,
ComboBox.SelectedIndex = -1;
Regards,
Gareth.
|
|
|
|
|
Hi all,
I've finally come to the point where I have to start implementing reports in my applications. The name Crystal Reports pops up regularly but I don't know the first thing about it.
Could someone point me in the direction of some online tutorials or something that can get me started perhaps? I'm not even sure where to start.
Also, is Crystal Reports the way to go and what are my other alternatives?
Thanks in advance
|
|
|
|
|
Crystal Reports is not bad, you could do worse.
Here's a bunch of tutorials off of google: Clickety[^]
"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
"There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib
"Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"
|
|
|
|
|
google.jo?
All that text stacked on the right side of the screen makes me feel uncomfortably.
|
|
|
|
|
blackjack2150 wrote: google.jo?
Mustafa's from Jordan, but the principal is the same in any google of your choice.
|
|
|
|
|
Crystal and its ilk are designed to do rather advanced things and may not be the right tool for doing simple things. I prefer XML with XSLT for simple reports.
|
|
|
|
|
I've worked with Crystal Reports (XI I think) a while ago.
It's pretty powerful and it integrates in .Net pretty easy.
You do need a good deal of IT knowledge though. The best is that you buy a book. Internet tutorials are more for reference. (IMO)
good luck.
|
|
|
|
|
I find u$ report server easier to use the crystal and the complexidy of crystal really doesn't buy you all that much.
MrPlankton
|
|
|
|
|
After using Crystal for almost 10 years I am able to do the most simplest tasks with it. I don't know why so many people cut it
Crystal is easy once you learn its quirks. http://www.devexpress.com/Products/NET/WinForms/XtraReports/[^]
Is also a popular option these days.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
hi
help me how to change the color of a readonly textbox and a Disabled combobox contrl to look like a normal one.
<br />
comboBox1.Enabled = false;<br />
comboBox1.BackColor = System.Drawing.Color.Yellow;<br />
senthil
|
|
|
|