|
1) DON'T SHOUT.
2) It's not urgent, I checked. It isn't even on my top 100 "Things to do today" list. It may be urgent to you, but perhaps you should have started your homework a little earlier?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Hello Guys
I am facing one issue on ssis.
I have to fatch 100 record with pending status from DB and send to web service. on response of web service would get same 100 record and same need to update with completed status in DB. Now again I have to fatch 100 record with pending status..... so I have to execute ssis package till record with completed status.
plz let me know how I can execute ssis package till all record update.
|
|
|
|
|
That has nothing to do with C# unless you are writing a C# script withing SSIS -- which might be the way to do it. Can you provide more detail?
|
|
|
|
|
what is the work AES Encryption in c#?
|
|
|
|
|
i want to parse a set of xml docs and index the body&title&url of them how can i do it?
|
|
|
|
|
shima541 wrote: how can i do it?
As described in the documentation[^]. There's also a HowTo[^] example on MSDN.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
For .net developers, there is this quite old CruiseControl available for as CI-Server.
Jenkins is somehow now state of the art for Java Development.
Question:
Is the anything as Jenkins available, based on .net? I talk about freeware?
|
|
|
|
|
Jenkins supports CI for .NET as well. Why not just use that?
|
|
|
|
|
We just started to setup our CI world with Jenkins.
Now we have to create tons of extensions in Java which is really cumbersome as our complete focus is on C#.
|
|
|
|
|
I've been using CruiseControl.NET for around 4 years and it does everything a CI server needs to do, and it works well with the .NET Framework as you'd expect. It runs all our builds without any problems, including our deployments.
It's easy to install and configure, and there is large community to help you support it.
Do you have specific requirements?
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
|
|
|
|
|
Today i have a unique requirement which i am going to explain with an example
My String
string s = "aaaabcc";
Now i want to use 2 replace functions at same time. so, answer would be like this:-
OUTPUT
ccccbaa
Till now i don't know how to start as when i write
string s = "aaaabcc";
s = s.Replace("a","c").Replace("c","a");
the answer goes wrong cause last replace function removes the newly added char.
Can anyone help me here any piece of code snippet would be helpful
Thanks in advance
|
|
|
|
|
You need to use an interim character that is neither a nor c. Something like:
string s = "aaaabcc";
s = s.Replace("a","#").Replace("c","a").Replace("#","c");
|
|
|
|
|
|
Please do not post the same question in more than one place, you already got an answer in QA.
|
|
|
|
|
sorry for that need reply urgently but i think i will wait till the perfect answer
|
|
|
|
|
A thing to remember. This is a volunteer site. Just because something is urgent for you doesn't mean that there's any urgency for an answer. Ironically, asking in more than one location dilutes your chance of getting the answer you need in your timeframes.
In other words, when posting a question, show some patience.
|
|
|
|
|
yes sir, i understand and i apologized for it already but can you help me in this question?
|
|
|
|
|
You have already been helped.
|
|
|
|
|
While no answer is perfect, I'd be wondering how you are going to recognize it. I'd also like to point out that there is a slight contradiction in "waiting urgently".
If "all the characters are taken", then you'd introduce the concept of an escape-character (or multiple). It was also a bit premature to shout that all characters are taken, as various encodings allow for fewer or more characters.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
.. and please stop cross posting in different forums - Medhi also gave you a similar answer in the other forum you posted this question - ok, so, he didn't chain the replaces, no big deal
|
|
|
|
|
s = string.Join( "", s.Select( ch => ch == 'a' ? 'c' : ch == 'c' ? 'a' : ch ) );
|
|
|
|
|
sir it is giving compilation error sir please try to fix it and update the answer
|
|
|
|
|
You're expected to do some of the work yourself. We don't get paid to write code for you.
|
|
|
|
|
What do I get if I "fix" it?
It's a "code fragment" that conveys the essence of your question.
Do you know what a "code fragment" is?
Do you know what LINQ is?
Do you know what a "using" statement is used for?
|
|
|
|
|
That may be correct but I know I can understand the Replace() structure one hell of a lot easier that your linq solution. I guess it takes a particular mental bent to look at that and have it go 'click' and understand it.
Never underestimate the power of human stupidity
RAH
|
|
|
|