I want to convert, rasterdata to line featre data set got problem

Discussion created by paraspant on Apr 28, 2011
I am just starting programming in arcgis with arc object, and I am learning and familiarizing myself to arcobject, and I get stuck in small places now I have a problem which i could not figure our.

I read the raster data
For some raster data I can convert to point line and polygon feature dataset, where I didnot get any problem, but for some raster dataset I get problem in conversion.
The error are :(
Error 010077  Raster must be integer type.
Error in Executing grid..

Could any one help me, how to know what is the type of raster dataset, is it interger, float or......
and how to convert one rasterdata type to other.
Looking for your generous help