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: *

  1. knight1001

    Problems referencing a Foreign Key

    I need to reference to Car No in the statement below any ideas? <code> commandpartthree = new OleDbCommand("INSERT INTO Drivers ([Full Name], [Car No], [Age], [Nationality], [Championship Points]) VALUES (@FullName, @CarNo, @Age, @Nationality, @ChampionshipPoints);"); </code>
  2. knight1001

    Mulitple Results from Sql query

    It is asp.net , I simply want to output the results to a text box to display on screen , is there a quick and painless way to do it, and could someone possibly do an example piece of code for reference Regards Gaz
  3. knight1001

    Mulitple Results from Sql query

    HELP!!! Im trying to display the multiple results returned from this query, but can't get it to return them.It can return one ,but not sure how to return them as a list. commandpartthree = new OleDbCommand("SELECT [Full Name] FROM Mechanics WHERE [Car No] = @CarNo")...
  4. knight1001

    Redirect Syntax

    I want to redirect to a page within the server. But i'm not entirely sure about the syntax. I thought it was Redirect = "url"; but this gives the error msg of Unrecognised Escape Sequence. private void Login(object sender, EventArgs e) { connectionpartthree = new...
  5. knight1001

    Help, Cannot UPDATE

    I think so lol <asp:button CssClass="controlText" Width="60" ID="Update" Text="Update" runat="server"/> cheers
  6. knight1001

    Help, Cannot UPDATE

    cheers for the reply but still dosen't work. would it help if i placed the whole script up?
  7. knight1001

    Help, Cannot UPDATE

    Hello i've been trying to Update access db inputs but i just can't get it to update. Theres no errors it just won't work private void Update_Click(object sender, EventArgs e) { if (Page.IsValid) { commandpartthree = new OleDbCommand("UPDATE Cars SET [Car No] = @CarNo, [Team Name] =...
  8. knight1001

    Reserved Wording in SELECT statement?

    Exception Details: System.Data.OleDb.OleDbException: The I keep recieving this error, can't possibly think about why its saying it as there are no reserved words. SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect...
  9. knight1001

    EventArgs and Objects

    I'm lost about my event arguments and objects. I'm not sure whether the object should be a sender, and i'm really not sure about how i get my members page to load for this login page if the username and password are right. I'm such an asp newb private void Login(object sender, EventArgs e)...
  10. knight1001

    Error CS1026

    sorry that line was wrong: this is the script Line 21: if (!(IsPostBack)) Line 22: { Line 23: commandpartthree = new OleDbCommand("SELECT [Username] FROM Users WHERE [Username]= "Username = Request.Form("Username")); Line 24: commandpartthree.Connection = connectionpartthree; Line 25...
  11. knight1001

    Error CS1026

    I have Error CS1026 for this line of Code: commandx = new OleDbCommand("SELECT [Username] FROM Users WHERE [Username]= "Username = Request.Form("Username"); I can't figure out why i am recieving this error on that line.
  12. knight1001

    Scrolling Image on Cursur Movement

    Hello, I just used this piece of code its great, i'm just having one major problem i cannot get my buttons working within the mc? I have no idea whats goin wrong with them as they should work within the mc. i get the feeling the script is stoping them from running but i don't know how to...
  13. knight1001

    Hotspots

    I just created a flash file that moves left and right using a button and a mask. I now want to insert buttons into the images i have within the room. This is where my problem starts I know how to put the buttons in but they always stay on the side of the screen. Is it possible to use...
  14. knight1001

    include as a class or not?

    When designing a system, do the human aspects such as users or staff become a class? they can't be programmed so should they become a class?

Part and Inventory Search

Back
Top