Well, here's a solution if anyone cares....
The initial problem was saving the variables from page 1 on page 2's PostBack, where only page 2's variables where showing up.
Instead of Server.Transfer() on page 1, set the action of the form to page 2.
In page 2, I created a PlaceHolder control...
Ok, after page 1 is completed, the server.transfer opens up page 2 - where all the values of page one are listed.
That's great, so I figured that when hitting the submit button on page 2, I would be able to add the all the values.
However, page 2 does not have any declarations in the...
For a user signup process, I have two pages containing forms.
The process is as follows:
User enters data in page 1, the Server.Transfer("page2.aspx", true) to page 2.
On page 2, I can see all the form variables form page one by doing a foreach (string vars in Page.Request.Form) ...
That's...
Ah, my mistake, I wasn't using Query Analyzer.
Well, I'm happy to say that we just had a few thousand lines of code generated for our DAL using CodeSmith and that stored procedure.
I've created a tutorial named "C#.Net - Simplifying CRUD - Data Access Layer (DAL)" that should be validated in...
Regarding: http://www.codeproject.com/cs/database/CSCodeBuilder.asp
This is a stored procedure that takes the in the name of another stored procedure, and generateds the code to call it.
Whenever I use it, nothing happens, all I get is:
Query OK, -1 rows affected (0.31 sec)
Return...
Regarding: http://www.codeproject.com/cs/database/CSCodeBuilder.asp
This is a stored procedure that takes the in the name of another stored procedure, and generateds the code to call it.
Whenever I use it, nothing happens, all I get is:
Query OK, -1 rows affected (0.31 sec)
Return...
Scenario:
[] Category
[] Subcat
[] Subcat
[] Subcat
[] Category 2
[] Subcat
[] Subcat
...
The checkboxes @ the category level are to select all from a given category.
Originally, I created a nested repeater, using two queries, linking the tables through Relations()...
Well, I suppose I will continue to answer my own questions in order to help those who may experience the same issues... but I'm stuck again: Checkboxes - selecting all items in a given category, and retrieving those for database storage on submit.
First of all - Success! I've adapted code from...
Hey Gnat,
Thanks for the lead. Works great, but now to make it all useful :). Check out my new post @ http://www.tek-tips.com/viewthread.cfm?qid=1183442&page=1 (basically collecting checkbox values & entering them to db, etc)
Thanks.
I need help with the following:
The code below (and code-behind) creates a nested Repeater control, that looks like this:
Desserts
[ ] Cakes
[ ] Cookies
[ ] Ice Cream
[ ] Mousse
[ ] Pastries
[ ] Pies
Dining
[ ] African
[ ] Chinese
[ ] Contemporary
[ ]...
From a list of checkboxes, I'm going to collect some user preferences, where each box is assigned a number, and the total comma-delimited numbers placed in a UserPref field.
Later I'll want to verify the user's pref's, but some numbers exceed 100, thus there will be...
I am planning on using the DataGrid control to allow users to select interest categories.
Here's an example of the InterestCategory description & subcategories as done in a simple data-bind.
icDescription iscDescription
Bar / Night Club Dance Club
Bar / Night Club Lounge
Bar / Night Club...
Actually, I was just reading some stuff about .Net 2.0 (really like the Membership API).
Anyhow, there is an Asynch. encryption class I'm going to further research when I have time.
For now - any further comments about that: Asynch or Synch?
Also, hashing with salts is also something I've...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.