Not sure though what you meant ? A string is just a string, you have to
execute the Sql statement that is stored into this string to produce a
result that can then be binded to a gridview...
Search google for gridview/databind or elaborate a bit about what you are
trying to do (are you looking for SqlDataSource like objects ? -
http://msdn2.microsoft.com/en-us/library/dz12d98w(vs.80).aspx)...
--
Patrice
"John" <info@nospam.infovis.co.uk> a écrit dans le message de news:
O$ILVPSiIHA.4076@TK2MSFTNGP05.phx.gbl...
[quoted text, click to view] > Sorry I meant gridvview.
>
> "Cor Ligthert[MVP]" <notmyfirstname@planet.nl> wrote in message
> news:626D5782-279F-4348-99E0-7643314C1CA3@microsoft.com...
>> John,
>>
>> A dataview is not a control, it is a view on the datatable.
>>
>> Cor
>>
>>
>> "John" <info@nospam.infovis.co.uk> schreef in bericht
>> news:OqCeyuJiIHA.5160@TK2MSFTNGP05.phx.gbl...
>>> Hi
>>>
>>> Is it possible to create a datasource for dataview control for an sql
>>> string?
>>>
>>> Thanks
>>>
>>> Regards
>>>
>>
>
>