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

    Debugging long SQL queries generated with c#

    I have been using a tool called sql pretty printer for a while which is great for formatting sql queries. (Basically you pass in a long string to the tool and it places the enters in logical places in the query and then highlights keywords. I am looking for a free tool/plugin for vs.net to...
  2. mike509123

    Image not displaying, from javascript

    I have the following line of code in my javascript. document.all['test_label'].firstChild.data = '<img src="/images/cabinet.gif" height=15 width=15>Check this out'; When it goes to render the page it displays it as <img src="/images/cabinet.gif" height=15 width=15>Check this out Any idea why...
  3. mike509123

    Covert one dimensional array to coma delimited string

    Is there a quick way to convert a one dimensional array into a comma delimited string. I know i can just iterate through the array and generate the string using concatination. Is there a better or simpler way? (FYI: The elements in the array are numbers) thanks
  4. mike509123

    Applying css via javascript

    I have the following code: <a onmousedown='test();' onmousover=''><img src='button.gif'/></a> I want to place some code in the onmouseover to apply the following css style to to the image when a user mouses over the image. cursor:hand; filter...
  5. mike509123

    Modifying query to return one aditional column with a default value.

    Hi, I have the following query: select first_name,last_name, address from address_book which returns the following table john smith 393 Jones RD bill smith 345 Jenkins RD I would like to modify the query so the resulting query returns a table that looks like this john smith 393...
  6. mike509123

    Save to Disk IE7 vs IE6

    Hi, I have a modal dialog (window.showModalDialog) which contains the following link: <a href='download.aspx?file=test.txt'>" + "test" + "</a> Note: This issue only arises when the link is clicked from inside a modal dialog window. IE6 When i click the link a blank window shows up, and then...
  7. mike509123

    Joining to sql statements

    Sorry, your right. My fault. Is it possible to use the two statements i provided but keep them as is and add something in between them or around them to get the same behavior? Thanks
  8. mike509123

    Joining to sql statements

    Each person may have several notes, by doing an inner join you are only grabbing the first note. You also modified the original two queries. (I have simplified the queries so they dont take up several pages). I want the queries to remain untouched but rather for someone to help me add something...
  9. mike509123

    Joining to sql statements

    I have two sql statements. The first has a unique primary key on name, whereas the second is a one to many relationship on name. I would like to join the two queries so the result looks like: John Smith, 234 Jones Rd, 430-293-3928, note1 John Smith, 234 Jones Rd, 430-293-3928, note2 John Smith...
  10. mike509123

    design question

    Hi, I have a several white links on a dark green background. (which looks good) I need to have some of the links "disabled" what color should I make the disabled links? Thanks
  11. mike509123

    CSS, disabled links

    Hi I have the following two lines in my code (see below) the only difference is that the title is different in each and one is disabled while the other is not. I created a css style see below which is applied to both. Is it possible to create two css styles and have one applied to the disabled...
  12. mike509123

    Searching through stored procedures

    Hi, I am currently using Microsoft SQL Server Management Studio to look at the contents of my database and view/edit my stored procedures. Is there a way using SQL Server Management Studio to search through all the stored procedures for the words 'accounts'. I know one solution i have is to...
  13. mike509123

    Javascript, regular expressions

    Hi, I am looking to create a regular expression that only allows Upper Case and Lower Case Letters and hyphens. I have the following so far which allows for uppercase and lower case characters. How do I modify it to include "-" also? var re = new RegExp("^([a-zA-Z])+$");
  14. mike509123

    ASP.net Panel Scrollbards

    Hi, I have the following code <asp:Panel ID="Panel1" runat="server" Height="150px" Width="200px" ScrollBars="Auto" CssClass="box"> here is my text...</asp:panel> when the code runs i see a scrollable panel with a lot of text. When i hit the print button, it only shows me the text that i can...
  15. mike509123

    Insert rows into a datatable or datarow[]

    I have a Datatable with 100 rows in it. (I can easily convert it into a Datarow[].) Is there anyway to insert rows in the middle of these structures. Meaning can i insert a new Datarow in between rows 35 and 36. (If there is no way to do this, are there any other data structures I can easily...
  16. mike509123

    How to add columns to a table?

    Hmmm, so if i wanted to add a column to the entire table i would have to traverse every row and add one additional cell? Thanks
  17. mike509123

    How to add columns to a table?

    Hi, I know you can add a row to a table by doing Table table = new Table(); table.Rows.Add(new Row()); How would you go about adding a column to that table? Thanks.
  18. mike509123

    Adding Column to a table

    Just taking about a regular table. Table table = new Table();
  19. mike509123

    Adding Column to a table

    Hi, I know you can add a row to a table by doing Table table = new Table(); table.Rows.Add(new Row()); How would you go about adding a column to that table? Thanks.
  20. mike509123

    XML Writer to write html

    Hi, How would i use the xml writer in c# to write the following? <TABLE cellspacing=1 cellpadding=1> <TR> <TD align=center colspan=4><FONT size=4 color=blue>Price Quote</FONT></TD> </TR> <TR> <TD><B>Product</B></TD> <TD><B>Price</B></TD> </TR> </TABLE>

Part and Inventory Search

Back
Top