Posted on: 12/7/2014 3:35:52 PM | Views : 517

Hi all
thanks for you all, i have decide to add a a label in adsdetails.aspx which show the number of ads has been added by user as well a hyperlink to move the user to another page called userads.aspx to show all user ads the question is how i can add the label in code below to show the sum of ads for the same UID and how i can create a query string to UID to use it when other users click on the hyperlink to see his other ads. I have create a screen record that my can explain clearly what i am looking for
https://www.youtube.com/watch?v=BFTfvy_f5nM&feature=youtu.be

SqlConnection shwadsone = new SqlConnection(cs); { // Open your connection shwadsone.Open(); SqlCommand adsdeCM = new SqlCommand(); // Build your data adapter string adsdetSqlSelect = ...

Go to the complete details ...