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 TouchToneTommy 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: *

  1. bra1niac

    Parameters collection

    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
  2. bra1niac

    Parameters collection

    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...
  3. bra1niac

    Read from text file?

    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...
  4. bra1niac

    Basic C# Application

    Can you use System.Threading to pause processing before your app exits then call your timer after 5 seconds have elapsed? &quot;It's easier to ask forgiveness than it is to get permission.&quot; - Rear Admiral Dr. Grace Hopper
  5. bra1niac

    Regex Question - challenging

    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...
  6. bra1niac

    Regex Question - challenging

    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...
  7. bra1niac

    Web Form only adding one control on the fly.

    Oops, ignore the dupe line. Copy & paste error. ;) &quot;It's easier to ask forgiveness than it is to get permission.&quot; - Rear Admiral Dr. Grace Hopper
  8. bra1niac

    Web Form only adding one control on the fly.

    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 =...
  9. bra1niac

    Web Form only adding one control on the fly.

    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...
  10. bra1niac

    Unable to pass a parameter to a stored proc

    are you saying to execute the sp off the connection object? if so, how do you bind back to the recordset? &quot;It's easier to ask forgiveness than it is to get permission.&quot; - Rear Admiral Dr. Grace Hopper
  11. bra1niac

    Unable to pass a parameter to a stored proc

    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...
  12. bra1niac

    Unable to pass a parameter to a stored proc

    I have one a bit later on: Set rs = CreateOjbect(&quot;ADODB.Recordset&quot;) 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...
  13. bra1niac

    Unable to pass a parameter to a stored proc

    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(&quot;ddlClass&quot;) = &quot;&quot;, NULL,Request(&quot;ddlClass&quot;)) I then use the command object to send my params to the stored proc: Set cmd =...
  14. bra1niac

    error creating object on server

    If DERuntime is not a class of project DERuntime, I would imagine you would get this error. Just a stab at the obvious. &quot;It's easier to ask forgiveness than it is to get permission.&quot; - Rear Admiral Dr. Grace Hopper
  15. bra1niac

    debugging client script

    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...
  16. bra1niac

    Textbox Value

    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...
  17. bra1niac

    error: object expected - does anyone know why

    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...
  18. bra1niac

    CSS - Border Color of Select Control

    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...
  19. bra1niac

    CSS - Border Color of Select Control

    i'm fairly confident you can use the input element in a style sheet to control it globally. &quot;It's easier to ask forgiveness than it is to get permission.&quot; - Rear Admiral Dr. Grace Hopper
  20. bra1niac

    motherboard problem

    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. &quot;It's easier to ask forgiveness than it is to...

Part and Inventory Search

Back
Top