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

    Delete key posts form after drop down selection!

    Thanks all for your help AT least it's not just me.
  2. columbo2

    Delete key posts form after drop down selection!

    Thanks all, as long as it's not my code. annoying though Anyone know how to stop it or is it just one of them things?
  3. columbo2

    Delete key posts form after drop down selection!

    I posted just after you did and didn't see your reply Thanks for your reply - just tried an IE restart - now going for the old reboot
  4. columbo2

    Delete key posts form after drop down selection!

    And it happens on IE7 and not firefox.
  5. columbo2

    Delete key posts form after drop down selection!

    My mistake, it doesn't post the form it activates the browser back functionality
  6. columbo2

    Delete key posts form after drop down selection!

    Hi all, Has anyone else ever seen the following issue or can sugest away to prevent it... I have a form, I can delete from the various text boxes at will without issue. But As soon as I make a selection from a drop down then move focus to another cell then press delete, the form posts. Anyone...
  7. columbo2

    Insert NULL value into database

    what an idiot I am. You're right I was stuck on thinking about having to pass the null value through a parameteter and forgetting the odvious. I'm building the update query any way so, as you say I'll just write it into the statement as SQL. thanks ta C
  8. columbo2

    Insert NULL value into database

    Actually I think I'll set all of the fields that could be null to null first then, write the new data over the top. Still a bit messt but better I think
  9. columbo2

    Insert NULL value into database

    Hi I have an update statement and when fields in my form are left blank I want NULL inserted into the databse rather than "". I can't find a way to do it. If I can't find another way my plan is to set the fields in the data base to <NULL> using c# then use a second SQL query after the update...
  10. columbo2

    Insert column (at specific) location - can it be cancelled

    Foolishly I have inserted a column at a specific location on a large table (3.4million records). In retrospect I should have added them to the end. It's taking ages to do it. Does anyone know...if I cancel it will my table be corrupted, or does it keep a store of the old table before it drops...
  11. columbo2

    OnCheckedChange Autopostback question.

    I started looking into Javascript and .net (2.0) and I found this page... http://dotnetslackers.com/articles/aspnet/JavaScript_with_ASP_NET_2_0_Pages_Part1.aspx This explained that there was an update to .net 2.0 that sorts this problem. Just add MaintainScrollPositionOnPostback="true" to the...
  12. columbo2

    OnCheckedChange Autopostback question.

    Hi all, I have a textbox field in a form that has an associated checkbox. When this checkbox is checked the field is greyed out and becomes readonly. Currently I have the onCheckedChange event (with autopostback on)trigger some code that sets the attributes of the textbox to do this. My...
  13. columbo2

    Details view: inserting when in edit mode.

    I see what you're saying and that is a good idea but having thought about it I can't because I don't want this page to have anything other than SELECT access to this database (it's a public facing page). Also all the updates are checked by somebody before they are added to the main site (which...
  14. columbo2

    Details view: inserting when in edit mode.

    Hi, I have a detailsview that shows the details of a record. The person viewing the page can update the details. When they click update the record on screen inserts to a different table (to protect the original table) rather than updating. I did this by automatically putting the detailsview...
  15. columbo2

    Closing datareaders and connections.

    Thanks Jason, great tip, I'll do that in future C
  16. columbo2

    Closing datareaders and connections.

    Hi All, I've seen a bit on the web about closing conncetions and datareaders. I have consequently been putting try-catch-finally blocks around my connections and datareaders and closing the connections in the finally block. My question is: If you have a data source or datareader dragged and...
  17. columbo2

    Problems programmatically setting multiple selections in a list box

    Hi All, Thanks, I used similar to jasons code above and it still didn't work, but I think it was because I had the code in the onpageload event and the listbox in question was populated from a database table using a datasource in the HTML. I think the above code was running before the listbox...
  18. columbo2

    Problems programmatically setting multiple selections in a list box

    Hi SBO, Thanks for your help. I tried... if ((dditems.Value == "Graduate")) { dditems.Selected = true; } But it is telling me that it doesn't have a definition for '.Value' or '.Selected' I've been looking through the intellisense list of options but can't find anything else...
  19. columbo2

    Problems programmatically setting multiple selections in a list box

    Hi , Thanks for your answer. I can see what you're getting at, I need to cycle through each item in the listbox, compare it to each item in the array of values I want selected and select where there is a match. The trouble is I am using c# and can't find a way to set the individual item to be...
  20. columbo2

    Problems programmatically setting multiple selections in a list box

    Hi all, I have an array of values that I want to select in a multi selection listbox. I've tried this, but it only ever shows one of the selecte d values... (c#) foreach (string itemstoselect in arrayofitems) { lbJobType.SelectedValue = itemstoselect; }...

Part and Inventory Search

Back
Top