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 dencom 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: jl280328
  • Content: Threads
  • Order by date
  1. jl280328

    Retaining Database Values?

    Right now I am using the following code to retain information from a single record from a database: for (fieldname=0; fieldname<=SQLReader.FieldCount - 1; fieldname++) { Session[SQLReader.GetName(fieldname)] = SQLReader[fieldname]; } as you can see I am setting each...
  2. jl280328

    Each Field in a Datareader

    I have a datareader names SQLReader. Is it Possible to say something like this in C#: foreach (FieldName description in SQLReader) { Session[description] = SQLReader[description].ToString() } I am returning only a single row in the datareader and want to loop through each field and set the...
  3. jl280328

    &quot;Invalid Object Name&quot;

    I am trying to pull information from a SQL database using C#. Here is the code that I am using: Conn = new SqlConnection( @"Server=WEBSERVERW2K; UID=sa; PWD=39x9iVu1; DataBase=Dealer Quoter Dev;" ); Conn.Open(); SQL="SELECT * From ReportGlue"; Comm = new SqlCommand( SQL, Conn )...
  4. jl280328

    C# Splitting strings with two characters

    Is there a way to split a string using more than one character in C#? I am using this line of code: string[] NameSplit = itmPlayer.Text.Split(new char[] { ", " }); But get an error saying there are too many characters in character literal.
  5. jl280328

    Date Validation

    Hi I am validating a dates put in by a user and I am almost done, but the only problem I run into is that if the user puts in a value like 3/32/06 it gets converted to a date of April 1st. I tried to use the getMonth function to compare the before and after the conversion but it won't let me do...
  6. jl280328

    Combo Box with out bein able to type in it

    I know this question is elementary but, how do i make it so a user can only select an item from the list in a combo box and not be able to type any values into the box itself. I saw some things about a drop down list but could not find that control.
  7. jl280328

    Getting Rid of &quot;&amp;gt;&quot; when writing XML

    I have a program that reads in a text file and writes it out as an XML file. The problem is that whenever I come across a greater than or less than sign it is being displayed as this "&gt;" and "&lt;" is there anyway to keep this from happening so when the XML file is opened up it uses the ">"...
  8. jl280328

    Changing style of a class

    I have a class named RetentionAR. It is defined in the style tags on the webpage itself. When my webpage loads the display of the class is set to the default. I was wondering if there is a way in javascript to set this class to none. There are about 180 items with this class name.
  9. jl280328

    Common Dialog Initial Directory

    I am trying to add the Microsoft Common Dialog component, but everytime I click ok I get an error that says "Name Conflicts with existing module, project, or object library" Is there any way to fix this, or is there any other way to set the initial directory of the common dialog when it opens up?
  10. jl280328

    High Definition??

    Hi I have a client that is asking me if it is possible to put high definition color onto his web page. He said he saw it at this site here www.wsbt.com Is this possible?
  11. jl280328

    First Form to Display?

    How do I change which form should display first when the program is opened up?
  12. jl280328

    Page Cannot Be Displayed...Sometimes

    Hi, I have a website, and have started to get complaints about the Page Cannot Be Displayed error. However, whenever I try to duplicate the error it works just fine for me. It only happens to people when they click a submit button. Why would this error come up on some machines and not others?
  13. jl280328

    Email?

    Hi I am trying to automatically send an email from one of my pages. This is the code I am using: objMailMessage = New MailMessage objMailMessage.From = ViewState("Email").Trim() objMailMessage.To= EReader("Email").Trim() objMailMessage.Subject= "CONTRACT OFFER"...
  14. jl280328

    BitMask

    I am reading in an Integer from a file and I have to compare it to a hex bitmask to see if which values need to be checked. How would I go about comparing a hex value (i.e. 0x0001) To a numerical value such as 48? I tried this: Property BitMask As Byte but kept getting an error b/c it said...
  15. jl280328

    Changing the record source of a form

    I am trying to change the recordsource of the form, but I can't seem to get it to work. It tried form.recordsource="SQL statement in here" then did a form.refresh and form.requery but nothing happened. How do I dynamically change the Query that is populating the form?
  16. jl280328

    Resizing and Saving Images

    How would I go about resizing an image and then saving it?
  17. jl280328

    Adding Field to Contacts Tab

    Is it possible to add a field to the contacts tab in GoldMine. I'm pretty unfamiliar with the GoldMine terminology, but I want to add a field not to the main screen on top, but to the contact tab below the main screen up top.
  18. jl280328

    SQL Connection

    I have a SQL connection that used to work, but the client it was working for changed his IP address and had a new router installed. I tried to just plug in the new IP address to get it working again but had no luck. I am thinking it has something to do with the router, but have no idea what or...
  19. jl280328

    SQL Connection

    I am trying to connect to a SQL database and am having some trouble here is my connection string, and I am pretty sure the IP address is correct, b/c I am using it to remotely connect to the server that the SQL database resides on. Does anyone have any idea why it cannot connect? Conn.Open...
  20. jl280328

    Set Focus to a VB application

    This is a shot in the dark, but we have a product that is written in VB 6. The product then a calls some webpages that are in the local host of the user's machine through IIS. The pages will always be on the local machine of the user like this. When the ASP pages are called from the VB...

Part and Inventory Search

Back
Top