|
You want John to actually say what he really feels?
You're inviting a vitriolic diatribe of bibl....
Hang on, you are right! Come on John give it your best!
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
That is a beautiful piece of work...
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
hey,, can anyone pls give us a sample program with .c and .exe of a singly linked list in turbo c?,, because our prof. is irresponsible...
she will only give the output,, and she knows that all of us we're still noobs,,, and the deadline is today...
she said,, we go look for sample programs on internet,, and when i go ask her,, she's just watching youtube unblocked by bigdoctoring.com
and just checking her mail...
thanks,,,,
we hope you understand our situation....
|
|
|
|
|
Did you google search? HERE? Just a tiny bit of advice, if you're thinking about a software engineering or computer science career, get used to not having the answers handed to you. Google and good reference books are your dear friends.
Oh and try paying a little attention to the forum you're posting on this is for C# (pronounced c-sharp), not turbo C (pronounced turbo-c).
Scott P
“It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.”
-Edsger Dijkstra
|
|
|
|
|
carbon_golem wrote: software engineering or computer science career, get used to not having the answers handed to you.
Good one, Scott.
carbon_golem wrote: try paying a little attention to the forum you're posting on
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Dude, you are in the wrong forum.
nashikoy wrote: because our prof. is irresponsible...
I don't think she is. How can you learn without challenges?
nashikoy wrote: the deadline is today...
That isn't anyone's problem around here, but your own Quit whining and get your assignment done.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
I am working on an existing proxy to a webservice. Making name changes and such.
Inside the generated proxy there are two (main) partial classes there
1)
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name = "TTWDiabetesDataServiceSoap", Namespace = "http://ns.com/")]
public partial class TTWDiabetesDataServiceWse : Microsoft.Web.Services3.WebServicesClientProtocol
and
2)
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name = "TTWDiabetesDataServiceSoap", Namespace = "http://ns.com/")]
public partial class TTWDiabetesDataService : System.Web.Services.Protocols.SoapHttpClientProtocol
Notice the only difference between the two is one class has a Wse at the end, the other not. Plus, the first one derives from WebServicesClientProtocol and the 2nd one SoapHttpClientProtocol.
My question is, how do I generate both of those in the proxy? I do a wsdl and it only generates the 2nd one..not the first one.
Thanks
|
|
|
|
|
Hi,
The second one is obvious since it's the actual web service client. But the first one is odd. It could have something to do with designer since Services3 isn't documented namespace and neither is WebServicesClientProtocol .
However if you want to manually generate proxy, the second one is enough. Just generate the cs and modify names etc. It should be usable (currently using this technique for all web services instead of Visual Studio IDE generation).
Hope this helps,
Mika
|
|
|
|
|
Thanks Mika for the quick reply. I meant to add to the post that most of the code that calls the proxy, actually calls method 1. and not 2. I don't understand where it came from and there is no one to really ask on my end. So I'll continue to troubleshoot and call Method 2 and see what it does. Thanks again for the time and reply.
|
|
|
|
|
You're welcome
You might want to check if the TTWDiabetesDataService is used somewhere in the generated code to provide the functionality for TTWDiabetesDataService (or vice versa). Just right click above the name and "Find all references". This may help to clarify the situation.
|
|
|
|
|
Mika Wendelius wrote: It could have something to do with designer since Services3 isn't documented namespace and neither is WebServicesClientProtocol.
Service3 is part of WSE3, and it simply inherits from the default web services base class.
|
|
|
|
|
The first one uses Microsoft Web Service Enhancements 3, which is not included in .NET, but is a separate download. Goolge for WSE3.
|
|
|
|
|
Eeek, I should read all replies before I just say what has been said
|
|
|
|
|
Now it makes sense. Excellent feedback guys. Thanks
|
|
|
|
|
I am using bulkcopy to import data into SQL server database.The data i'm trying to import contains student numbers and the modules that they are registerd for.A student can be registered for many modules(which means one student number can appear many times on the table).Problem is when i try to import my spradsheet my application throws a "Violation of PRIMARY KEY constraint" error.
How do i fix this
|
|
|
|
|
Hi Twyce,
you have a duplicate value on the primary key.
On which field / fields you have set the primary key ??
Greetings
Ralph
|
|
|
|
|
the StudentNumber is my primary key
|
|
|
|
|
If you have more then one tables, please give us an illustration.
Do you try to insert "Students" twice ?
|
|
|
|
|
yes you can say that coz i insert a student number more than once but with a different module code
example
StudentID ModuleCode
s20600752 WIC33222
s20502106 MKI4563
s20600752 LKH7566
s20600752 POU35568
s20502106 KLK67887
|
|
|
|
|
it will crash on Student s20600752, Line 3 !! this key is already there.
set your primary key on both fields "StudentID" and "ModuleCode" and make sure you don't insert a student with the "ModuleCode" twice.
|
|
|
|
|
Thanx for replying so quick. i have jst set my primary key on both fields an ran it and it still gives me the same error.
|
|
|
|
|
That make no sense.
You really sure you don't insert different module codes for the same student?
Try your routine with fewer data. I hope that will help you to find the problem.
|
|
|
|
|
What is the primary key for registrations table? If it is only student then you'll have a problem since student can have only one module.
If the table definition is correct, but you have duplicate data (for example because of denormalization), you can disable the primary key, load the data, clean the data and enable the primary key.
Hope this helps,
Mika
|
|
|
|
|
Ok here is what i am doing.The tble is an asociative entity between table student and table module.so it gets its data from both tables.what i did was jst make the StudentID(from table student) my primary key.A student can be registerd for more than 1 module .i want to have duplicate student numbers but with different module IDs. do you get me?
|
|
|
|
|
Yep, define both StudentID and ModuleID for the same primary key (multicolumned key)
|
|
|
|