T
T. Wong
If I create a datasource after dragging a GridView onto an aspx page it puts
my sql in the .aspx file. SQL in the aspx file is just wrong - it's like
going back to asp where we had code and sql in the asp file.
So I figured out how to create a TableAdapterataset and now I have an .xsd
in my App_code folder. I drag a GridView onto an aspx page and now I want
to connect it to the dataset (so I won't have sql in my aspx file) but I
can't seem to do it.
Is there a way to do it?
Thanks for any help,
T
my sql in the .aspx file. SQL in the aspx file is just wrong - it's like
going back to asp where we had code and sql in the asp file.
So I figured out how to create a TableAdapterataset and now I have an .xsd
in my App_code folder. I drag a GridView onto an aspx page and now I want
to connect it to the dataset (so I won't have sql in my aspx file) but I
can't seem to do it.
Is there a way to do it?
Thanks for any help,
T