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

    VB Script - getting a textboxes value

    Hey there, I have an ASp page that i am using vbscript with to set some values to hidden input boxes and post the form. I am having trouble getting a value from a textbox using the document.textboxID.value in my vbscript and i can't figure out why. Any help would eb greatly appriciated.Thanks...
  2. mtl77

    Posting to hidden inputs on a login page.

    Hey there, I have a asp.net page in c# that i am accepting user input, username & password, and then sending that info to an older login page which contains hidden inputs for those values. How do i send, post, those values to the login page and then go to the next page of the app? I have tried...
  3. mtl77

    CausesValidation on Edit/Update in Datagrid

    Does anyone know how to set causes validation to false when a datagrid edit/update/cancel linkbutton is fired? I have heard that it is done in the ItemCommand event but i am struggling to figure that out. Any suggestions? Thanks in advance for any responses, KF.
  4. mtl77

    Ole Objects

    Is there any way to export the contents of an OLE Object back to it's original file type, ie. word doc, gif, jpeg, pdf etc?
  5. mtl77

    SQL Image Data type

    Hi Everyone, I have a image data type column that contains several different types of files, word docs, gifs, jpeg, pdf's and so on. In order to enable these files to be viewed through an asp.net page i need to know the file size and type. The db was created by someone else and this info was...
  6. mtl77

    Exporting OLE Object Back to Files

    I have a colunm in a table that contains OLE Objects (word docs, pdf's, and picture files,tif's, gif's and jpeg's)and i would like to export them back to regular files. I am changing the current access database to SQL and would like to reference the location of these objects rather then store...
  7. mtl77

    Message Box Confusion

    Is it possible to display a yes/no message box when a user clicks on a delete button column in a datagrid? Also can I access the value from that message box in the code behind file? I am having trouble understanding how to access javascript return values from the code behind pages, so if some...
  8. mtl77

    sp error

    Hi all, I have created the sp below and for some reason it will not allow me to create the SP because it says that i have a syntax error near @UsedToCal. I am relatively new at stored procedures and i can't seem to figure out why this is happening, any ideas? The code is as follows: Create...
  9. mtl77

    Specified cast is not valid?

    Hello, I am getting the error "Specified cast is not valid" on the following line of code and i cannot see why: int _totalRecords = (int) myCommand.Parameters["@TotalRecords"].Value; @TotalRecords is a an output from a stored procedure from a sql db. It is an int. Any...
  10. mtl77

    Printing Question

    Is it possible to only print the contents of a textbox? If so can you explain. (c# is possible). Thanks in advance. KF
  11. mtl77

    Yes/No Message box.

    Hi all, I need to have a yes/no message box appear when a user click on a button to delete something. I know how to write the javascript for the message box but how do i pass the answer(yes or no) to my code behind file which is in c#? Thanks in advance for your response. mtl77.
  12. mtl77

    Single Quote error.

    Hi All, I am having problems with the following insert statement when the values that are inserted contain single quotes. I have been trying to use the verbatim string ( @ in c#) but i have not been able to fiqure it out. Any ideas or suggestions? "INSERT INTO Details Values('" +...
  13. mtl77

    Passing Paramaters Help.

    Hi All, I am trying to pass a parameter (an int) from one form to another which opens in a pop up window. I am wondering if there is any way to open the pop-up window from the code behind page rather then using the Window.open() with java script in the html. I am having a hard time openeing the...
  14. mtl77

    Passing a value from one form to another

    How do i retrieve a dropdown list's selecteditem.value from another form? (in c# if possible.) Thanks in advance.
  15. mtl77

    Getting a specific value from a dataset?

    I'm a rookie at this so please forgive the simplicity of this question. what is the easiest way to access values from a dataset and then use them either in an equation or disply them in a textbox. Thanks in advance.
  16. mtl77

    Getting an Average from a TOP N Query?

    Does someone know how to get an average from a TOP n query like the following? SELECT TOP 10 myColoum FROM myTable Where tableID = aValue Order by myColoum. Any help would be greatly appreciated.
  17. mtl77

    Drop Down List box Question

    I have a drop down list that is being populated from a table in a db. I would like to have it set up that when an item in the drop down list is selected(the items's name being displayed int the ddl), the other fileds in the table are displayed in regular text boxes. Thanks in advance.
  18. mtl77

    Returning smalest values in a query

    How do you get the smallest 10 values from a list of 20 in an SQL 200 query

Part and Inventory Search

Back
Top