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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain an object, class and method.

562


What are client activated objects and server activated objects?

519


How do you do Client-side validation in .Net?

577


Explain about solution explorer window?

623


What are session objects?

512






Differentiate between a hyperlink control and a linkbutton control.

556


witch is the best insistute in sharpoint course.what abt future of share point course.

2555


if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....

1604


Can asp.net work on an nt server?

557


What is page fragment caching?

555


What is the difference between session and application?

506


Can you change a master page dynamically at runtime? How?

505


I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?

1468


What is meant by asp.net?

542


What is difference between or and orelse?

550