ADO.Net Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 580 Page Views: 

How do you define parameters to SqlCommand



Posted By: Avi Date: 15 October 2010 09:25:47 AM
 Answer:

By adding them to collection Parameters.


Posted By: avibtech


Date: 15 October 2010 09:25:47 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image 1fu9ps
Related Questions
ADO.Net : Can you reuse an exisiting open ADO.NET connection with LINQ to SQL?
ADO.Net : To what type ntext type will be mapped in c# code?

To what type ntext type will be mapped in c# code?

SqlTypes.SqlString
Category: ADO.Net Date: 10/13/2010 8:08:47 PM
ADO.Net : Does Recordset exists in ADO.NET?

Does Recordset exists in ADO.NET?

No
Category: ADO.Net Date: 10/13/2010 7:15:48 PM
ADO.Net : How can you fill data set with multiple tables?

How can you fill data set with multiple tables?

Provide two or more queries separated by ; to SqlDataAdapter and use it to fill dataset.
Category: ADO.Net Date: 10/13/2010 5:21:47 PM
ADO.Net : What class should you use XslTransform or XslCompiledTransform for XSL transformations?

What class should you use XslTransform or XslCompiledTransform for XSL transformations?

XslTransform is newer, faster and have more options and should be used
Category: ADO.Net Date: 10/13/2010 4:29:48 PM