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
Define repository pattern in asp.net mvc? : asp.net mvc
Explain diff between dataset and datareader?
What is a form tag?
Why do we need asp.net?
What is odata in web api?
Is post back in asp.net?
Explain the asp.net mvc request life cycle? : asp.net mvc
Do you know about caching with the datasource controls?
What is the behavior of a Web browser when it receives an invalid element?
Which is faster viewbag or viewdata?
Explain difference betn dataset and recordset?
Any disadvantages in Dataset and in reflection ?
Why select Web API?
What is the differences between a primary key and a unique key in sql server?
Explain how asp.net different from asp?