|
Create multiple threads, each thread has it's own connection over which it executes its backup operation. You may need to turn pooling off on your connections.
I would be wary of this, 5 backup operations running simultaneously on 1 server will affect performance!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Not considering the performance implications of running 5 backup operations concurrently (which would involve heavy disk read/write operations), I would suggest:
1. Use the Thread class
2. Use ThreadPool
3. Use a BackgroundWorker
4. Use Task Parallel Library
|
|
|
|
|
Hey guys,i am having trouble with my application in terms of clearing textboxes when i change my tabs.i have one tabcontainer with 3 tabs namely "Create" "update" "Delete" in my tabcontainer1 .the code i tried:
protected void tabContainer1_ActiveTabChanged(object sender, EventArgs e)
{
if (tabContainer1.ActiveTabIndex == 0)
{
txtCompanyname.text="";
}
am i doing something wrong?
also 1 more problem i have is that my gridview is stretching out of my page,any way around this guys?
Thanks
|
|
|
|
|
HimalR8 wrote: am i doing something wrong?
Yes. You should have posted this in the ASP.NET forum, where the ASP.NET experts are.
Also, if they are Ajax tabs, aren't the events happening on the client and not the server?
|
|
|
|
|
Oops sorry.will move it too the asp.net forum.New here and new to programming.
Thanks
|
|
|
|
|
Not a problem. Welcome to the forums - as I deal primarily in desktop development, I tend to steer ASP.NET questions to that forum because the people who answer there are generally very clued up.
|
|
|
|
|
Hey.. I am developing an windows form application using ms sql server 2008. and i want to connect my sql server to cloud at internet to use it as backup. if there is any changes made bu application in local server then it should be reflected on cloud also. and if there is any loss of data at local server then it should get backup automatically from cloud.
Can someone help me in this please.. ??
|
|
|
|
|
KUNWAR999 wrote: Can someone help me in this please.. ??
The cloud provider I bet.
You need to have rights on their server, I don't know if the give you access for your server to connect to their, but if they do, they can tell you more about.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
I have a database on cloud.. as for backup.. i just want to connect my sql server to that database though c
# coding.. help here pls..
|
|
|
|
|
|
hey sorry.. i think you get me wrong.. i want to connect mssql server 2008 to cloud ,.. not my application to mssql2008.. i have already done that.. now i want to connect local server which is mssql 2008 to cloud database. thanx for your try.. but hope you understand my question now..
|
|
|
|
|
Then it's the wrong board. In this board we are discussing C# programming and not SQL-Server to Cloud connection.
You should go to the database board.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
Looks like you need to investigate the Microsoft Sync Framework. Details here[^].
|
|
|
|
|
I thnk tat can help me.. thnx for this.. i l try with it.
|
|
|
|
|
Hi @All,
I want to use DirectShow.NET to record a Webcam.
I have already written a small Programm to capture it.
Now I want to add a Text to the video-capture.
How can i add the Text to the captureGraphFilter?
Thanks!!!
|
|
|
|
|
Hi,
when iam installing a setup ,I want an installer class that creates a shedule task to run at every logon.
|
|
|
|
|
Member 7952119 wrote: when iam installing a setup ,I want an installer class that creates a shedule task to run at every logon.
Nice idea. I want a service that knows the mood i'm in and change the background pics for that.
Next thing I want is a specific question from those who write their question in these boards.
So what do you want to know? What do you wish todo? You can use a logon script, you can use a service, you can use a programm in autostart.
For services take a look at:
http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicebase.onsessionchange.aspx[^]
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
Hi, I'm from Russia and I don't know English very well, so excuse me =)
I'm makin' a client-server application using Socket. I use C# 2008 Express in Windows 7 Pro. While debuging everything is fine. Also, compiled executables work perfectly on my computer. But when I run a Client-application on another computer (Windows XP), It throw an exeption. SocketPermission Exception. I tried adding to my code following instructions:
System.Net.SocketPermission _permission1;
_permission1 = new SocketPermission(System.Security.Permissions.PermissionState.Unrestricted);
_permission1.Assert();
But exception is still throwing. So, what I need to do to solve that problem?
Oh, almost forgot, An exception appears when the socket is trying to Connect();
|
|
|
|
|
LONEROMEO13 wrote: But when I run a Client-application on another computer (Windows XP), It throw an exeption.
Is the port open? Maybe it's blocked by the firewall, then you get an Socket Exception. So open the port for your application and the error might be gone.
Well, try it. If that's not the solution, write it here and I try to figure out, what the problem might be. I was used to socket programming a long time ago. Might be fun to refresh the knowledge a little bit.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
LONEROMEO13 wrote: An exception appears when the socket is trying to Connect();
MSDN[^] holds a list of exceptions thrown by each method. For this specific exception, it states; If you are using a connection-oriented protocol like TCP and you do disable blocking, Connect will throw a SocketException because it needs time to make the connection. Connectionless protocols will not throw an exception because they simply establish a default remote host. You can use SocketException.ErrorCode to obtain the specific error code. After you have obtained this code, refer to the Windows Sockets version 2 API error code documentation in the MSDN library for a detailed description of the error. If the error returned WSAEWOULDBLOCK, the remote host connection has been initiated by a connection-oriented Socket, but has not yet completed successfully. Use the Poll method to determine when the Socket is finished connecting.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Hey guys, I'm new to Jquery and I'm trying to use <pre>jCapSlide</pre> in a datalist,
<pre lang="HTML">
<asp:DataList ID="DataListList" runat="server" DataSourceID="ObjectDataSourceList"
RepeatColumns="5" CellPadding="5" CellSpacing="5"
OnItemDataBound="DataListList_ItemDataBound">
<ItemTemplate>
<div id="capslide_img_cont" class="ic_container">
<asp:Image ImageUrl='<%#Eval("Images.Image.Virtual_FileName") %>' ID="MainImage"
CssClass="NewsImage1" runat="server" />
<div class="overlay" style="display: none;">
</div>
<div class="ic_caption">
<p class="ic_category">
'<%# Eval("Category.cName")%>'</p>
<h3>
'<%# Eval("pTitle") %>'</h3>
<p class="ic_text">
'<%# Eval("pTitle") %>'
</p>
</div>
</div>
</ItemTemplate>
</asp:DataList>
</pre>
with this Function
<pre lang="Javascript">
<script type="text/javascript">
$(function () {
$("#capslide_img_cont").capslide({
caption_color: 'white',
caption_bgcolor: 'black',
overlay_bgcolor: 'black',
border: '',
showcaption: false
});
});
</script>
</pre>
There are 3 records, this applies on the first one but not the other two,
I think the problem is repeated <pre>id="capslide_img_cont"</pre> but can't seem to fix it.
can you help me out ?
It's deeply appreciated
|
|
|
|
|
I think this probably belongs in the Javascript forum.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
There are basically two ways to create a webpage with code behind.
1. Create dynamic data inside the HTML (what you do here)
2. Spit out complete HTML from the code behind
Personally I always use option 2 as much as I can.
What you would need to do then is create a datalist and add a label to it. In that label you can set any HTML coding you want. (There are also many more advanced ways to do it)
Hope this helps.
|
|
|
|
|
hi guys. I want to see how to automatically upload an image to google "search by image" using C# code. Assume that I have a photo "C:\photo.jpg" and I want to upload to google search by image to get the result page.
|
|
|
|
|
I would be interested to know how you can use Google to "search by image"? I see no such option offered.
One of these days I'm going to think of a really clever signature.
|
|
|
|