Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is sequence of code in retrieving data from database?

Answer Posted / chandra

system.data.oledb

dim oledb as new oledbconnection
oledbconnection1.open()
dim com as new oledbcommand("select empname from emp where
empid=100".oledbconnection)
dim dr as oledbdatareader=com.executereader()
if dr.read() then
textbox1.text=dr(0)
end if

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define repository pattern in asp.net mvc? : asp.net mvc

987


Explain diff between dataset and datareader?

971


What is a form tag?

875


Why do we need asp.net?

1007


What is odata in web api?

1072


Is post back in asp.net?

948


Explain the asp.net mvc request life cycle? : asp.net mvc

999


Do you know about caching with the datasource controls?

885


What is the behavior of a Web browser when it receives an invalid element?

1109


Which is faster viewbag or viewdata?

960


Explain difference betn dataset and recordset?

933


Any disadvantages in Dataset and in reflection ?

3248


Why select Web API?

1002


What is the differences between a primary key and a unique key in sql server?

1071


Explain how asp.net different from asp?

1094