THIS is tried, and with just a couple of edits, it works. (Had to dim the
datatable in the declarations for dtVBreg).
However, the MSDN one surely didn't yesterday at least.
I tried the code now, and it does.
I think this comes down to me being a newb and something really, really,
dumb.
I just pasted the code here (at work) and its fine even without any datagrid
controls on the page on a spanking new empty project (completely as is). I
have NO idea why the same image doesn't produce the same results at home. I
might try again and see what happens next week.
Oh well :o)
Sorry about that but thanks for the tip and sample.
"Cor Ligthert" <no************@planet.nl> wrote in message
news:ex**************@TK2MSFTNGP09.phx.gbl...
Antoine,
This should work,
However this easy sample I sand yesterday to this newsgroup, which you can
maybe try.
http://groups.google.com/groups?selm...TNGP12.phx.gbl
I hope this helps?
Cor
"Antoine" <mf****@dsl-spam.pipex.com> "Cor Ligthert" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... Antoine,
The dataview is standard used in a windowform application with a lot of
samples about that, are you not mixing this up with the viewstate which
is
of course not in a windowform because there is not any need for it?
Cor
It is the DATAVIEW I think I am having problem with based onthe MSDN
sample.
http://msdn.microsoft.com/library/de...classtopic.asp
When I put the code on a form class, it highlights a problem on two
lines Dim firstView As dataview = New dataview(myTable)
Dim secondView As dataview = New dataview(myTable)
the first dataview entry is highlighted - the debug is "type expected".
As the ASP.NET version works fine and seems dependant on import
namespace system.data , for using it on VB windows app tried Imports system.data
but that doesnt help. Just wondered why the technique does not work directly
on
VB.NET windows app, where am I going wrong I wonder?
Thanks a bundle
Ant