ADO.Net Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1331 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 QAFhn8
Related Questions
ADO.Net : Can DataReader move backward?

Can DataReader move backward?

No, it’s forward-only
Category: ADO.Net Date: 10/14/2010 5:33:48 PM
ADO.Net : Does ADO.NET supports paging through a query result?

Does ADO.NET supports paging through a query result?

Yes, DataAdapter.Fill method has option to page results
Category: ADO.Net Date: 10/14/2010 5:33:48 PM
ADO.Net : What does the DataContext class do?

What does the DataContext class do?

It’s main entry point for the LINQ to SQL framework
Category: ADO.Net Date: 10/14/2010 3:48:48 PM
ADO.Net : How do you get constraints for a given data table?

How do you get constraints for a given data table?

dataTable.Constraints
Category: ADO.Net Date: 10/14/2010 3:39:47 PM
ADO.Net : How do you find what changes was done to the data set?

How do you find what changes was done to the data set?

By calling GetChanges() method
Category: ADO.Net Date: 10/14/2010 3:39:47 PM