PC Review


Reply
Thread Tools Rate Thread

Dynamically changing selection critieria in bound gridview

 
 
=?Utf-8?B?VG9iaW4=?=
Guest
Posts: n/a
 
      21st Jul 2006
I am new to ASP.NET 2.0 and am redesigning some web pages developed in
classic ASP.

A common task was for me to accept input of text boxes and date controls to
provide a filtered list for the user.

I am looking to use a bound GridView but am having trouble. I tried
modifying the sqldatasource1.SelectCommand property, but it does not persist
when using paging.

I tried adding parameters, but I don't always have a set parameter list.

I need to conditionally change the SQL selection string based on input from
text boxes by the user. Could someone please point in the right direction?

I seems like every sample out there is based on one fixed parameter based on
a predefined drop down list value.

Thank you,

Tobin
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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's selection isn't causing other GridView's to load data asexpected Rasika WIJAYARATNE Microsoft ASP .NET 0 14th Dec 2007 01:25 AM
Combo Box selection only shows bound column info after selection made. Coby Microsoft Excel Programming 1 18th Oct 2007 03:04 AM
Gridview Sorting does not work after dynamically changing the Header text pargat.singh@gmail.com Microsoft ASP .NET 0 24th Apr 2007 09:07 PM
Add Row to datatable bound to gridview inside a gridview Elmo Watson Microsoft ASP .NET 0 17th Aug 2006 04:26 PM
dynamically changing selection options for a combo using row sourc =?Utf-8?B?c21hcnR5?= Microsoft Access ADP SQL Server 7 16th Mar 2006 10:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:34 PM.