1) CommandText = "SELECT * FROM MyView" 2) I don't think you understand the concept of cursors. Notwithstanding the fact you should probably never ever use cursors are 99.9% of the time there is a better, non-cursor solution.
On Sun, Oct 10, 2010 at 5:46 AM, srihari k <[email protected]> wrote: > hi, > > Can we call sql server Views from .Net code ? Any sample code will be > helpful. > > Can we call sql server Cursors from .Net code ?Any sample code will be > helpful. > > Regards, > KSP >
