Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Improve this question
I am trying to load 2.5 million in my database in sql server 2008 but i keep on getting the below error.
Additional information: Could not allocate space for object 'dbo.DwH_Staging_Table' in database 'TestDB2' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
How to solve this problem.
Your hard drive section is full. You need more space to do that query. Try shrink database/files to free-up some space temporary:
http://technet.microsoft.com/en-us/library/ms189080(v=sql.105).aspx
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Improve this question
How can i grab all binary serialized data files in a folder, and put them in a Listbox? I have a list of .dat files in a folder. I would like to display them in the Listbox without the .dat file extension. Then have the user select one, deserialize it and load it. Thanks.
Use Directory.GetFiles method. It returns the list of files in the directory and also provides pattern search.
http://msdn.microsoft.com/en-us/library/wz42302f%28v=vs.110%29.aspx
Once you have the list of files you can bind that list to your Listbox.ItemsSource
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm writing a c# app (.Net 4.5) to download files from an ftp server.
I would like, now, to be able to set a maximum download speed.
I can't configure the server, so I will have to do it in the client.
Could anyone explain me how to do so ?
Thanks !
Assuming you have the source code for the ftp client, you do this by transfer chunks of data, comparing the transfer rate compared to your desired limit rate and inserting delays if the transfer is going too fast. See How can I rate limit an upload using TcpClient? for proof of concept code
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
what files are these ?
hi every body
while reading about about coding with c# and asp.net i notice that
files which are (Settings.settings) and the other is
(Settings.Designer.cs) which in one of project layers what kind of
files are they and why he use them ??
Those are application settings, that can be easily edited as a cleartext, human-readable file, and which can be accessed during design-time (and runtime) as classes and properties.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Im busy creating some charts to go on my silverlight application and would just like to know what the .Series[0] represents in the following piece of code
PieSeries pieSeries = ((PieSeries)chart.Series[0]);
Did you check the documentation for the control you're using? What exactly are you having trouble with?
Sec, .Series[0] means to access the Series property, which is an array or list type or indexer, where you want to access the first (zero-based) element (0).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I am very new to .net, Is there way to keep logic files are separated and reuse in cs files?
Create a C# Class Library Project and add its reference to your project.
Aman Khan, Create new dir App_Code keep your logic file there and use to your project as shown in below image
and you call define
using System
using CMS
You can reuse the files.Place all the logic files in seperate folders like App_Code and just copy the code and use it.
Happy coding :)