This is a web service call which I wrote that is intended to receive a WAV file via a POST and store it in the web-app server's local file system (IIS). Is there a simple method to store the file and if so would someone be so kind as to provide a C# example?
...
I have the following code. In SQL Server profiler I can see the isnert statement being generated however no actual record has been inserted. I just can't figure out why this is happening!
private ISessionFactory _sessionFactory;
private Configuration _configuration;
_configuration = new Configuration();
_configuration.Configure();
_con...
Hi
I have a webform which has a gridview. the gridview (gridView1) has been bound to a datatable (dataTable1).
when user creates a new row, I add that new row to the dataTable1. Also, when he updates a specific row within gridView1, I update dataTable1.
Now, I want to save all rows within dataTable1 in DB. How?
...
The answer to this may be obvious but how do you save an object, in grails, that has a composite id. I have an object that has a composite id including a long and a date and I am trying to save an instance of the object from the update method of another classes controller, and using (object).save() isn't working. Any tips or suggestion...
I want a website where-in it will store all my (quick)scripts online. Sometimes I will writing a couple of python scripts to get this done like, getting the list of recent files added, getting the list of added files on a day, or something even more simpler. So I want to document those scripts on a daily basis. How do it online?
Update:...
Here is my code to Serialize, Deserialize and Save an image to the file system. I have looked at many examples of serialization/deserialization and I just want to get some feedback as I am sure my code could be improved. Any feedback would be greatly appreciated. I know this is a common problem so hopefully this question will be a good r...
I have some queries such as update, delete.. etc.
Before i run them i want to create savepoint (without using transaction). But "how?" I don't know because savepoint is part of transaction. Is there another way to achieve this job?
...
Hi,
I am using jQuery resizable from interface.eyecon.ro/docs/resizable for a menu on a page that I am working on. I need to set a cookie ( plugins.jquery.com/project/Cookie ) to store the height of the menu div so that the div doesn't resize to it's original css height on every page reload.
I've been trying to adapt the code from http...
I'm trying to make it so I can save data from my program when the user is running the applicaiton through run as like through this dialogue box. I'm finding I cant actually write to any folder and read back from it later on. i've tried 'All Users', Application data, My Documents, etc but to no avail.
Any ideas how and where I am suppose...
I copied these posts from a forum where I posted recently, but got no reply.
I have the base for my code all setup, it is a drill down table with navigation controller which loads data into a nsmutabledictionary from a plist with some empty values, on purpose. On command the app then downloads information which is then set, setValue, in...
Hi,
can anyone tell me how to save the data more than one row in data grid view for each time? - vb.net
...
Hi All,
Can one anyone provide any information on whether can we store normal text data(varchar) in mysql or sqlite Blob data type
...
Hi there,
I seem to have stumbled over a problem regarding saving an xml file from a string (this is done on the iPhone)
The file itself exists and included in the project (hence within the workspace), and all indications I get from the code snippet which follows passes without any errors on the emulator and fail on the iPhone (error 51...
HEllo,
I'm using nhibernate and have problems regarding user registration on my site.
When user wants to register I create new user record in the database and immidiatelly after that the system is logging the user in.
Well here lies the problem... When creating user record I'm using
NHibernateSession.Save(entity); //does not saves u...
does anyone know how to save a file image with previously
show a dialog to choose where the location is and input a name of the file?
thanks for your response, appreciate it
...
The upload script in this page is currently uploading the images to the same folder as the script. How do i make the script save all the images in another folder?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; cha...
Hi,
I gave details on my code : I don't know why my table is empty (it seems that it was empty out after calling save_model, but I'm not sure).
class PostAdmin(admin.ModelAdmin):
def save_model(self, request, post, form, change):
post.save()
# Authors must be saved after saving post
print form.cleaned_data[...
I am using C# and have a key the users enters to activate my program. I do not want the user to be able to see the key once it is entered. Do you have any recommendations for how/where to store it?
...
I am trying to save a ListObject from a .NET 3.5 Excel 2007 VSTO Workbook to a new sheet (done) and save that new sheet to a new workbook (done) without that workbook requiring the VSTO customization file (!!!!!).
Has anyone had any luck with this? The only way I've had any success is just saving as a CSV file but that's not exactly ...
Hi,
I have a product that has 1 or more product relations.
Entities: Product and ProductRelation
So product has a property List(Of ProductRelation)
Now I have a checkboxlist where I can select a number of products that I want to assign to this product.
When I add a new collection of ProductRelations with the new products, It should ...