Check dynamic text type

i am using C# .net display deatil in table i wants to check the type of data enterd at run time . i wants to set check only integer value enter in the text box