Search

You searched for the word(s): userid:754916

Matching Posts

  • ASP.NET 2.0 Save the file on the file system and store a pointer in your database

    I see references to doing this, but I'm finding it difficult to find code samples or tutorials. If anyone knows of some URLs that would help me out, I would appreciate the advice. My project involves a form like this (code below). I'm saving the images to the file system, but saving the paths to the database is a problem. The path of the first image saves three times in all three database columns. PicturesFSID txtSuccessStory Image1ContentType Image2ContentType Image3ContentType DateCreated
    Posted to Web Forms (Forum) by sbudlong on 9/12/2009
  • Re: ASP.NET 2.0 Save the file on the file system and store a pointer in your database

    mendhak , that did it! Now each image filepath saves in the database. Thank you so much for your help!
    Posted to Web Forms (Forum) by sbudlong on 9/12/2009
  • Re: HTML and PDF forms populated using C#.NET, VS 2008, and SQL Server

    The client doesn't have a preference of HTML form over the existing PDF. However, I did get some clarification. Hospital patients will fill out this form in a kiosk in a waiting room. If a patient doesn't fill out the whole form electronically, then the patient can print it out and complete the form later. The hospital wants a saved copy with a recognizable name (patient's last name, first name, and date, for example). The simplest solution, I think, if it's possible, is to script
    Posted to Web Forms (Forum) by sbudlong on 9/4/2009
  • HTML and PDF forms populated using C#.NET, VS 2008, and SQL Server

    I'm looking for recommendations on ways to to convert a PDF fillable form to HTML form with ONE submit button that can save the data with a unique name AND print out original PDF with data included. The form is a nine page medical form. I was thinking of building the HTML form in VS2008, using a Gridview, building the database, and having a results page that displays the data that a user just entered. Is there a way to display the entered data in a PDF form? The customer sent me this link http
    Posted to Web Forms (Forum) by sbudlong on 9/3/2009
  • Re: HTML and PDF forms populated using C#.NET, VS 2008, and SQL Server

    Yes, I've come across iTextSharp.DLL, and I'll look into that. The hospital is now using a fillable PDF. Could they continue to use that to gather the data, instead of an HTML form?
    Posted to Web Forms (Forum) by sbudlong on 9/3/2009
  • Re: Joining images uploaded to a server by a user's form email address

    Fayaz, thank you for your suggestions. I'll work toward something in one form. When you say, "But multiple file upload would be good." do you know of a tutorial or some code somewhere? I've done many searches and haven't found any examples of multiple upload with one click and saving to a database.
    Posted to Web Forms (Forum) by sbudlong on 8/29/2009
  • Re: Joining images uploaded to a server by a user's form email address

    For this check to work And for restriction to 3 images, have a check whether there are 3 records in DB before inserting, if yes throw error to user else insert the record. The query would be similar to SELECT COUNT(1) FROM USERINFO U INNER JOIN USERFILES F ON U.USERINFOID = F.USERINFOID AND U.USERID = 'EMAiL ID' if the count is 3 then dont insert the record... I imagine there would have to be a subroutine on the button click and a message to the user. What would this subroutine look like
    Posted to Web Forms (Forum) by sbudlong on 8/29/2009
  • Re: Joining images uploaded to a server by a user's form email address

    This is the code behind that I have now, with your suggestions included. It's throwing errors in VS2008. I added System.IO.How do I insert the Email and Success Story once into a separate table and then use the EmailID to identify each image that the user uploads? There must be a sequence where the Email and Story are uploaded first. Then, somehow, we grab the Email ID as the unique identifier for each image that the visitor uploads. What are your ideas on accomplishing this? Or can I simply
    Posted to Web Forms (Forum) by sbudlong on 8/29/2009
  • Re: Uploading multiple files to file system and storing form field information to SQL Server

    This makes sense to me, but when I include code like this, VS2008 throws error messages (below) string filePath1 = Path.Combine("C:\uploadedstuff\", txtImage1Name.Text); *The name 'Path' does not exist in the current context. ("C:\uploadedstuff\", txtImage1Name.Text); Newline in constant. And as I think about it, this approach won't work. Visitors will be submitting a Web form from a browser window. We wouldn't be able to save images to one location on the visitor's
    Posted to Web Forms (Forum) by sbudlong on 8/28/2009
  • Re: Uploading multiple files to file system and storing form field information to SQL Server

    You're right. I forgot to add "Using System.IO;" However, after I did, the error message still remains in place. Hovering over "Path.Combine" I see String Path.Combine (String path1, String path2 Combines two path strings
    Posted to Web Forms (Forum) by sbudlong on 8/28/2009
Page 1 of 13 (124 items) 1 2 3 4 5 Next > ... Last »