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
Can we use MSSql as backend in asp.net...if yes then How.?
What are query strings used for?
What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?
Define managed code and managed data in .net?
How you will handle session when deploying application in more than a server?
What is session start?
What are session objects?
What is server side in asp.net?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
What is the difference between cookie and session?
What does asax stand for?
What is caching? Explain.
What are the three parts of an http response?
Can you explain one critical mapping?
List all templates of the repeater control.