hi all
i am using radupload in my webform
i want to initiate upload after some process to happen
e.g.
i am having a database named dataemp
in that a table tb1
having fields
id = auto number
name = text
address = text
photodir = text
photoname = text
now what i want to do is that after filling form
name: textbox
address: textbox
photo: radupload
when user fills the form
after that he clicks submit button
at that time
insert name and address in database
get id from dataemp.tb1
and then in picture directory at server i want to create a directory named id(fetched from dataemp.tb1)
and then i want radupload to upload file in that directory i.e picture/<id>/
all of the things i have done but having some problem that process flow should be
please needed help ASAP
i am using radupload in my webform
i want to initiate upload after some process to happen
e.g.
i am having a database named dataemp
in that a table tb1
having fields
id = auto number
name = text
address = text
photodir = text
photoname = text
now what i want to do is that after filling form
name: textbox
address: textbox
photo: radupload
when user fills the form
after that he clicks submit button
at that time
insert name and address in database
get id from dataemp.tb1
and then in picture directory at server i want to create a directory named id(fetched from dataemp.tb1)
and then i want radupload to upload file in that directory i.e picture/<id>/
all of the things i have done but having some problem that process flow should be
- insert into database
- get id from database
- create dir
- initiate upload
please needed help ASAP