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 Mike Lewis 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
  • Order by date
  1. jl280328

    Each Field in a Datareader

    Does ViewState improve performance over Session? Thanks for all of your help.
  2. jl280328

    Each Field in a Datareader

    No I just know what they are from the names that I give them in my SQL statement. They aren't used a whole lot I guess but there are more than a couple of them so I was wondering if I should be storing these values a different way rather than Session variables, is there a more efficient way to...
  3. 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...
  4. 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...
  5. jl280328

    &quot;Invalid Object Name&quot;

    SQL Exception System.Data.SqlClient.SqlException: Invalid object name 'ReportGlue'
  6. 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 )...
  7. 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.
  8. jl280328

    Date Validation

    yes I have seen some nice scripts on doing this but the only problem is that we don't want to restrict the user to a give format such as mm/dd/yyyy or something like that for example the default value in the text box for today would be Dec 19 2006 but the user could also enter in 12-19-2006 or...
  9. 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...
  10. jl280328

    Combo Box with out bein able to type in it

    nevermind I finally found the dropdownstyle option on the properties I'm an idiot!
  11. 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.
  12. jl280328

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

    also I am using the XMLTextwriter to write this file out and the .WriteElementString(TagName, Value) to write it out.
  13. 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 ">"...
  14. jl280328

    Changing style of a class

    I did this that way you don't have to loop through every element since I have around 200 of them for (var LoopIndex1 = 0; LoopIndex1 < document.styleSheets [0].rules.length; LoopIndex1++) { if (document.styleSheets [0].rules [LoopIndex1].selectorText.toUpperCase () == '.RETENTIONAR') {...
  15. 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.
  16. jl280328

    Common Dialog Initial Directory

    I just gound the GetSetting and SaveSetting methods and am trying to use them, but cannot get them to work for this. This is what I have so far SaveSetting "DFEditor", "CommonDialog", "Cmndialog.InitDir", "C:/Work/UPF" GetSetting "DFEditor", "CommonDialog", "Cmndialog.InitDir"...
  17. 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?
  18. jl280328

    High Definition??

    Yeah that is what I was thinking too, and so I was just trying to figure out what this guy was talking about, I have never heard of adding High Definition color to a website, and was just trying to figure out if this is something for real or not?
  19. 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?
  20. jl280328

    First Form to Display?

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

Part and Inventory Search

Back
Top