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 strongm 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. richfield

    Software Design Is it worth it?

    Hi, A few colleagues of mine have been discussing the issue of the whole idea of design, as a process or product during software development. I was wondering on all your views on the contention that, Choosing the best notations, tools and working methods is more important to successful...
  2. richfield

    Effective Software Design

    Hi, I was just wondering what everyone's view is on the statement "Methods, notations and tools can never substitute for programmer experience in achieving effective software design" in terms of design as both a process and a product, the role of design notations and tools in supporting design...
  3. richfield

    code doesn't update

    Hi, Im trying to update a Mysql table, but the following code does not seem to do it its not throwing up anu error messages either: <code> $LandlordID=$_REQUEST['id']; if ($_POST['submit'] == "Update") { $query_update = "UPDATE landlord SET password = '" . $_POST['password'] . "'...
  4. richfield

    noob question on security

    Hi, I'm a newbie to this security business, but I need some advice for a problem, basically I've just moved into a new house and we have a shared broadband internet connection via a LAN, the thing is one of the other guys is a computer expert and I know he is accessing my computer, this guy is...
  5. richfield

    Returning Two Values from One exposed WebService Help!!

    I get the following error: error converting varChar to numeric heres the code I put in dad=new sqlDataAdapter("SELECT TOP 1 '" & ServiceUsage() & "' AS HitCount, '1' as Column1, '' As Column2, '' As Column3 FROM MyTable union select SalesID As SalesID, Sales As Sales, Date As Date...
  6. richfield

    Returning Two Values from One exposed WebService Help!!

    "but remember that the first statement must have the same columns as the second so if you have more than id being returned in your second statement, this must be reflected in the first (even if you just return blank fields)." how do I do that I have 4 items being returned in my second statement?
  7. richfield

    Returning Two Values from One exposed WebService Help!!

    I've tried your second method, but when you go to view the web service it does not allow you to invoke either method.??
  8. richfield

    Returning Two Values from One exposed WebService Help!!

    Hi, I'm creating a webservice to expose, now I've done the code, the thing is I have a function which calculates how many times my web service has been accessed and I need to combine it with a function which displays a table from a SQL Server, here's the code as my explanation is a bit...
  9. richfield

    Adding Values to the same session, from different pages

    The code for the second page is exactly the same apart from there is no makeCart() function, the shopping cart gets cleared when you go back to shop1 using the hyperlink, is there anycode example you can show me how to update the shopping cart like you said in your post? Thanks Rich
  10. richfield

    ASP.NET SQL UPDATE STATEMENT

    Hi, I have the following error in my sql satatement: Incorrect syntax near the keyword 'where', my code is; strSql=strSql.format("Update tblSales where SalesId={0} values('{1}','{2}','(3)')",ddlSalesID.selecteditem.value,txtSales.text,txtDate.text,txtEmployeeId.text) Is there an obvious...
  11. richfield

    Adding Values to the same session, from different pages

    Hi, I'm in the process of desingning a shopping cart and am having difficulty with the following, basically there is various pages with datagrids of items you can buy, on each page there is a hyperlink to another shop, the problem is when you click on the hyperlink it creates a new session as...
  12. richfield

    HELP!! Binding two column values to ASP.NET drop down list

    Hi, I've got a drop down list getting its values from a column in a dataset e.g Name. code: <asp:DropDownList id="ddlNames" runat="server" DataField="Id" Rows="1" DataTextField="Name" DataValueField="Price"> I need to change the Data Text field to display both Name and age. So the drop...
  13. richfield

    Shopping Cart example

    Hi, Im trying to simulate a very basic shopping cart, basically I have the following various asp.net pages with datagrids binded to an SQL server database, so asp.net page1 might have a datagrid with the following columns, item, colour, price and page2 would have another datagrid with the same...
  14. richfield

    Object reference not set to an instance of an object error

    The error occurs on this line strSql= strSql.format("select Sales from tblSales where SalesID={0}",radioSales.selecteditem.value) I've tried textbox1.text = radioSales.selecteditem.value to try and debug and it gives me the same error message, even though radioSales has a value
  15. richfield

    Object reference not set to an instance of an object error

    Hi I keep getting the following error and cant seem to figure it out; Object reference not set to an instance of an object. below is the code block which it finds the error; Dim dst as DataSet Dim dad as sqlDataAdapter Dim strSql as string Sub LoadDetails() dst = new dataset strSql=...
  16. richfield

    Opening up hyperlink in new window PHP

    Thanks, things are so simple when you know how!
  17. richfield

    Opening up hyperlink in new window PHP

    Hi, I want to try and open up a hyperlink in a new window and am having a little difficulty below is my code: echo "<a href = 'get_landlord_details_unregistered.php?userID=" . $userID . "'>"; I have tried including target="_blank" but I get error messages can anyone point me in the right...
  18. richfield

    searching MYSQL Table using php HTML front end

    Hi, Just ran the script and it works fine just a couple of things though, $querySQL = "SELECT * FROM myTable WHERE ".implode('AND ',$queryItem); If none of the fields are set i get an error, because of WHERE, as this is always executed, is it possible to dynamically change this so it only...
  19. richfield

    searching MYSQL Table using php HTML front end

    Hi, Just ran the script and it works fine just a couple of things though, $querySQL = "SELECT * FROM myTable WHERE ".implode('AND ',$queryItem); If none of the fields are set i get an error, because of WHERE, as this is always executed, is it possible to dynamically change this so it only...
  20. richfield

    searching MYSQL Table using php HTML front end

    Hi, Just ran the script and it works fine just a couple of things though, $querySQL = "SELECT * FROM myTable WHERE ".implode('AND ',$queryItem); If none of the fields are set i get an error, because of WHERE, as this is always executed, is it possible to dynamically change this so it only...

Part and Inventory Search

Back
Top