how to convert from sql2000 numeric to int in asp.net with
sqlparameter?



how to convert from sql2000 numeric to int in asp.net with sqlparameter?..

Answer / manishn19j

sqlParameter objpara=new sqlParameter();
objpara=objDataadapter.UpdataCommand.Parameter.Add("@Age",SqlDbType.Int);
objpara.SourceColumn="Age";
objpara.SourceVersion=DataRowVersion.Current;

Is This Answer Correct ?    14 Yes 5 No

Post New Answer

More ASP.NET Interview Questions

About writting a query and SP which is better ?

5 Answers   Abacus, Satyam,


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

0 Answers   Siebel,


What are the namespaces used in asp.net mvc? : asp.net mvc

0 Answers  


What is AppDomain?Explain how it works.

9 Answers   Tech Mahindra,


In asp.net application, if a webpage or total application seems too slow or getting delayed to load completely in the browser. As a developer, what are the checkings or actions you will take in the application or server side to rectify the slowness or delay load or which are the factors related to this issue? How we can trace it?

1 Answers  


Explain how dot net compiled code will become platform independent?

0 Answers  


What is session id in web application?

0 Answers  


What is a session in programming?

0 Answers  


Types of values mode can hold session state in web.config ?

1 Answers   Accenture, Parrot Systems,


Whats MSIL, and why should my developers need an appreciation of it if at all?

3 Answers   Siebel,


What is the main difference between grid layout and flow layout?

1 Answers  


What is web.config and machine.config ?

3 Answers   Collabor, NDPL, TCS,


Categories