Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > sqldatasource SQLCommand Gridview dynamically change not working...

Reply
Thread Tools

sqldatasource SQLCommand Gridview dynamically change not working...

 
 
rogoflap@gmail.com
Guest
Posts: n/a
 
      08-15-2007
I have a SQLDatasource I created on a form. It is tied to the
GridView on that form.

I would like to dynamically change the SQLStatement based on some
criteria on the form.

It seems to always revert back to the Design View SelectCommand set in
Design mode.

I even set it in code and rebind, but when the page is reposted it
reverts back.

Is this a bug?

Thanks,

Rogoflap

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gridview and sqldatasource - refresh the gridview phil ASP .Net 2 11-14-2006 06:09 AM
SqlCommand is not defined. =?Utf-8?B?SklNLkgu?= ASP .Net 5 07-23-2004 09:14 PM
Urgent: I can't update database with SqlCommand =?Utf-8?B?VHJhY2V5?= ASP .Net 2 05-05-2004 11:35 AM
Return Value from SqlCommand in ASP.Net Adhik ASP .Net 1 07-19-2003 04:23 PM
"Internal connection fatal error" when calling SQLCommand.ExecuteReader Julian Bowes ASP .Net 0 07-01-2003 10:46 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57