View Single Post
  #3 (permalink)  
Old December 23rd, 2008, 01:36 PM
bex bex is offline
Friend of Wrox
 
Join Date: Aug 2008
Location: london, , United Kingdom.
Posts: 154
Thanks: 7
Thanked 1 Time in 1 Post
Default

I have a sql2005 DB the tabel has an ID ,Name, Surname and Contact column.
In the Contact column is stored the user name, i need too count the usernames in that column and show them as int for each loged user.

exampel: my user name is bex and in the contact Column bex exists lets say 5 times now the label in default.aspx should display 5;

1)i need help with retrieving the data
2)may be conversion to int..


thanks for you quick replay
__________________
bx