image size in db

  • Hi,

    I have to allow user to add images up to 5mb per meeting. So, before I save the image in the db I have to get the total image size per meeting.

    Any suggestions how this can be done? I am using c# with SQL Server 2000.

    Thanks in Advance,

    Bhavna

     

  • I haven't used c#, but couldn't you expose the File System Object of the image and check the size?

     

    Regards,
    Matt

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply