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 Optimization technique description?

605


How does session id work?

494


How does viewstate work?

578


Why is mvc better than asp.net?

537


How many types of sessions in asp.net?

587






What is the mvc model?

581


Where the cookie value is stored?

513


Who generates session id?

495


What is anonymous authentication?

589


What does a switch do?

543


Will session work if cookies is disabled?

531


Why asp.net mvc is better than asp.net? : Asp.Net MVC

501


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1420


Difference between overriding and overloading?

703


Explain one critical mapping?

568