Krish bha

Krish bha

  • NA
  • 19
  • 2.4k

problem with displaying data from database

Feb 15 2008 1:17 AM

Hi Everyone,

pls clear this doubt for me.
 

If there is a table in database and it contains some 'names' column.
 
we have to display the names on the webpage such that each initial letter of the names appears as a link . if we click the link ,the names starting with the particular letter should be displayed
 
for eg:  Names (in database)
           Arun
           Anitha
           Chandu
           Deepak
 
so on web page it should apper as       C     D
 
so when we click 'A' all the names starting with 'A' should be displayed.
like  Arun
       Anitha
 
Note: since in above table,no name starts with   'B', the letter 'B' should not be displayed on the web page.
 
i)First of all pls tell me if there is any control to display data in this fashion in .net.
ii)else explain how to start and write the code.
 

Thanks,

Krishna Bharat.
 


Answers (1)