Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by StevenB

  1. StevenB

    Using object properties in an AccessDataSource parameter

    Thanks very much, this is great information. Admittedly, I've done a decent amount of surfing the MSDN stuff, but since I'm already in over my head I unfortunately feel it's often over my head. Mark, I'm basing this on IP for a few reasons: a. It's not terribly complicated b. This doesn't have...
  2. StevenB

    Inserting values into a database from a grid

    And, if you're interested in visiting the remaining question: http://www.tek-tips.com/viewthread.cfm?qid=1396702 :)
  3. StevenB

    Using object properties in an AccessDataSource parameter

    Hi folks, I imagine I'll get the same folks answering me here, but I figured it's best to post separate questions as separate threads, so that people who search might find this helpful. So, quick summary: I have a very simple .net app connected to an Access database. Users visit a site and are...
  4. StevenB

    Inserting values into a database from a grid

    These are great suggestions. I'm pleased to report that I've actually got the whole thing working! Now, mind you, it's hideous, and the code is a mess, particularly the data source stuff. So, I have some cleanup to do to make the data sources more secure and consistent. The datatable was a...
  5. StevenB

    Inserting values into a database from a grid

    I was able to get the VoteValue working, whee! Regarding the Gridview, you had written: "How do you know which record to display in the GridView? Using that same methodology, you should be able to use that value and use the method I suggested above for getting the selected radio button."...
  6. StevenB

    Inserting values into a database from a grid

    Urk, is there no way to edit your posts after posting? :(
  7. StevenB

    Inserting values into a database from a grid

    Hey ca8msm, Just by fiddling around in a different way when I created the data grid, the connection to the database I used looks like this: <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="C:\Documents and Settings\sbattisti\My Documents\Visual Studio...
  8. StevenB

    Inserting values into a database from a grid

    OK, let me try to explain it a little better. :) Apologies. The general idea is that when a user comes to the page, the page displays a single "suggestion" to the user, in a grid. The user then votes on the suggestion ("Do I like this suggestion, or not?") by clicking on a radio button. The...
  9. StevenB

    Inserting values into a database from a grid

    OK, thanks for clarifying that! I'm certainly all for learning good coding practices. Well, I can play around with that while I wait to see if someone answers my original questions in this thread. :D
  10. StevenB

    Inserting values into a database from a grid

    Thanks, as always. I'm curious, and it wasn't quite clear from reading that article. Is SQL injection still a risk if there is no user input? For example, my application has no user input other than a radio button. Would it still be succeptible to SQL injection? Not that I'm terribly...
  11. StevenB

    Inserting values into a database from a grid

    Hi folks, thanks to everyone's kind help, my little app is moving forward, and I'm back with another newbish question. After much finagling with MapPath and so forth, I've written a sub that successfully writes data to my database when one of my radio voting buttons is clicked, yay! Where I'm...
  12. StevenB

    Submitting forms with radio buttons without a Submit button

    Hi folks, Well, judicious use of Google failed to turn up an answer to this, and you guys are always fast to reply, so here goes again. My little ASP.NET application involves a simple (well, for you) voting engine. My page displays a suggestion pulled at random from my database, along with a...
  13. StevenB

    Populating ASP Labels for the Terminally Noobish

    OK folks, thanks very much for your help. I think this gets me to where I need to be right now, although I suspect I'll have more questions once I get to the part where I need to update the database! :) Jason, thanks for your information as well! I actually have been working through a...
  14. StevenB

    Populating ASP Labels for the Terminally Noobish

    Beautiful, it works like a charm! For now, I'm going to ignore the whole mess around trapping the server IP versus the actual user's IP address. This is good enough for now. So, now a follow-up question. I'd hoped to capture this value in a variable, so that I could ultimately write it to the...

Part and Inventory Search

Back
Top