W
weird0
What is the use of using an AS clause in a SQL query something like:
SELECT accno AS AccountNumber from Accounts
What difference does it make when i use the ExecuteScalar() function
and store it in a variable of the name of my own choice..... like:
string AccountName=cmd.ExecuteScalar();
SELECT accno AS AccountNumber from Accounts
What difference does it make when i use the ExecuteScalar() function
and store it in a variable of the name of my own choice..... like:
string AccountName=cmd.ExecuteScalar();