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...
jcisco and jfrost get pink stars for their efforts. Thanks to the j's.
JJ [peace]
"Ignorance and prejudice and fear walk hand in hand" - Witch Hunt, by Rush
So you just download WebMatrix onto a PC and it will work like VS, but for free?
JJ [peace]
"Ignorance and prejudice and fear walk hand in hand" - Witch Hunt, by Rush
link: I'll keep your comments in mind. This is for my lead's benefit but he won't be back 'til Friday.
Zarcom: This question came from our efforts to be able to delete a record off a datalist and the SQL table it came from. We've been trying to pass the value of the rec's primary key to a...
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
Thanks, everyone.
On a side note: I checked this thread for email notification but haven't gotten any emails saying any of you 3 had responded. Is there something wrong w/ that system that I wasn't aware of?
JJ [peace]
"Ignorance and prejudice and fear walk hand in hand" - Witch...
SonOfEmidec: Let me see if I understand you right.
In the sub where I have my SQL statement I define nnn as, say, an integer, then I put it in the codeline as you did.
Is that right?
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
Note: I had been trying to use FindByValue and/or FindByText on these; they had worked on my other ddl's in the program, but not these.
The key parts of the code are like so:
Dim dateInfo As New System.Globalization.DateTimeFormatInfo()
Dim myDate As DateTime =...
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...
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.