ADO.Net Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1236 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 rFAmsI
Related Questions
ADO.Net : Can you edit XML data using XPathNavigator created from XMLDocument class?
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
ADO.Net : How do you use LINQ to SQL?

How do you use LINQ to SQL?

DataContext db = new DataContext(“connection string”); Table<Orders> Orders = db.GetTable<O....
Category: ADO.Net Date: 10/13/2010 2:34:47 PM
ADO.Net : What is strongly typed data context?

What is strongly typed data context?

Strongly typed data context declares all Table collections as members of the context so you don’t ne....
Category: ADO.Net Date: 10/13/2010 12:07:48 PM
ADO.Net : How do you load xml to Xelement object?

How do you load xml to Xelement object?

XElement root = XElement.Load(path to xml)
Category: ADO.Net Date: 10/13/2010 11:57:47 AM