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

    Clearing text box

    Thanks.
  2. JJ297

    Clearing text box

    Could someone tell me how do I clear the text box after hitting the submit button? I have the page posting back to itself.
  3. JJ297

    Web config

    Thanks I got it working!
  4. JJ297

    Web config

    I tried that now I'm getting and error: NullReferenceExpection was unhandled by user code object reference nto set to an instance of an object. Use the "new" keyword to create an object instance. Any ideas?
  5. JJ297

    Web config

    Thanks for this but I'm a newbie and don't know what I should put in place of Dim conn As New Data.SqlClient.SqlConnection("Data Source=seb2a54;Initial Catalog=SpdtLibrary;User ID=Training;Password=people") Should I put... Dim conn As New Data.SQLClient.SqlConnection =...
  6. JJ297

    Web config

    Could someone tell me how to reference my datasource from web config in my code behind page. I have this displayed now which is giving out too much info: Dim conn As New Data.SqlClient.SqlConnection("Data Source=seb2a54;Initial Catalog=SpdtLibrary;User ID=Training;Password=people")
  7. JJ297

    Validation check box

    Thanks, I've figured it out.
  8. JJ297

    Validating check box

    Can't get null into the database. I'm trying to achieve... if displayedQues = "Y" then I want nondisplayedques to go into the database as null. What do I need to do? This is what I have thus far. Dim displayedQues As Char = "Y" Dim nonDisplayedQues As Char = "N" If...
  9. JJ297

    Validation check box

    Could someone please help me I can't get null into the database. I'm trying to achieve... if displayedQues = "Y" then I want nondisplayedques to go into the database as null. What do I need to do? This is what I have thus far. Dim displayedQues As Char = "Y" Dim nonDisplayedQues As...
  10. JJ297

    stored procedure question

    Thanks George it worked!
  11. JJ297

    stored procedure question

    Could someone please assist me... I'm trying to get all records in the database that displayedques = 'y' and displayedques = null. This is my stored procedure but it's not returning what I want. select QuesNAns.questions, QuesNAns.answer, QuesNans.displayedques, topics.topicid from...
  12. JJ297

    Help using 2 stored procedures on the page behind

    Thanks to you both for having patience with me. You fixed my problem.
  13. JJ297

    Help using 2 stored procedures on the page behind

    Can someone tell me why I am getting: Procedure or function AddRequestorInfo has too many arguments specified. Here's my code. I'm trying to use two stored procedures. Do I have it set up properly? Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
  14. JJ297

    Application Exception Error message

    Thanks that worked I found the problem!
  15. JJ297

    Application Exception Error message

    Could someone tell me what I'm missing in my code, when I hit the submit button to add the question to my database I get... FINALLY Application Execption was unhandled by usercode, an error occurred while trying to insert the record. I have a text box on the aspx page <asp:TextBox...
  16. JJ297

    Need help writing an If statement

    Thanks I'll try the tree view
  17. JJ297

    Need help writing an If statement

    Hello I'm a newbie to programming and need help writing an if statement. Is this the correct forum? I have a database set up in SQL with the following fields: Category Questions Answers I only want one category to appear for all of the questions and answers submitted for that...
  18. JJ297

    Need help writing an If statement

    Hello I'm a newbie to programming and need help writing an if statement. I have a database set up in SQL with the following fields: Category Questions Answers I only want one category to appear for all of the questions and answers submitted for that category. The way I have it...
  19. JJ297

    hitting submit button and a generated email is sent

    I'm having problems with my code. Can somone take a look and tell me what I've left out? Thanks! Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim objEmail As New System.Net.Mail.MailMessage() objEmail =...

Part and Inventory Search

Back
Top