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

    sql procedure where i have a subquery in an insert statement

    SET @MaxId = SELECT MAX(id) FROM @tblName DOESN'T work , i need to return maxid of a tablename that is a parameter CREATE PROCEDURE dbo.sp_SubmitRequest2 ( @tblName, @Deadline varchar(50), @Requested varchar(50), @RequestedBy varchar(50), @RequestedFor varchar(50), @CAM...
  2. G00GLER

    how to call my web service if requires one parameter

    pretty sure it's simple answer but so many ajax articles and none of my searches have returned a solution. Trying to reference my .net web service that recieves a string and returns a string. i seem to be getting an error on this line whatsthematter.asmx/SayHello"); function call_server() {...
  3. G00GLER

    Defining Native Application in IIS?

    There is a way to do this using HTTP header: http://support.microsoft.com/kb/260519/EN-US/ but I don't understand the example given: Content-disposition: attachment; filename=fname.ext SUMMARY When you serve a document from a Web server, you might want to immediately prompt the user to save...
  4. G00GLER

    datagridview dynamically add imagecolumn and populate it

    if i have a datagridview that is populated with an xml file. I have images in a resource file that i'd like to show in the datagridview based on values in one of the column say light foreach (DataRow dr in myDataSet.Tables["tblXMLExport"].Rows) { switch (dr["Light"].ToString()) { case...
  5. G00GLER

    How do you only update changed records

    i understand if i am running an Application that loads in xml, i make changes and i call dataadapter to update the sql table. what i don't understand is if i have an app that is mostly offline. several times app is opened and closed only saving xml file to hard drive, on the rare occasion it's...
  6. G00GLER

    My First Web Service

    NEED TO RETURN a dataset: this is how I would do it going directly from a windows form to sql server: [CODE] private void RetrieveData() { //MYSQLSERVERCONNECTION DBConnStr = "Data Source=blah, blah, blah"; SqlConnection SQLCn = new SqlConnection(DBConnStr); //MY DATAADAPTER SqlDataAdapter...
  7. G00GLER

    how to REFACTOR this?

    basically i have 5 stoplights and when user changes the from red to green i clear all images of that stop light with the clearLights function but since I have 5 stoplights i created 5 ClearLights Functions, is there a way to just have one and pass the integer of through so I can change...
  8. G00GLER

    Make Links Links

    scenario is I am reading an xml file and i need to show how one would display links as links, i should be able to do this in c# or using xslt and javascript: here is where i am having a problem with the javascript: \\Reading in Layer var strTemp = document.all["kyle"].innerHTML; var...
  9. G00GLER

    select items in listbox based on query

    basically I have a matrix, when a user enters in a fact, they catergorize it by legal theories. so when someone edit's this fact the listbox should select the items already associated with this item. If user makes changes by unselecting then update button would remove from the matrix all entries...
  10. G00GLER

    Regex and the period?

    Quick question, i want to replace the webaddress to reflect the new location in 118 sql text fields. so i am reading them in, doing regex.replace so I can do an update the text fields. The following works: messageReplaced = Regex.Replace(message, "intranet", "dcintranet"); However this desired...
  11. G00GLER

    migrating asp pages from IIS5 to IIS6

    Wasn't sure where to put his in ASP or IIS, but IIS didn't appear to be very active: here's the link to the post. http://tek-tips.com/viewthread.cfm?qid=1145947&page=1 TIA
  12. G00GLER

    IIS6 Mapping question?

    Please help? Not a network person here, we migrated IIS5 to IIS6 and asp pages included a lot of includes and paths were virtual, for somereason NOT WORKING, when i spell out path, still doesn't work, but if I copy and put includes in same folder, asp pages work. obviously this is horrible...
  13. G00GLER

    trying to set link on the fly

    I can create a linklabels on the fly but can't seem to pass what I want to run when linklabel clicked as it depends on which linklabel was clicked OBJECTIVE: create a link to a video for each video file in a folder. CODE THAT DOESN'T WORK: // Set the directory to the sample picture...
  14. G00GLER

    reverse arrays, what am i doing wrong

    Below is simple html page, when user clicks "test" button should write to layer: 1,2,3,4,5,6,7,8,9 9,8,7,6,5,4,3,2,1 but instead writes 1,2,3,4,5,6,7,8,9 1,2,3,4,5,6,7,8,9 any help much appreciated! <HTML> <BODY> <SCRIPT> myArray=new Array([1,2,3,4,5,6,7,8,9]); s = new Array(); function...
  15. G00GLER

    retrieve terror alert

    .net how do i retrieve headline or better yet a terror alert http://www.dhs.gov/dhspublic/ the terror level is found in the image named dhsadvisory <img name="dhsadvisory" src="/dhs/images/dhs-advisory-elevated.gif .... so would i create a webservice that looks for what comes between the...
  16. G00GLER

    identifying tab deliminated

    I guess what i am trying to figure out is how to capture items that fall between tab marks I'm trying to capture in a text file what is in between tabs, apparently " " doesn't cut it any suggestions? Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)...
  17. G00GLER

    what is the best way to find DATES in a text file

    I would like to read in a text file and output a text file. where there are dates in the text file they are always in paranthesis. I was wondering how to do a search and replace based on a regexp Any pointers? Thanks
  18. G00GLER

    reg expression: want stuff after &quot;\&quot; in a string

    string in question happens to be "CM\WilliS" This Code Works: string t = User.Identity.Name; string s = Regex.Replace(t, "CM",""); Message.InnerHtml += s+"<BR>"; But returns "\Willis" I am having dificulty removing the \
  19. G00GLER

    session(&quot;userid&quot;) equivalent

    is there an easy way to find out who on the network is visiting a webform (.net) like in ASP. thanks.

Part and Inventory Search

Back
Top