Click here to Skip to main content
15,881,455 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
what is executeScalar in asp.net?
Posted
Comments
Sergey Alexandrovich Kryukov 11-Apr-12 23:09pm    
Where have you find it in ASP.NET?
--SA

It has nothing to do with ASP.NET. Here is the explanation of what it is:
http://msdn.microsoft.com/en-us/library/system.data.common.dbcommand.executescalar.aspx[^].

The question shows that you are quite confused.

If you need to get familiar with the matter, you need to understand ADO.NET. You can start here:
http://en.wikipedia.org/wiki/ADO.NET[^],
http://msdn.microsoft.com/en-us/library/aa286484.aspx[^],
http://csharp.net-informations.com/ado.net/csharp-ado.net-tutorial.htm[^].

This is the overview from QuickStart:
http://quickstarts.asp.net/QuickStartv20/howto/doc/adoplus/overviewcontents.aspx#[^].

This CodeProject article provides a very good introduction for the beginners:
Using ADO.NET for beginners[^].

Good luck,
—SA
 
Share this answer
 
Comments
The Doer 12-Apr-12 2:45am    
my 5! Lucid Explanation..:-)
Sergey Alexandrovich Kryukov 12-Apr-12 10:39am    
Thank you, Teju.
--SA
Refer this simple explanation and hope things will be clear to you

http://www.dotnetfunda.com/articles/article1147-how-to-use-executescalar-method.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900