How to find last id after insert record and display it on form.
I have one task today how to find last inserted id and display it on form on textbox or label using Sql Server.
This both task should be in same Sql query.
Retrieve last id and display on label or textbox.
This is new one task so having no idea how to do this.