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!

Recent content by craigbtg

  1. craigbtg

    SetAuthCookie Not Working

    Hello, I have forms authentication working when I run my site on my LAN, but any machine coming in via the internet cannot authenticate. I've tested with isauthenticated and found that these users always return false. I've tried from multiple machines that have cookies and sessions enabled...
  2. craigbtg

    Prevent User From Manually Typing Filename Using FileUpload

    OK...thanks. I wasn't sure if there was something built into the control.
  3. craigbtg

    How to select distinct records

    This is very basic, but does this work for you? SELECT distinct(field1), field2 FROM table
  4. craigbtg

    Prevent User From Manually Typing Filename Using FileUpload

    Does anyone know of a way to prevent a user from manually typing the filename in the textbox portion of the fileupload control? Is there a way to disable only the textbox portion, but still allow the user to use the browse button? Thanks.
  5. craigbtg

    CheckBoxList and FormView Insert

    Thanks for your help!
  6. craigbtg

    CheckBoxList and FormView Insert

    It seems that there must be an easier way to add the selected values from the checkboxlist. I thought it was strange that I needed to define an instance of a checkboxlist only to use the same one that is already on the formview. I also thought there may be an easier way to insert the...
  7. craigbtg

    CheckBoxList and FormView Insert

    I was able to loop through my checkboxlist in the iteminserted event using the following code: Dim FormView As FormView = CType(FormView1, FormView) Dim cblist As CheckBoxList = CType(FormView.Row.FindControl("checkboxlist1"), CheckBoxList) Dim i For i = 0 To...
  8. craigbtg

    CheckBoxList and FormView Insert

    Hello, I am using a formview to insert data into two tables. When I click insert the first part of my form is bound so the records are inserted automatically and I have an autonumber field generating a primary key in MS Access. I can grab the new primary key field in the formview iteminserted...

Part and Inventory Search

Back
Top