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 the web config and machine config.
what are configuration files?
What is webresource axd?
How to implement Authentication and Authorization?
Define static constructor?
What is mta?
What is postback and autopostback in asp.net?
What is server side in asp.net?
Explain the difference between debug.write and trace.write? When should each be used?
What are the different types of proxy patterns?
Explain the steps needed to be performed in order to create an animation in xaml?
What is the use of dispose method?
What is the exact purpose of http handlers?
In which event of page cycle is the viewstate available?
What are the differences between clr & cts?