Thanks for the reply, I'm working on implementing now...
"It's easier to ask forgiveness than it is to get permission." - Rear Admiral Dr. Grace Hopper
Can anyone tell me if there is a way to pass an array of parameters into a sproc?
I can envision passing a string containing named value pairs, assembling a query in the sproc and executing the assembled string. But I'm afraid doing so will result in a loss of performance as the sproc will not...
For starters, I would create a label running server side and set the value from the code behind in your routine.
<asp:Label ID="lblMyLabel" Runat="Server"/>
Then in your code do something like:
public class textFromFile
{
private const string FILE_NAME = "termOfTheDay.txt";
public...
Can you use System.Threading to pause processing before your app exits then call your timer after 5 seconds have elapsed?
"It's easier to ask forgiveness than it is to get permission." - Rear Admiral Dr. Grace Hopper
Well, the problem is that the string will contain any number of dates in the same format. The only way I could find the one I wanted was to think as if it were positional.
A little more detail: I was trying to write a script that would parse through any number of these CSV files (could be 500...
Ok, I've been working with this for about a week (off and on, about 8 hours work) and I can't seem to get the results I want. I'm a fairly basic regex user. I have never really had a need for really complex search patterns like this one.
I have a collection of files that are all CSV. There is...
Oops, ignore the dupe line. Copy & paste error. ;)
"It's easier to ask forgiveness than it is to get permission." - Rear Admiral Dr. Grace Hopper
Ok, I took into account that WHERE I declared ctrl might cause global variable problems, so here's the change:
Private Sub btnAddAddress_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAddAddress.Click
Dim ctrl As New AddressForm
ctrl =...
Scenario:
I have a webform that has several user controls. Some of these user controls have yet another embedded user control. All this is on a multipage control with a tabstrip control. Up until now, everything has worked fine.
Now, on the second page of my multipage control (everything else...
are you saying to execute the sp off the connection object? if so, how do you bind back to the recordset?
"It's easier to ask forgiveness than it is to get permission." - Rear Admiral Dr. Grace Hopper
I can't pass it in as a string because the parameters collection and the stored proc are both expecting an int.
The declaration of the variable in the stored proc:
@ClassID int = NULL,
I wouldn't be having such a tough time with this if I knew what to point the finger at. If I didn't see...
I have one a bit later on:
Set rs = CreateOjbect("ADODB.Recordset")
rs.Open cmd,,adOpenStatic,adLockBatchOptimistic
This seems to work, normally.
However, I changed my code to match your suggestion and tested it out. It gave me the exact same result I've been seeing.
I still think...
I'm trying to pass a null value to my stored proc.
On my asp page, I first deal with the variable like so:
ClassID = IIf(Request("ddlClass") = "", NULL,Request("ddlClass"))
I then use the command object to send my params to the stored proc:
Set cmd =...
If DERuntime is not a class of project DERuntime, I would imagine you would get this error.
Just a stab at the obvious. "It's easier to ask forgiveness than it is to get permission." - Rear Admiral Dr. Grace Hopper
Just want to throw this out there, but make sure you are on your running document before setting break points. I'm not sure about .Net but if you are not in a running document, you will not break.
It's buggy and half functional anyway...
What I generally do, if I have problems getting inside a...
Yes, but you are going to have to think in terms of runtime. Since that name field changes with, presumably, each instance, you are going to have to create a conditional that will pull it at runtime before you can manipulate it.
It's difficult to be more specific without a solid example to...
At a glance, I found the following four methods calls you make:
javascript:openWindow
divup
divdown
hilite
Now, if I were to hazard a guess, I would say that the openWindow method was supposed to be window.open... but then this is your app and you might have a method of openWindow(); Beyond...
Nice. I know I had seen it somewhere.
I just d/l'd IE 6 and will be beating on it in the coming weeks to see how many different ways i can and can't get something formatted correctly (xml) using CSS against it.
I'll let you know if I find out anything worthwhile. I'm tired of using NS 6.1...
i'm fairly confident you can use the input element in a style sheet to control it globally. "It's easier to ask forgiveness than it is to get permission." - Rear Admiral Dr. Grace Hopper
first thing I could recommend is to look up the company that produced it (dell, gateway, etc), check their technical specs and mobo vender for that model. from that point you should be able to go to the mfr's website and research it a bit more. "It's easier to ask forgiveness than it is to...
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.