[2005] GridView disappears when using
I have a gridview and sqldatasource connected to each other
When I try to modify the SqlDataSource by changing it from ( specify columns from a table or view ) to ( specify a custom SQL statement) , the gridview disappears!
can someone explain to me why and how to fix it ?
Re: [2005] GridView disappears when using
where is it "disappearing" from? the designer or the page all together?
Re: [2005] GridView disappears when using
Not in the designer , when I run the project and I go to that gridview I see nothing , only the ( Select, Delete ) option without any data
Re: [2005] GridView disappears when using
sounds like you're not binding the data. are you manually creating the column or autogenerating?
Re: [2005] GridView disappears when using
am autogenerating , am just draging the table from sql database and droping it to the page
Re: [2005] GridView disappears when using
I realized that the gridview disappears right after I modify the sqldatasource by selecting (Advanced ) and enabling the options (Generate Insert , Update .. )
Re: [2005] GridView disappears when using
i realize this may sound stupid but there is data in the table right
Re: [2005] GridView disappears when using
am a bit stupid but not that stupid :)
of course there is data in the table
Re: [2005] GridView disappears when using
Quote:
Originally Posted by bomayed
am a bit stupid but not that stupid :)
of course there is data in the table
always good to check ;)
anyway could you post the markup so we can see what might be wrong