|
-
Jun 13th, 2007, 09:38 AM
#1
Thread Starter
Addicted Member
[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 ?
-
Jun 13th, 2007, 10:20 AM
#2
Re: [2005] GridView disappears when using
where is it "disappearing" from? the designer or the page all together?
-
Jun 13th, 2007, 10:27 AM
#3
Thread Starter
Addicted Member
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
-
Jun 13th, 2007, 10:29 AM
#4
Re: [2005] GridView disappears when using
sounds like you're not binding the data. are you manually creating the column or autogenerating?
-
Jun 13th, 2007, 11:54 AM
#5
Thread Starter
Addicted Member
Re: [2005] GridView disappears when using
am autogenerating , am just draging the table from sql database and droping it to the page
-
Jun 13th, 2007, 12:07 PM
#6
Thread Starter
Addicted Member
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 .. )
-
Jun 13th, 2007, 12:14 PM
#7
Re: [2005] GridView disappears when using
i realize this may sound stupid but there is data in the table right
-
Jun 13th, 2007, 01:45 PM
#8
Thread Starter
Addicted Member
Re: [2005] GridView disappears when using
am a bit stupid but not that stupid
of course there is data in the table
-
Jun 13th, 2007, 05:57 PM
#9
Re: [2005] GridView disappears when using
 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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|