If you are expecting only 1 value and you are not really binding -let's face it you are just trying to assign a value - why are you using a datatable?
Wouldn't it be easier to use an ExecuteScalar and get the value you are looking to assign to the textbox?
adam_k
Practically a Posting Shark
803 posts since Jun 2011
Reputation Points: 256
Solved Threads: 149
If your issue is resolved, please mark this thread as solved. Thanks.
adam_k
Practically a Posting Shark
803 posts since Jun 2011
Reputation Points: 256
Solved Threads: 149