Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
1476 Points
350 Posts
Apr 11, 2012 10:09 AM|LINK
Hi Harsha Bhat
if you want to find the last item inserted then you can do like this
SELECT TOP(1) * from Table_ISGMip where Product_id = '" + this.ddlPrdID.SelectedItem.ToString() +'" order by Primery_key DESC
You can use condition with it also
sanjayverma_...
Participant
1476 Points
350 Posts
Re: SQL Last function is not working
Apr 11, 2012 10:09 AM|LINK
Hi Harsha Bhat
if you want to find the last item inserted then you can do like this
SELECT TOP(1) * from Table_ISGMip where Product_id = '" + this.ddlPrdID.SelectedItem.ToString() +'" order by Primery_key DESC
You can use condition with it also