There is a simple asp.net webform which inserts data into three tables which are related to a common ID.
Table A : ID(P.K), Name.
Table B : B_Id(P.K), ID(F.K references ID of Table A), Address.
Table C : C_Id(P.K), ID(F.K references ID of Table A), Contact.
- On Insert button click event after the insert operation I want to generate a pdf report which would consist of all the fields which we inserted into the tables lastly.
- I can get the ID by using SCOPE_IDENTITY().
What can I use for generating pdf report in such scenario?
- Note: The report must be viewed and also must be downloadable.
Code sample is appreciated. Thank you in advance for the answer!