TableAdapter - Custom Select Query

M

Mark

Hi -

I'm working in VS2008, C# and am adding a Select Query to the TableAdapter.

It's simple:
Select ID, Name From myTable
Where ID = @id

So in code I excute the Fill method:
this.myTableTableAdapter.FillbyID(this.myDataSet.myTable, 14);

Where/How at runtime can I see the resolved Select statement? Which would
look like:
Select ID, Name From myTable
Where ID = 14

Thank you,
Mark
 
M

Mark

William -

Very handy.

Thank you,
Mark

William Vaughn said:
If you're using SQL Server, start the Profiler--you'll see everything being
done by any of your applications in real time.

--
__________________________________________________________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker’s Guide to Visual Studio and SQL Server (7th Edition)
____________________________________________________________________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top