p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   you are a doctor (http://p2p.wrox.com/showthread.php?t=39490)

saif44 March 7th, 2006 07:34 PM

you are a doctor
 
i would like to say a big thanx to Imar. You are a Doctor :D .

i have spent a day to find out what was the problem, and i could not figure it out. I know that you have to add a where clause, but when things get to loaded you just don't know what's happening[:o)]

for the interest of the readers, the problem with the code posted above is that there was no 'Where' clause in the 'finddept' function. if anyone interested to know how to search a data grid, copy the code in the first post and add in the under the function 'findDept' the following code:

Dim queryString As String = "SELECT * from department where depaManagerName = @depaManagerName"

and remove the following line:
Dim queryString As String = "SELECT * from department"

enjoy it and thanks very much Imar you were very helpful.


saif44 March 7th, 2006 07:37 PM

sorry guys the code is in the other post. just under this post title.



All times are GMT -4. The time now is 01:23 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.