You can use dbcc showcontig(tablename) to view the fragmentation in the table's clustered index or heap. to view fragmentation in a specific index, use dbcc showcontig(tablename,indexname).
There are 4 ways to fix fragmentation...
1. drop and recreate the index as two steps
2. (re)create the index with the "drop existing" option to do it in one step
3. DBCC DBREINDEX
4. DBCC INDEXDEFRAG
-Ray Metz
Redmond, WA