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

  • Users: net123
  • Content: Threads
  • 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

    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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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.
  11. 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 =...
  12. 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...
  13. 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("AUTH_USER"), 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...
  14. net123

    asp:ImageButton integrated w/ DWMX's Hover Generated Code

    I have a web form in which I would like to create that hover effect of in/out. Currently I have the following (simple button): [COLOR=red] <asp:button id=&quot;btnSearch&quot; onclick=&quot;btnSearch_Click&quot; runat=&quot;server&quot; Text=&quot;Search&quot;></asp:button>...
  15. net123

    Populating TextBox on Load with Date - 14 days -- HOW?

    On Page_Load, I would like my web form to populate 1 textbox with a predefined date of today's date minus 14 days, i.e. 2 weeks ago. I have the following so far: [COLOR=blue] Sub Page_Load(Src As Object, E As EventArgs) If Not Page.IsPostBack Then ... Dim dtmDate As DateTime =...
  16. net123

    Zip Codes - good practices and patterns

    I wanted to know what is good practice in implementing zip codes in a .aspx web form and SQL Server 2k. For example, most zip codes that will be entered have 5 digits, but there are also those cases that have that 4 digit extension at the end. Should I create 2 fields in the database, such as...
  17. net123

    Search Between 2 Dates

    I have a btnSearch_Click event in which it searches a DB with all the data that is between the entered date and today's date. Here is my logic: [COLOR=blue] Dim TodayDT As DateTime TodayDT = DateTime.Now ... &quot;AND Convert(char(10),dbo.Table1.ThisDate,101) BETWEEN '&quot; & txtThisDate.Text...
  18. net123

    Search Form Skipping Rows when TextBox Value IS NULL

    I have a search form in which one can search per many fields (textboxes). I have noticed that if I include a field that has a bunch of NULLs in its values of the table, then the query fails, i.e. doesn't return those values. The where clause of my SQL statement is as follows: [COLOR=blue]...
  19. net123

    Open MS Outlook

    I've seen some applications that open up MS Outlook with the Subject and From fields already filled. How can I open MS Outlook via a button on an .aspx page? Thank you for your assistance.
  20. net123

    DropDownLists not displaying values!

    I have a web form in which on Page_Load 4 DropDownLists are populated with data from a database. on ButtonClick, a datagrid is displayed with results from the search page. The web form also has other text boxes to search by aside form the dropdown lists as well. When the first display of...

Part and Inventory Search

Back
Top