CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.club_web_site_starter_kit Tags:
Item Type: NewsGroup Date Entered: 6/20/2006 8:56:16 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 5 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
lexy
Asp.Net User
Querystring vs Control Parameter6/20/2006 8:56:16 AM

0/0

Hi all,

Finally succeeded in altering the RSVP module from Angelo. (small adaption)

I wanted only to show the attendance of the logged-in user instead of the complete list. (for privacy reasons, though I myself don't see it as a problem, I am anticipating the demand to change it like that would come soon)

So the change has to be something like (in pink):

SelectCommand

="SELECT aspnet_Users.UserName, aspnet_Users.UserId, Attendance.numofguest, aspnet_Membership.ImageId FROM Attendance INNER JOIN aspnet_Users ON Attendance.member = aspnet_Users.UserId INNER JOIN aspnet_Membership ON Attendance.member = aspnet_Membership.UserId WHERE (Attendance.eventid = @id) AND (aspnet_Users.UserId = @this)">

This in itself works fine. But I could only get it done by using a control,

<asp:ControlParameter ControlID="Lex" Name="this" PropertyName="Text" />

I guess it should also be possible to use a QueryStringParameter

This I can't get done. (Perhaps UserID being UniqueIdentifier complicate things also.)

 

Thanks in advance,

Lex

 

 


I use VB
1 Items, 1 Pages 1 |< << Go >> >|


Search This Site:






Books:
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005
ASP.NET 3.5 For Dummies Authors: Ken Cox, Pages: 404, Published: 2008
Beginning ASP.NET 2.0 Databases: Beta Preview Authors: John Kauffman, Thiru Thangarathinam, Pages: 427, Published: 2005
Professional ASP.NET 2.0 Databases Authors: Thiru Thangarathinam, Pages: 504, Published: 2007
ASP.NET 2.0: Your Visual Blueprint for Developing Web Applications Authors: Chris Love, Pages: 339, Published: 2007
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Beginning ASP.NET 2.0 Databases: From Novice to Professional Authors: Damien Foggon, Pages: 625, Published: 2006
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005

Web:
CodeProject: Declarative QueryString Parameter Binding. Free ... Declarative QueryString Parameter Binding. By piers7 ..... They're principally used in control development (that's how the VS.NET IDE's property browser ...
Pass Query String Parameters to an ASP.NET Xml Control (Braintrove ... Use the Page_Load method of your ASPX page to attach a list of parameters to your asp:Xml control that will be passed through to your XSL transform.
ASP.NET.4GuysFromRolla.com: Accessing and Updating Data in ASP.NET ... Mar 1, 2006 ... Then, enter the name of the querystring value you want to use in the querystring ... The instance, as shown below, ...
Change web form parameter source from querystring to control after ... I would like to open a webform using a query string to pass parameters then allow the user to makes selections from ddls to further filter the form.
Databinding to Control with Querystring and Controlparameter ... I like to parse a querystring (item already selected on page) and a controlparameter which comes from the drop down menu. ...
Query String: Multiple Parameters vs. 1 Delimited Parameter ... Query String: Multiple Parameters vs. 1 Delimited Parameter Search Engine ... Control Panel, Private Messages, Subscriptions, Who's Online ...
Querystring Parameters Show Querystring Parameters that Control Driving Directions ... Your own querystring parameters. Used to pass values into your own custom queries. ...
How to: Cache Multiple Versions of a User Control Based on Parameters Specify the user control name along with either a query string or a form POST parameter. You can do this declaratively using the VaryByParam attribute of ...
Cory Foy: Binding ASP.NET Controls to QueryString parameters May 18, 2005 ... NET Controls to QueryString parameters ... TextBox)control; //See if the field value is in the querystring if(Request.QueryString[control. ...
Adding input validation to declarative query string parameters in ... For instance, it declaratively binds query string parameters for a database query through the ObjectDataSource control. The Products.aspx page in the sample ...











 
All Times Are GMT