Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Dale Matthews   on Jul 26 In Asp.net Category.

  
Question Answered By: Dot net Sachin   on Jul 26

The label being filled by the initialized integer displays a "0",
which I am assuming is the default value for an Integer that hasn't
been filled. Intellisense says that ExecuteScalar returns an object.

I'm thinking I have to somehow load  myCommand.ExecuteScalar into a
datareader or some other object  and read that. . . .

Hope this is enough info. Just want to add a record to an Access
database and get the Autonumber back. . . . .

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on How do I load MS Access @@Identity into ExecuteScalar? Or get search suggestion and latest updates.


Tagged: