Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi friends
i need to insert images to my folder and at the same time i should insert the path and image name to the database.. using object

that is

sqlcommand cmd = new sqlcommand();
cmd.parameter.addwithvalue("@PimagePath", c.ImagePath);
cmd.parameter.addwithvalue("@PimageName", c.ImageName);



c is a object in class product

how to assign to objects please help me
is there any other way using 3 tier architecture only...
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900