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
Explain the difference between or and orelse?
What is server side in asp.net?
When was asp.net released?
Explain different authentication modes in asp.net?
What is a response cookie?
What is the use of execute non query in asp.net?
What is http protocol and how it works?
Explain what is clr?
What are Caching techniques in .NET
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
What are the advantages of passport authentication?
Which data type does the rangevalidator control support?
What are the elements of a website?
How does asp.net work?
Explain how asp.net page works?