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

    skip first 2 items in datalist

    Hi this is what i have so far, i would like to skip the first two items in the datalist, prevent them from displaying, how can one go from here: thanks protected void dlRisksDataBound(object sender, DataListItemEventArgs e) { HyperLink tmpLnk =...
  2. jamert

    count number of radios maybe disable submit

    got it figured, hope it helps someone: countRadio(); function countRadio(){ var allR = document.getElementsByTagName('input'); var a=0; var b=0; for(var i=0; i<allR.length; i++){ if(allR[i].type=='radio') { b++; } if(allR[i].type=='radio' && allR[i].checked)...
  3. jamert

    count number of radios maybe disable submit

    Hi i'm trying to count the number of radio groups on a page and if less than 80% do not have a selection then disable the submit button, other wise enable it. I'm putting an onclick on each radio to call the function, plus a window.lonad event to call the same function. This is the function i...
  4. jamert

    loop thru reader

    thanks i perfer litton1 only because the records returned are a maximum 26, much thanks jmeckley and macleod1021 Cheers!
  5. jamert

    loop thru reader

    How can one loop thru the read to check is any of the reader string values (all are stings) are not null. If the read return all null then i need to increment: io++ This is kinda what i mean: foreach (string val in rdr2.) { if (rdr2[val].ToString().Length > 0) { io++; } } thanks
  6. jamert

    add into every type user

    Hi i have 10 tables that all have an int, no relationships, column called MemberID. I would like to add memberID from 1 to 2000 in all 10 tables. Is there a way to do this while loop based for all tables of type 'user' ? thanks
  7. jamert

    after update trigger

    Hi, i've confused with triggers, still trying to wrap my head around the logic syntax, belowis what i have wich isn't working. when clientportal db table [_Info] gets an insert to take the autoIncrementing MemberID and insert it into db clientportalforms.dbo.mcpage1 in a column called MemberID...
  8. jamert

    sFTP issue

    Hi with a page the user triggers a sFTP action, getting file from another server. I'm stuck on a useability issue and was wondering if it can be handles in a global way, like using global.asax When the user initiates the ftp process, it can take upto 20 seconds for the process to conclude, if...
  9. jamert

    for xml auto

    thanks for the tad of info
  10. jamert

    for xml auto

    Hi I have procedure that has a few joins and at the end of the statement after the where clause i have for xml auto. In QA (sql2k) i ran the proc and returned only part of the xml: <TestDB.dbo.polls><Question>Do you...
  11. jamert

    string and indexOf troubles

    thanks for the pointers: if (Equ.IndexOf("<") < 0) { //something } else if (Equ.IndexOf(">") > 0) { //something } else { // end up here, perfect! } is there a more elegant way to display this? thanks again
  12. jamert

    string and indexOf troubles

    I con't figure this simpleton out, any thoughts, string Equ = "<0.6"; if (Equ.IndexOf("<") < 0 || Equ.IndexOf(">") < 0) { // it gets here, don't want it to get here ? } Thanks
  13. jamert

    created stored procedure cannot be found

    OK, i have a bigger issues with the server, thanks for you help.
  14. jamert

    created stored procedure cannot be found

    ok i rebooted the server, and rand the procedure again. i got a reult this time 9i'll need to look into the server log for issues...) this is the result i recieved: thanks George, what is type U ? feedback U
  15. jamert

    created stored procedure cannot be found

    no results to post when i ran it, is feedback a reserved procedure? could i have overwritten something by creating it?
  16. jamert

    created stored procedure cannot be found

    Hi I created a simple Proc called "feedback" i cannot find the procedure? I've looked in the master as well teh db that i created it in. I have refreshed the db to no avail, plus when i try to create a new one with the same name i'm informed that one already exists. I feel dumb, any...
  17. jamert

    problems finding stored procedure

    Hi i have a strange problem, never seen this before. i created a stored procedure in the sql2k db (have many procedures already, all working) Gave the Proc the same security credentials as usual. and am running this code, this result catches on the fact that the connection cannot find the...
  18. jamert

    get [date of Birth] as Year only

    Hi i'm grabbing a column value "[Date of Birth]" but i only would like the year of it, is there a way to somehow truncate the return of the 'datetime' field ? something like: Convert(getDate(YYYY), [Date of Birth]) as dob Thanks
  19. jamert

    trying to get only unique items from data

    Thanks for the pointers , i have revampped it a bit, seems better? protected void dlGoalsDataBound(object sender, DataListItemEventArgs e) { ArrayList Goals = new ArrayList(); Goals.Add(dl); foreach (DataListItem dl in Goals) {...
  20. jamert

    trying to get only unique items from data

    Hi the data return by a procedure has many GoalTypeIDs and i would like to display the unique GoalTypeIDs only. so i'm thinking that i will have to array the types and check to see if they have been used.... i am not having success with this, any suggestions ? protected void...

Part and Inventory Search

Back
Top