Rubberlegs
Member
- Joined
- Feb 19, 2009
- Messages
- 7
- Programming Experience
- Beginner
Hello,
I am new to VB.net and programming in general, and I have been asked to create a form that will display the data from this SQL query at the click of a command button, and display the resulting Integer in a text box / label:
SELECT COUNT(DISTINCT MessageIdentity)
FROM MessageRecipients
WHERE SenderInternal = 'Y' and RecipientInternal = 'N' and TimeReceived >= (GETDATE() - 30)
I have connected the Db via the Datasources tab but that's about it!
Please help - I have until 5pm tomorrow!! And I'm only on chapter 4 of the book!!
Any help greatly appreciated.
Thanks,
Mark
I am new to VB.net and programming in general, and I have been asked to create a form that will display the data from this SQL query at the click of a command button, and display the resulting Integer in a text box / label:
SELECT COUNT(DISTINCT MessageIdentity)
FROM MessageRecipients
WHERE SenderInternal = 'Y' and RecipientInternal = 'N' and TimeReceived >= (GETDATE() - 30)
I have connected the Db via the Datasources tab but that's about it!
Please help - I have until 5pm tomorrow!! And I'm only on chapter 4 of the book!!
Any help greatly appreciated.
Thanks,
Mark