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

Explain the difference between or and orelse?

925


What is server side in asp.net?

932


When was asp.net released?

981


Explain different authentication modes in asp.net?

1105


What is a response cookie?

1055


What is the use of execute non query in asp.net?

905


What is http protocol and how it works?

968


Explain what is clr?

978


What are Caching techniques in .NET

992


What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?

1056


What are the advantages of passport authentication?

954


Which data type does the rangevalidator control support?

898


What are the elements of a website?

935


How does asp.net work?

916


Explain how asp.net page works?

974