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 the web config and machine config.

1083


what are configuration files?

1095


What is webresource axd?

936


How to implement Authentication and Authorization?

1109


Define static constructor?

1067


What is mta?

1088


What is postback and autopostback in asp.net?

1055


What is server side in asp.net?

1023


Explain the difference between debug.write and trace.write? When should each be used?

1053


What are the different types of proxy patterns?

1205


Explain the steps needed to be performed in order to create an animation in xaml?

1063


What is the use of dispose method?

1078


What is the exact purpose of http handlers?

1060


In which event of page cycle is the viewstate available?

1075


What are the differences between clr & cts?

1128