If you want the page to refresh itself, a js timer is the only way to do that. If only part of the page refreshes, you can use AJAX to make requests for that data.
Christian Graus Driven to the arms of OSX by Vista.
Did you check out http://www.codeproject.com/csharp/xcrypt.asp[^] Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://www.dotnetjunkies.com/weblog/deepak/
http://deepakvasudevan.blogspot.com/
http://deepak.blogdrive.com/
Yes -as Asif says, without the quotes. Dim sFieldName as string = cmbField.Text Dim sSQL as string = "SELECT * FROM MyTable WHERE " & sFieldName & " = 'A Value'" Note that you need to be wary of SQL Injection attacks etc in this case... Can the user modify the combo text?