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...
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...
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'] . "'...
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...
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...
"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?
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...
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
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...
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...
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...
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...
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
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=...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.