sql server - Default integer type in ASP.NET from a stored procedure -


i have web page have hooked stored procedure. in sql data source, have parameter i'm passing stored procedure of type int.

asp.net seems want default int32, number won't higher 6. ok override asp.net default , put in 16 or there conflict somewhere down road?

specification: database field has length of 4 , precision of 10, if makes difference in answer.

if force example byte , number on 255 run risk of casting error (and exception thrown). if know not going higher 6 should not problem.

if me, use normal int, not sure save if other few bytes making byte. risk of exception being thrown high , lose benefits making smaller.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -