I need help to code a function which renames an uploaded imagefile in the database but also in the uploads folder of asp.netmaker
We uploads 10 Photos on each car in the database, but som of the images have long names or include big letters.
Tablename is BILDATA
foto1, foto2, foto3...foto10 are the fields in table which hold the filenames in the uploads folder
I would like to generate a filename combined of [recordnumber_in_table]+foto1, [recordnumber_in_table]+foto2 ect.
Can any body help me, i have choosen C# as language
Thanks in advance
Michael fiil from Denmark