Re: upload a file in gridview, etc.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Dec 19, 6:50 pm, "Stephanie" <h...@xxxxxxxxx> wrote:
Hi. I have a little app that is meant to manage a list of items. An item can
have an image as a piece of its data. I have a form that has a master/detail
relationship identified with a gridview and detail view. I have the detail
view set to add/edit/delete records with dropdownlists for the elements
whose values exist in another table. Lovely. I would like 2 of the fields to
allow me to upload pictures. I would like to save the path of the pic into a
field in the database and save the pics themselves to a folder off the
webroot.

(Back in my ASP Days I recall that it was not advised to put files into
BLOBS for this sort of thing. Does this recommendation still hold? )

Does someone have a reference for this? I want to make sure I chose things
that will play nice together. Thanks!

It depends on what database, how big files are, how many, etc

Check out this white paper from MS Research
http://research.microsoft.com/apps/pubs/default.aspx?id=64525
.



Relevant Pages

  • Re: Gridview Updates not writing to database after clicking update
    ... Can you reproduce the behavior through a standard sample database, ... would you try posting a simple test page here so ... Microsoft Online Support ... | Subject: Re: Gridview Updates not writing to database after clicking ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: I lose data, when I try to save a loaded DataTable on the click of another button in an asp.net
    ... that allows for the upload of an excel sheet into the database. ... I have an upload button and a save button. ... which is bound to a GridView for previewing before ... protected void Upload_Click(object sender, EventArgs e) ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Using gridview in a timecard application
    ... One possible query is to use ... such as GetWorkdayHours and GetWorkdayID. ... is to modify your database table to fit your needs. ... That is where the gridview breaks ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Gridview Binding/Paging
    ... It seems a waste of resources to be binding more than necessary. ... For instance, when using edit mode, the gridview is initially bound (making ... (another database call), ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Index Page
    ... > You want a 'master/detail' model. ... >> I want to create an index consisting of the first field in my database ... i already have a submition form and items that go into the ...
    (alt.php)