Check this kumar...

sri sri replied to Vasanthakumar D at 09-May-08 05:48
Hi,
consider the following case.
**first time she edit an user and upload the file
**Second time select the same user edit but should not upload the file
** In this case the user details should be update but not the file
** Right?
** According to your code, if she did not choose the file the empty file name will be update to the db. the old  file name will be lost

to over come this
you should not update the file name when ever the file is not choosed



Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  File Upload prob.... - shreya verma  09-May-08 04:25 4:25:49 AM
      check here - Vasanthakumar D  09-May-08 04:31 4:31:07 AM
          No Change.... - shreya verma  09-May-08 04:39 4:39:48 AM
              check now... - Vasanthakumar D  09-May-08 04:44 4:44:51 AM
                  ok...Have a look - shreya verma  09-May-08 04:51 4:51:20 AM
                      post full code... - Vasanthakumar D  09-May-08 05:02 5:02:03 AM
                      Check this - sri sri  09-May-08 05:02 5:02:05 AM
      Use this to upload a file; - Sujit Patil  09-May-08 04:53 4:53:58 AM
          see........ - shreya verma  09-May-08 05:00 5:00:50 AM
              check ispostback - sri sri  09-May-08 05:03 5:03:40 AM
                  U got my prob. but.... - shreya verma  09-May-08 05:11 5:11:51 AM
                      Try this - sri sri  09-May-08 05:28 5:28:20 AM
              Okey see - Sujit Patil  09-May-08 05:05 5:05:11 AM
                  my prob is... - shreya verma  09-May-08 05:17 5:17:10 AM
                      Try This - Sanjay Verma  09-May-08 05:23 5:23:22 AM
                      HI Shreya see prob is - Sujit Patil  09-May-08 05:23 5:23:24 AM
                          what to do??? - shreya verma  09-May-08 05:30 5:30:44 AM
                              try this - sri sri  09-May-08 05:34 5:34:31 AM
                                  No change.... - shreya verma  09-May-08 06:01 6:01:28 AM
                                      Hi - sri sri  09-May-08 06:03 6:03:18 AM
                              Incorrect path error!!!!!!!!!!! - Sujit Patil  09-May-08 05:39 5:39:42 AM
                              try this code.. - Vasanthakumar D  09-May-08 05:41 5:41:30 AM
                                  Check this kumar... - sri sri  09-May-08 05:48 5:48:29 AM
                                  it works... - shreya verma  09-May-08 06:40 6:40:04 AM
                                      Check this - sri sri  09-May-08 06:42 6:42:05 AM
                                          then Tell............. - shreya verma  09-May-08 06:58 6:58:00 AM
                                              have a lable - santhosh kapa  09-May-08 07:13 7:13:03 AM
                                              Try this - sri sri  09-May-08 07:15 7:15:08 AM
                                                  see................ - shreya verma  09-May-08 07:32 7:32:14 AM
                                                      check here... - Vasanthakumar D  09-May-08 08:16 8:16:23 AM
                                                      See This - Sanjay Verma  09-May-08 09:13 9:13:09 AM
                                      try from here - santhosh kapa  09-May-08 06:50 6:50:03 AM
                                      you cannot assign value to file upload control - Vasanthakumar D  09-May-08 07:05 7:05:04 AM
                                          ok, then.... - shreya verma  09-May-08 07:15 7:15:54 AM
                                              try this - sri sri  09-May-08 07:23 7:23:04 AM
                                                  tell.......... - shreya verma  09-May-08 07:42 7:42:33 AM
                                              file path is available in Label... so no issues - Vasanthakumar D  09-May-08 07:32 7:32:01 AM
                                                  Error..... - shreya verma  09-May-08 08:00 8:00:24 AM
                                                      check whether file path is correct... - Vasanthakumar D  09-May-08 08:07 8:07:47 AM
                                                          Thanks to all................. - shreya verma  09-May-08 08:14 8:14:50 AM
View Posts