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...
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
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 =...
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...
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
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...
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
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...
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...
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...
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...
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="True" id="chkCurrent"...
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]
"Ignorance and prejudice...
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]
"Ignorance and...
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...
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...
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="True" 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...
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?
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.