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 strongm 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: net123
  • Order by date
  1. net123

    Dropdownlist Value Generated from Textbox Input

    I have a web form where a user enters some fields via textboxes and dropdownlists. Let's assume one of the textboxes is asking for NAME and there is a dropdownlist named IssuedTo where there are 2 options only: same person from the NAME textbox or some other generic place like MyCompany. If I...
  2. net123

    Is this REGEX correct? Or can it be better?

    I would like to avoid extracting certain types of files from my report that end in .cab, .dll, .pl, and so on. I have the following: [COLOR=red] REGEX[*\.(cab|bin|pl|dll)$] [/red] Will this do the job or am I missing something. Thank you in advance.
  3. net123

    AWStats - Error - Writing to File :: Permission Denied

    PaulTEG: Thanks for your reply. The F:/ drive is on the remote server. So my configuration is as follows: Remote Server (Production Web Server): C:/ == WINNT/system32/LogFiles... F:/ == F:/Perl and F:/cgi-bin F:/Perl is where I installed ActivePerl and all of its components. F:/cgi-bin is...
  4. net123

    AWStats - Error - Writing to File :: Permission Denied

    I recently downloaded ActivePerl and the latest AWStats and I must say it is amazing! I have setup AWStats on my localhost PC and everything works beautifully! I then attempted to install it on a production server which has the Log Files in C:/ and Perl and AWStats installed on the F:/. When I...
  5. net123

    Page Designs (CSS) -- wow!!!

    After a little bit more time reading into templates, I am better understanding how they work. I am a .NET developer but have now been assigned to design a content-holding site for my department. I really enjoyed the look of the following address...
  6. net123

    Lock Question - Should I delete them all????

    I have SQL Server 2000 and ASP.NET applications running. It was brought to my attention that some of my applications hitting one of my databases was Timing Out. After a little bit of troubleshooting, I found out it was due to some Locks that existed on my database. I have since then 'Killed...
  7. net123

    Bound DropDownList with ALL but NOT Using it - HOW??

    I have a bound dropdownlist in which I would like the 'ALL' displayed on page_load. Right now, I have the code setup as a blank and it works like bringing ALL combinations. To make it easier to read for users of my application, I would like to use ALL without coding this functionality in my SQL...
  8. net123

    SELECT TOP w/ DISTINCT? - possible???

    I have a huge [COLOR=red]SELECT[/red] statement where many tables are being referenced. Without going into details, my [COLOR=red]SELECT[/red] statement utilizes [COLOR=red]TOP 100[/red] for efficiency. What I have noticed is, probably due to my usage of many types of joins (FULL, INNER...
  9. net123

    Page Designs (CSS) -- wow!!!

    I recently acquired DWMX 2004 and was taken back by how neat those page designs (css) templates are designed. Can anyone direct me to a good source (preferably book or web) that can help me code these sites. I would very much like to use the 'Halo Left Nav' design, but I don't know how...
  10. net123

    Super Annoying '!' Character in my HTML Email!!!!

    I have been perusing tons of documentation and even rewrote my code, but still nothing. I am thinking of this: is there any way to display the contents of a HTML page on the body? Essentially, this is what I'm doing. I just had a bunch of HTML tags in my body of the mailMessage. Your help...
  11. net123

    Super Annoying '!' Character in my HTML Email!!!!

    I have a web form that allows emailing of a predefined HTML body. I have tried different formatting and deleting of certain text, but when the Email is received, there is always a '!' (exclamation mark) or two within the text. How do I get around this annoying feature! What am I doing wrong...
  12. net123

    DropDown List with ALL indexed and SQL Statement

    I have a web form with a dropdown list bounded to a data source. This page is a search page that displays the results in a datagrid. I would like the dropdown list defaulted to one of the values of the database, but also in the list, I would like the value of 'ALL' to be in there. I seem to have...
  13. net123

    Inserting ServerVariables

    For example, in VB.NET ASP.NET, I would use something like this: [COLOR=blue] lblUser.Text = Request.SERVER_VARIABLES("AUTH_USER") [/blue] But I can't seem to figure it out. For example in Access I have a form that requests for the user's id, but this is the same as their Windows...
  14. net123

    Function Syntax from VB.NET to C#

    I am trying to change the following code from VB.NET to C# but can't seem to get the right syntax: [COLOR=blue] Protected Function GetIndex() As String ItemIndex += 1 Return (dgrid.CurrentPageIndex * dgrid.PageSize) + ItemIndex End Function [/blue] Your help will be greatly appreciated it.
  15. net123

    Looping through Email Recipients and Displaying Names

    Hello: I have a web email application that sends out emails located in SQL Server 2k. I have a reader as follows in my code: [COLOR=blue] conn.Open(); dr = comm.ExecuteReader(CommandBehavior.CloseConnection); while(dr.Read()) { mailer.To = dr[0].ToString(); SmtpMail.SmtpServer =...
  16. net123

    Hello, I'm just trying to learn

    Implement this: [COLOR=blue] <%@ Page Language=&quot;VB&quot; %> <html> <body> <form runat=&quot;server&quot;> <asp:TextBox value=&quot;Welcome to ASP.NET!&quot; runat=&quot;server&quot;/> </form> </body> </html> [/blue]
  17. net123

    Calling SUB after Search

    BoulderBum: Thanks for your help. I am almost there. What I would actually to happen is that on Page_Load, I want the btnExport not be displayed. I tried the following but the button is still there: [COLOR=red] btnExport.enabled = False [/red] Your following code is exactly what I was...
  18. net123

    Calling SUB after Search

    I have a Web Form that searches and displays records via a datagrid. On Page_Load I have two buttons: Search and Reset. Upon returning the results, I would like another button to be displayed, i.e. Export. I created a SUB btnExport_OnClick, but I am having trouble calling AFTER it searches...
  19. net123

    Zip Codes - good practices and patterns

    Thanks everyone who contributed to my thread. Fortunately, I am only working with U.S. addresses so it shouldn't be that difficult. Good stuff!
  20. net123

    Inserting ServerVariables

    I wanted to know what is the syntax in inserting servervariables into a table. I tried something like setting the default value = Request.ServerVariales(&quot;AUTH_USER&quot;), very similar to Now() for Dates, but that didn't work. I know how to do this in C# ASP.NET pages, and I thought it...

Part and Inventory Search

Back
Top