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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: JoeCool32
  • Content: Threads
  • Order by date
  1. JoeCool32

    Getting old .NET pages ready for today's web

    You may consider this the dumb ? of the morning (or afternoon, evening, etc.), but I'm in need of major assistance on this. Long ago (say, over a decade), I learned the .NET framework on the job and figured out how to build ASPX pages with VB code. Due to financial issues at the company I...
  2. JoeCool32

    Passing parameters in VB

    Is it possible to pass parameters from server-control events to server-side procedures? If it is possible, how is it normally done? JJ [peace] "Ignorance and prejudice and fear walk hand in hand" - Witch Hunt, by Rush
  3. JoeCool32

    Proper way to reference a stored proc.

    I’ve got a stored procedure that I’m trying to reference in my VB code. I’ve tested it in the Query Analyzer and it works fine, but when I run it in my program it bombs. Here’s my proc: CREATE PROCEDURE deleteContactFeedback @contactID_pk int AS DELETE FROM contactUs WHERE contactID_pk =...
  4. JoeCool32

    Displaying record # for each record in a datalist

    I’ve got a working datalist going; the only thing is that I can’t seem to display properly the record number for each record. I’m trying to use a For...Next loop within an If Not Page.IsPostBack and I keep getting an error. Here is my code. Private Sub Page_Load(ByVal sender As...
  5. JoeCool32

    Deleting rows

    When you bring in SQL records onto an .aspx page, is it possible to delete a row off the page (using VB) without deleting the record itself from the SQL table? [neutral] JJ [peace] "Ignorance and prejudice and fear walk hand in hand" - Witch Hunt, by Rush
  6. JoeCool32

    Paging data

    I'm trying to make a page that will take SQL records and present them as it's done in a search results page (essentially paging data): with links to the previous and next 20 records, plus a count of how many records there are on the current page and also the ability to delete a record off the...
  7. JoeCool32

    Bringing up .exe programs in .aspx pg

    Does anyone know how to make a button or linkbutton open up an executable on my computer? Like my calculator, or some other .exe application?? [neutral] JJ [peace] "Ignorance and prejudice and fear walk hand in hand" - Witch Hunt, by Rush
  8. JoeCool32

    Matching date values w/ dropdown values

    In my program, I have 6 ddl's filled programatically with date info (month, day & year) in my client-side code. Based on a selection in a listbox, the ddl's show date info for the selection based on a SQL SELECT statement in my (VB) server-side code; the problem is the date parts returned had...
  9. JoeCool32

    Inserting date values into SQL

    If this isn't in the right subject forum, feel free to move it to a more appropriate one. This involves ASP and VB issues as well as SQL. I'm trying to insert values from dropdown lists into a SQL Field who's data type is 'datetime'. Since the values from the lists are string, I've tried...
  10. JoeCool32

    Comparing file names

    I know how to bring up the contents of a folder and, I know how to fill a listbox by using a SQL statement. I don't know how to combine the two. Here's the challenge. I'm trying to read file names from a listbox (which were filled after reading from a SQL field) and compare each one of them...
  11. JoeCool32

    Pulling parts of a date from a SQL table using VB

    I've got two date fields in a SQL table, dateStarted and dateEnded. I'm trying to pull the day, month and year info from them into separate ASP textboxes (i.e. txtMth, txtDay, txtYear, txtMth2, txtDay2, txtYear2) using VB. Assuming I've already opened the SQL connection how would I proceed to...
  12. JoeCool32

    Linking a checkbox choice w/ filling a listbox

    I have two checkboxes. Depending on which one I check, a listbox will be filled with the appropriate data. I haven't been able to get it to work with the code I have, which is as follows: .aspx file <TR> <TD><ASP:CHECKBOX autopostback=&quot;True&quot; id=&quot;chkCurrent&quot...
  13. JoeCool32

    Learning VBScript

    I've been searching for the best source to learn how to program in VBScript; books, Internet sites and otherwise. None of what I've found seems to be good for beginners or deal w/ recent updates in the language. Does anyone know where I could start? JJ [peace] &quot;Ignorance and prejudice...
  14. JoeCool32

    Trying to delete what's on a web page

    My latest project involves adding table data to a row, with an option to remove it thru the use of a linkbutton. I know how to add the data, but I have yet to figure out how to delete it. Arrays aren't involved, nor datagrids, just tables. Ideas, anyone? JJ [peace] &quot;Ignorance and...
  15. JoeCool32

    Getting a code example to work properly (adding rec to database)

    I'm trying to use an code example from ASPFree.com for use in .NET, but I get an error during the build. It involves adding records to a database. It can also be found here http://www.askasp.net/articles.asp?ArtID=76 and here http://www.123aspx.com/resdetail.aspx?res=371 . At any rate...
  16. JoeCool32

    Getting a server control to appear

    I'm trying to pass a server control to an .aspx page, if that is even possible. This process occurs through a VB subroutine that is run when I click on a linkbutton and all the fields are valid. This is the way I'm trying to put it in: If (Page.IsValid) Then...
  17. JoeCool32

    Keeping selection in dropdownlist visible

    In my dropdown list for my latest project, I'm trying to put a piece of data on a label from the selection I make in the list. I have autopostback=&quot;True&quot; so the aspx page will posted back to the server. The problem I'm having is that the value in the list keeps clearing whenever I...
  18. JoeCool32

    Putting tables in labels

    I'm trying to see how to put an HTML table into an ASP Label programatically, if it's possible. I've just started to learn how to use VB in .NET, and know how to put hard-coded text in a label, but have yet to find a way to do anything more than that. Anyone w/ ideas?

Part and Inventory Search

Back
Top