What is making SQL not work with VS webhost?
am 15.05.2006 17:37:01 von BenL
I'm just following along with the video tutorials on the asp.net website. I'm
data binding a to datagrid using the northwind.mdf file. I run a test query
in the query builder and everything is fine, I see the correct results.
Then I 'open in browser' to see the results, and the data grid never
appears.
I even make the query set to show everything, and I get nothing.
But if I just drag in the table with no query, I do see the results in the
web browser.
What am I doing wrong?
Thanks,
Ben.
Re: What is making SQL not work with VS webhost?
am 15.05.2006 17:47:45 von reb01501
Ben L wrote:
> I'm just following along with the video tutorials on the asp.net
There was no way for you to know it (except maybe by browsing through some
of the previous questions before posting yours - always a recommended
practice) , but this is a classic asp newsgroup. ASP.Net bears very little
resemblance to classic ASP so,
while you may be lucky enough to find a dotnet-knowledgeable person here who
can answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-knowledgeable people hang out. I
suggest microsoft.public.dotnet.framework.aspnet.
> website. I'm data binding a to datagrid using the northwind.mdf file.
> I run a test query in the query builder and everything is fine, I see
> the correct results.
> Then I 'open in browser' to see the results, and the data grid never
> appears.
> I even make the query set to show everything, and I get nothing.
>
> But if I just drag in the table with no query, I do see the results
> in the web browser.
> What am I doing wrong?
>
Hard to say without seeing the code. Perhaps a failure to execute the
datagrid.Databind command?
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"