|
|
Thanks alot. My issue is solved.
|
|
|
|
|
Any Time ..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
I have a very large XMLDocument with 56,000 child records each having 8 child field elements. The application that i have written performs a complicated process on the XML. It can process 10,000 records in 5 minutes and 20,000 in 25 minutes (increases exponentially) but takes maybe 10 hours to process the 56,000 record (which is unacceptable). Whats the best way to de-batch this XML Document into bite size chunks (eg 10,000 and after 5 iteration will process 50,000. which will execute in 25-30 minutes processing time)
Thanks.
|
|
|
|
|
Have you tried any multi-threading? I'd also revisit the algorithm, or work being done; it seems excessive to use that much time. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
You can try these 3 ways...
1. as Mark suggested use multithreading
2. load the xml doument in datatable and perform the task, it will be much more faster then processing a file on the disk.
3. if possible try to create a global temp table in sql server (##tablename , so that you don't lose the table on connecting close), and insert the xml document in the table and after that you can fire Select / Update statement on the table and get desired result.
you can use all of the 3 at the same time to get the improved performance...modified on Sunday, February 28, 2010 6:39 PM
|
|
|
|
|
Thanks i'll give that a try
|
|
|
|
|
I hava a simple Web Service create by C#.
And now I need to let the user visit this web service through apache.
How to set it in the apache, it need to modify the C# code?
|
|
|
|
|
|
It is a good answer, thanks very musch
|
|
|
|
|
Hi,
I gave the follow code snippet :
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" />
<div>
<asp:ComboBox ID="ComboBox1" runat="server">
<asp:ListItem Text="Item1" Selected="True" />
<asp:ListItem Text="Item2" />
<asp:ListItem Text="Item3" />
<asp:ListItem Text="Item4" />
</asp:ComboBox><br /><br />
<asp:Button ID="EnableButton" runat="server" Text="Enable"
onclick="EnableButton_Click" /> 
<asp:Button ID="DisableButton" runat="server" Text="Disable"
onclick="DisableButton_Click" />
With code behind :
<br />
protected void EnableButton_Click(object sender, EventArgs e)<br />
{<br />
ComboBox1.Enabled = true;<br />
}<br />
<br />
protected void DisableButton_Click(object sender, EventArgs e)<br />
{<br />
ComboBox1.Enabled = false;<br />
}<br />
Why do I have to press the "Enable" button twice to enable a disabled ComboBox ?
How can I solve the problem ?
tia
|
|
|
|
|
You don't have an ajax combobox. Just by placing a scriptmanager on the page does not automagically make it ajax.
Enabling and disabling controls can easily be accomplished on the client-side with javascript. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
This is because you are not using an UpdatePanel . add an UpdatePanel on the page and put everything inside except ScirptManager . and it will work. and also use the scriptmanager instead of toolkitscriptmanager.
if you want to do this without AJAX for testing then add Response.Redirect("~\ThisPage.aspx"); after you set the combobox enable true or false, and you dont have to click twice to enable or disable it.
|
|
|
|
|
Are web form generators like:
http://www.wufoo.com
http://www.elbowspace.com
http://www.formsping.com
http://www.fospace.com
considered web 2.0?
|
|
|
|
|
Hi,
can anyone guide please on how to retrive ads for the AdRotator control from SQL server and update the views and clicks plz..
Thanks,
|
|
|
|
|
|
Hi,
I have tried few ASP.NET hosting providers so far but I still have problems with them, mostly server is down or emails are not reaching when I send though my ASP.NET..
Can you please share your thoughts with me..
which hosting provider you are using now? are you happy with them?
Thanks..
|
|
|
|
|
jrahma wrote: mostly server is down or emails are not reaching
This means, you Hosting server is not working properly. You can ask them to resolve the issue.
Which Server are you using hosting ?
|
|
|
|
|
well, i used 1&1, m6, discountasp, brinkster and maximumasp..
I will now try serverintellect, their plans and price are good but they need to add more hard disk space and bandwidth to the their plans I guess
I hope they will be good...
|
|
|
|
|
Looks like you've already tried quite a few and I've also used most of those over a period of time. Presently using DiscountASP.net and SoftSys neither of which have given any trouble whatsoever. If you're having trouble with all of those hosts is it possible the issue is yours and not theirs?
Have you tried speaking to any of them to resolve the issues? I know that, for instance, DiscountASP.Net have a pretty good support system and when I've needed info to make soemthing work they have been very helpful.Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
|
I have 2 sites with them. Easy to setup and use: no problems at all.Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
Well, if you are unhappy with DiscountASP then I think you are in for a tough time. I have been with them for over 5 years and their servers have a very high availability. http://www.youralarm.com - written in ASP.net & SQL Server
|
|
|
|
|
|
If you understood what a master was and did this would be easily answered. Hint: the master page and content page are consolidated when rendered. I know the language. I've read a book. - _Madmatt
|
|
|
|