473,545 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

UPDATE : Help Required to Populate search results - Array Search

I have the following array:
function showCPUs(){
//name brandID dualCore dualProcessor
var cpuItem=['Pentium 4 HT Northwood','2', 'N','N'];
var cpuItem=['Pentium D 820','2','Y','N '];
var cpuItem=['Pentium D 830','2','Y','N '];
var cpuItem=['Pentium D 840','2','Y','N '];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon Dempsey','2','N ','Y'];
var cpuItem=['Athlon 64 3000','1','N',' N'];
var cpuItem=['Athlon 64 3200','1','N',' N'];
var cpuItem=['Athlon 64 3500','1','N',' N'];
var cpuItem=['Athlon 64 4000','1','N',' N'];
var cpuItem=['Athlon 64 X2 4200','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4400','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4600','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4800','1','Y',' N'];
var cpuItem=['Opteron 242','1','N','Y '];
var cpuItem=['Opteron 244','1','N','Y '];
var cpuItem=['Opteron 246','1','N','Y '];
var cpuItem=['Opteron 252','1','Y','Y '];
}
</script>

and the following hidden fields that are set by drop down menus
<input name="cpuBrandI D" type="text" id="cpuBrandID" >
<input name="dualCoreI D" type="text" id="dualCoreID" >
<input name="dualProce ssorID" type="text" id="dualProcess orID">

How can I search against the hidden values to generate a list of items from
my array?

eg
cpuBrandID = 2
dualCoreID = Y
dualProcessorID = N

will populate the page with the following processors from the array:
Pentium D 820
Pentium D 830
Pentium D 840

Many Thanks

Craig
Jul 23 '05 #1
10 2710
"Craig Keightley" <do**@spam.me > wrote in message
news:42******** *************** @news-text.dial.pipex .com...
I have the following array:
function showCPUs(){
//name brandID dualCore dualProcessor
var cpuItem=['Pentium 4 HT Northwood','2', 'N','N'];
var cpuItem=['Pentium D 820','2','Y','N '];
var cpuItem=['Pentium D 830','2','Y','N '];
var cpuItem=['Pentium D 840','2','Y','N '];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon Dempsey','2','N ','Y'];
var cpuItem=['Athlon 64 3000','1','N',' N'];
var cpuItem=['Athlon 64 3200','1','N',' N'];
var cpuItem=['Athlon 64 3500','1','N',' N'];
var cpuItem=['Athlon 64 4000','1','N',' N'];
var cpuItem=['Athlon 64 X2 4200','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4400','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4600','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4800','1','Y',' N'];
var cpuItem=['Opteron 242','1','N','Y '];
var cpuItem=['Opteron 244','1','N','Y '];
var cpuItem=['Opteron 246','1','N','Y '];
var cpuItem=['Opteron 252','1','Y','Y '];
}
</script>

and the following hidden fields that are set by drop down menus
<input name="cpuBrandI D" type="text" id="cpuBrandID" >
<input name="dualCoreI D" type="text" id="dualCoreID" >
<input name="dualProce ssorID" type="text" id="dualProcess orID">

How can I search against the hidden values to generate a list of items from my array?

eg
cpuBrandID = 2
dualCoreID = Y
dualProcessorID = N

will populate the page with the following processors from the array:
Pentium D 820
Pentium D 830
Pentium D 840

Many Thanks

Craig


1) "var cpuItem" is declared multiple times.

2) "type=text" is not a hidden field.
Is this what you're looking for? Watch for word-wrap.

<html>
<head>
<title>cpuItem. htm</title>
<script type="text/javascript">
var s = 0;
var cpuItem = new Array();
cpuItem[s++] = ['cpuName','cpuB rand','dualCore ','dualProcesso r'];
cpuItem[s++] = ['Pentium 4 HT Northwood','2', 'N','N'];
cpuItem[s++] = ['Pentium D 820','2','Y','N '];
cpuItem[s++] = ['Pentium D 830','2','Y','N '];
cpuItem[s++] = ['Pentium D 840','2','Y','N '];
cpuItem[s++] = ['Xeon','2','N', 'Y'];
cpuItem[s++] = ['Xeon','2','N', 'Y'];
cpuItem[s++] = ['Xeon','2','N', 'Y'];
cpuItem[s++] = ['Xeon Dempsey','2','N ','Y'];
cpuItem[s++] = ['Athlon 64 3000','1','N',' N'];
cpuItem[s++] = ['Athlon 64 3200','1','N',' N'];
cpuItem[s++] = ['Athlon 64 3500','1','N',' N'];
cpuItem[s++] = ['Athlon 64 4000','1','N',' N'];
cpuItem[s++] = ['Athlon 64 X2 4200','1','Y',' N'];
cpuItem[s++] = ['Athlon 64 X2 4400','1','Y',' N'];
cpuItem[s++] = ['Athlon 64 X2 4600','1','Y',' N'];
cpuItem[s++] = ['Athlon 64 X2 4800','1','Y',' N'];
cpuItem[s++] = ['Opteron 242','1','N','Y '];
cpuItem[s++] = ['Opteron 244','1','N','Y '];
cpuItem[s++] = ['Opteron 246','1','N','Y '];
cpuItem[s++] = ['Opteron 252','1','Y','Y '];
function showCPUs() {
var form = document.form1;
form.cpuName.va lue = "";
form.dualCore.v alue = form.dualCore.v alue.toUpperCas e();
form.dualProces sor.value = form.dualProces sor.value.toUpp erCase();
//
if (form.cpuBrand. value == "") return;
if ("12".indexOf(f orm.cpuBrand.va lue) < 0) {
alert("Invalid CPU Brand!");
return;
}
if (form.dualCore. value == "") return;
if ("YN".indexOf(f orm.dualCore.va lue) < 0) {
alert("Invalid Dual Core!");
return;
}
if (form.dualProce ssor.value == "") return;
if ("YN".indexOf(f orm.dualProcess or.value) < 0) {
alert("Invalid Dual Processor!");
return;
}
//
var item = ""
for (var i=1; i<cpuItem.lengt h; i++) {
if (form.cpuBrand. value == cpuItem[i][1]) {
if (form.dualCore. value == cpuItem[i][2]) {
if (form.dualProce ssor.value == cpuItem[i][3]) {
if (item != "") item += "\n";
item += cpuItem[i][0];
}
}
}
}
form.cpuName.va lue = item;
}
</script>
</head>
<body onload="documen t.form1.cpuBran d.focus()">
<form action="" method="get" name="form1">
<b> CPU Brand : </b>
<input type="text" name="cpuBrand"
size="1" maxlength="1" onchange="showC PUs()">
<br>
<b> Dual Core (Y/N) : </b>
<input type="text" name="dualCore"
size="1" maxlength="1" onchange="showC PUs()">
<br>
<b> Dual Processor (Y/N) : </b>
<input type="text" name="dualProce ssor"
size="1" maxlength="1" onchange="showC PUs()">
<br><br>
<b> CPU Name(s) :</b>
<br><textarea name="cpuName" cols="30" rows="10"
readonly style="backgrou nd-color:lightyell ow"></textarea>
<br>
<br><input type="reset" value="Clear"
onclick="docume nt.form1.cpuBra nd.focus()">
</form>
</body>
</html>

Jul 23 '05 #2
After a tweak, I now have the following array:

var cpuItem = new Array(
['Pentium 4 HT Northwood','2', 'N','N','10.00' ,'p4.jpg'],
['Pentium D 820','2','Y','N ','10.00','pd.j pg'],
['Pentium D 830','2','Y','N ','20.00','pd.j pg'],
['Pentium D 840','2','Y','N ','40.00','pd.j pg'],
['Xeon','2','N', 'Y','50.00','xe on.jpg'],
['Xeon','2','N', 'Y','60.00','xe on.jpg'],
['Xeon','2','N', 'Y','70.00','xe on.jpg'],
['Xeon Dempsey','2','N ','Y','140.00', 'xeon.jpg'],
['Athlon 64 3000','1','N',' N','0.00','a64. jpg'],
['Athlon 64 3200','1','N',' N','5.00','a64. jpg'],
['Athlon 64 3500','1','N',' N','15.00','a64 .jpg'],
['Athlon 64 4000','1','N',' N','25.00','a64 .jpg'],
['Athlon 64 X2 4200','1','Y',' N','35.00','a64 X2.jpg'],
['Athlon 64 X2 4400','1','Y',' N','40.00','a64 X2.jpg'],
['Athlon 64 X2 4600','1','Y',' N','60.00','a64 X2.jpg'],
['Athlon 64 X2 4800','1','Y',' N','70.00','a64 X2.jpg'],
['Opteron 242','1','N','Y ','20.00','opte ron.jpg'],
['Opteron 244','1','N','Y ','30.00','opte ron.jpg'],
['Opteron 246','1','N','Y ','45.00','opte ron.jpg'],
['Opteron 252','1','Y','Y ','120.00','opt eron.jpg']
);

is searching an array possible?
"Craig Keightley" <do**@spam.me > wrote in message
news:42******** *************** @news-text.dial.pipex .com...
I have the following array:
function showCPUs(){
//name brandID dualCore dualProcessor
var cpuItem=['Pentium 4 HT Northwood','2', 'N','N'];
var cpuItem=['Pentium D 820','2','Y','N '];
var cpuItem=['Pentium D 830','2','Y','N '];
var cpuItem=['Pentium D 840','2','Y','N '];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon Dempsey','2','N ','Y'];
var cpuItem=['Athlon 64 3000','1','N',' N'];
var cpuItem=['Athlon 64 3200','1','N',' N'];
var cpuItem=['Athlon 64 3500','1','N',' N'];
var cpuItem=['Athlon 64 4000','1','N',' N'];
var cpuItem=['Athlon 64 X2 4200','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4400','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4600','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4800','1','Y',' N'];
var cpuItem=['Opteron 242','1','N','Y '];
var cpuItem=['Opteron 244','1','N','Y '];
var cpuItem=['Opteron 246','1','N','Y '];
var cpuItem=['Opteron 252','1','Y','Y '];
}
</script>

and the following hidden fields that are set by drop down menus
<input name="cpuBrandI D" type="text" id="cpuBrandID" >
<input name="dualCoreI D" type="text" id="dualCoreID" >
<input name="dualProce ssorID" type="text" id="dualProcess orID">

How can I search against the hidden values to generate a list of items
from my array?

eg
cpuBrandID = 2
dualCoreID = Y
dualProcessorID = N

will populate the page with the following processors from the array:
Pentium D 820
Pentium D 830
Pentium D 840

Many Thanks

Craig

Jul 23 '05 #3
Thank you thats what i need
I forgot to rewrite the text values to hidden as it was from my web page to
display my values

many thanks

Craig
"McKirahan" <Ne**@McKirahan .com> wrote in message
news:fI******** ************@co mcast.com...
"Craig Keightley" <do**@spam.me > wrote in message
news:42******** *************** @news-text.dial.pipex .com...
I have the following array:
function showCPUs(){
//name brandID dualCore dualProcessor
var cpuItem=['Pentium 4 HT Northwood','2', 'N','N'];
var cpuItem=['Pentium D 820','2','Y','N '];
var cpuItem=['Pentium D 830','2','Y','N '];
var cpuItem=['Pentium D 840','2','Y','N '];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon','2','N', 'Y'];
var cpuItem=['Xeon Dempsey','2','N ','Y'];
var cpuItem=['Athlon 64 3000','1','N',' N'];
var cpuItem=['Athlon 64 3200','1','N',' N'];
var cpuItem=['Athlon 64 3500','1','N',' N'];
var cpuItem=['Athlon 64 4000','1','N',' N'];
var cpuItem=['Athlon 64 X2 4200','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4400','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4600','1','Y',' N'];
var cpuItem=['Athlon 64 X2 4800','1','Y',' N'];
var cpuItem=['Opteron 242','1','N','Y '];
var cpuItem=['Opteron 244','1','N','Y '];
var cpuItem=['Opteron 246','1','N','Y '];
var cpuItem=['Opteron 252','1','Y','Y '];
}
</script>

and the following hidden fields that are set by drop down menus
<input name="cpuBrandI D" type="text" id="cpuBrandID" >
<input name="dualCoreI D" type="text" id="dualCoreID" >
<input name="dualProce ssorID" type="text" id="dualProcess orID">

How can I search against the hidden values to generate a list of items

from
my array?

eg
cpuBrandID = 2
dualCoreID = Y
dualProcessorID = N

will populate the page with the following processors from the array:
Pentium D 820
Pentium D 830
Pentium D 840

Many Thanks

Craig


1) "var cpuItem" is declared multiple times.

2) "type=text" is not a hidden field.
Is this what you're looking for? Watch for word-wrap.

<html>
<head>
<title>cpuItem. htm</title>
<script type="text/javascript">
var s = 0;
var cpuItem = new Array();
cpuItem[s++] = ['cpuName','cpuB rand','dualCore ','dualProcesso r'];
cpuItem[s++] = ['Pentium 4 HT Northwood','2', 'N','N'];
cpuItem[s++] = ['Pentium D 820','2','Y','N '];
cpuItem[s++] = ['Pentium D 830','2','Y','N '];
cpuItem[s++] = ['Pentium D 840','2','Y','N '];
cpuItem[s++] = ['Xeon','2','N', 'Y'];
cpuItem[s++] = ['Xeon','2','N', 'Y'];
cpuItem[s++] = ['Xeon','2','N', 'Y'];
cpuItem[s++] = ['Xeon Dempsey','2','N ','Y'];
cpuItem[s++] = ['Athlon 64 3000','1','N',' N'];
cpuItem[s++] = ['Athlon 64 3200','1','N',' N'];
cpuItem[s++] = ['Athlon 64 3500','1','N',' N'];
cpuItem[s++] = ['Athlon 64 4000','1','N',' N'];
cpuItem[s++] = ['Athlon 64 X2 4200','1','Y',' N'];
cpuItem[s++] = ['Athlon 64 X2 4400','1','Y',' N'];
cpuItem[s++] = ['Athlon 64 X2 4600','1','Y',' N'];
cpuItem[s++] = ['Athlon 64 X2 4800','1','Y',' N'];
cpuItem[s++] = ['Opteron 242','1','N','Y '];
cpuItem[s++] = ['Opteron 244','1','N','Y '];
cpuItem[s++] = ['Opteron 246','1','N','Y '];
cpuItem[s++] = ['Opteron 252','1','Y','Y '];
function showCPUs() {
var form = document.form1;
form.cpuName.va lue = "";
form.dualCore.v alue = form.dualCore.v alue.toUpperCas e();
form.dualProces sor.value = form.dualProces sor.value.toUpp erCase();
//
if (form.cpuBrand. value == "") return;
if ("12".indexOf(f orm.cpuBrand.va lue) < 0) {
alert("Invalid CPU Brand!");
return;
}
if (form.dualCore. value == "") return;
if ("YN".indexOf(f orm.dualCore.va lue) < 0) {
alert("Invalid Dual Core!");
return;
}
if (form.dualProce ssor.value == "") return;
if ("YN".indexOf(f orm.dualProcess or.value) < 0) {
alert("Invalid Dual Processor!");
return;
}
//
var item = ""
for (var i=1; i<cpuItem.lengt h; i++) {
if (form.cpuBrand. value == cpuItem[i][1]) {
if (form.dualCore. value == cpuItem[i][2]) {
if (form.dualProce ssor.value == cpuItem[i][3]) {
if (item != "") item += "\n";
item += cpuItem[i][0];
}
}
}
}
form.cpuName.va lue = item;
}
</script>
</head>
<body onload="documen t.form1.cpuBran d.focus()">
<form action="" method="get" name="form1">
<b> CPU Brand : </b>
<input type="text" name="cpuBrand"
size="1" maxlength="1" onchange="showC PUs()">
<br>
<b> Dual Core (Y/N) : </b>
<input type="text" name="dualCore"
size="1" maxlength="1" onchange="showC PUs()">
<br>
<b> Dual Processor (Y/N) : </b>
<input type="text" name="dualProce ssor"
size="1" maxlength="1" onchange="showC PUs()">
<br><br>
<b> CPU Name(s) :</b>
<br><textarea name="cpuName" cols="30" rows="10"
readonly style="backgrou nd-color:lightyell ow"></textarea>
<br>
<br><input type="reset" value="Clear"
onclick="docume nt.form1.cpuBra nd.focus()">
</form>
</body>
</html>

Jul 23 '05 #4
"Craig Keightley" <do**@spam.me > wrote in message
news:42******** *************** @news-text.dial.pipex .com...
Thank you thats what i need
I forgot to rewrite the text values to hidden as it was from my web page to display my values

many thanks

Craig


[snip]

Your welcome.

BTW, in my code
<form action="" method="get" name="form1">
can be changed to
<form name="form1">
as the form is never submitted.

Of course, you'll have something else.
Jul 23 '05 #5
Craig Keightley wrote:
After a tweak, I now have the following array:

var cpuItem = new Array(
['Pentium 4 HT Northwood','2', 'N','N','10.00' ,'p4.jpg'],
['Pentium D 820','2','Y','N ','10.00','pd.j pg'],
['Pentium D 830','2','Y','N ','20.00','pd.j pg'],
['Pentium D 840','2','Y','N ','40.00','pd.j pg'], ... );

is searching an array possible?


Yes it is.

Loop through cpuItem, then loop through each individual array.
But what do you want to acheive? All instances of the search term?
And what if the search term is "Pentium" or "penteum"(spell ing)? I would
create a separate entry for the model ("Pentium", for instance) and
model designation ("4 HT Northwood")

http://www.mickweb.com/javascript/fo...es/lookup.html

Written some time ago, today I would use a database for this type of search.
Mick


Mick

Jul 23 '05 #6
"McKirahan" <Ne**@McKirahan .com> writes:
BTW, in my code
<form action="" method="get" name="form1">
can be changed to
<form name="form1">
as the form is never submitted.


Not while remaining valid HTML. The "action" attribute is required
on form elements.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 23 '05 #7
"Craig Keightley" <do**@spam.me > writes:
After a tweak, I now have the following array:

var cpuItem = new Array(
['Pentium 4 HT Northwood','2', 'N','N','10.00' ,'p4.jpg'],
['Pentium D 820','2','Y','N ','10.00','pd.j pg'],
['Pentium D 830','2','Y','N ','20.00','pd.j pg'], .... ['Opteron 246','1','N','Y ','45.00','opte ron.jpg'],
['Opteron 252','1','Y','Y ','120.00','opt eron.jpg']
);

is searching an array possible?


Sure. Run through the array one element at a time.
However, it might not be the smartest way to do it. If you
always want to search for the name, i.e., the first element
of the array, you might just use that as a property of an
object instead:

var cpuItem = {
'Pentium 4 HT Northwood' : ['2','N','N','10 .00','p4.jpg'],
'Pentium D 820' : ['2','Y','N','10 .00','pd.jpg'],
'Pentium D 830' : ['2','Y','N','20 .00','pd.jpg'],
....
'Opteron 246' : ['1','N','Y','45 .00','opteron.j pg'],
'Opteron 252' : ['1','Y','Y','12 0.00','opteron. jpg']
}

function findCpuData(nam e) {
return cpuItem[name];
}

/L 'and please don't top post'
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 23 '05 #8
Thanks for all the feedback.
I now have a new problem, getting the page to work in firefox. Here is my
page (feel free to rip it apart, i'm still new to js)

http://rackage.sitedesign.net/dedicatedservers.php
"Lasse Reichstein Nielsen" <lr*@hotpop.com > wrote in message
news:1x******** **@hotpop.com.. .
"McKirahan" <Ne**@McKirahan .com> writes:
BTW, in my code
<form action="" method="get" name="form1">
can be changed to
<form name="form1">
as the form is never submitted.


Not while remaining valid HTML. The "action" attribute is required
on form elements.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors:
<URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'

Jul 23 '05 #9
"Craig Keightley" <do**@spam.me > wrote in message
news:42******** *************** @news-text.dial.pipex .com...
Thanks for all the feedback.
I now have a new problem, getting the page to work in firefox. Here is my
page (feel free to rip it apart, i'm still new to js)

http://rackage.sitedesign.net/dedicatedservers.php

What doesn't work in Firefox?
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
5757
by: Phil Powell | last post by:
The table already has a fulltext index and from there I can use the MySQL fulltext search query to get results as well as the relevancy score. The problem I have is that MySQL has a default setting whereby the minimum amount of characters is 4 for a search. Being that we're government and full of TLA (three-letter acronyms), that is not...
3
12640
by: Angelos | last post by:
Hello there, I am trying to write a script that will create dynamically a menu from MySQL database. The database table is a product categories table and it has the folowing filed: category_id, parent_category_id, category_name (some other fileds are there as well but these are enough to figure out the logic) I know that I have to store...
7
248443
by: Dave | last post by:
I have 2 tables, one with names, and another with addresses, joined by their CIVICID number (unique to the ADDRESSINFO table) in Oracle. I need to update a field in the NAMEINFO table for a particular surname in a particular town. I can select the records fine with this syntax (testing in Oracle SQL* Plus) SELECT NAMEINFO.LASTNAME,...
2
1074
by: Craig Keightley | last post by:
I have 3 drop down menus: brandID (values 1 - n) dualProcessor (Y, N) dual Core (Y,N) And the following table of values: Name Brand dualProcessor DualCore item1 1 Y Y
2
1967
by: Richard Cornford | last post by:
Anyone who has taken a look at the online FAQ today may have noticed that I have updated it. The majority of the changes are the updating of broken links and the implementation of that extensive suggestions for re-wording provided by Michael Winter. Other changes are listed below. Fore those interested, a zipped snapshot of the entire FAQ...
1
1394
by: dibblm | last post by:
I have a text file being created and need the values from the array that gets created to populate my text file. I am new and not very good. Kinda borrowing bits and pieces from here and there, so if my code is a mess (Which it is ) don't be alarmed. Myfile is the array that gets populated and I need it's results returned to the text file . ...
8
5340
by: =?Utf-8?B?R3JlZyBMYXJzZW4=?= | last post by:
I'm trying to figure out how to modify a panel (panel1) from a backgroundworker thread. But can't get the panel to show the new controls added by the backgroundwork task. Here is my code. In this code there is a panel panel1, that I populate with a lable in the foreground. Then when I click on "button1" a backgroundworker thread in async...
5
2071
by: Desmond Shek | last post by:
Hi, I am new to this DB caper and am really struggling. I have a form called customers with a subform called property search. The subform (a continuous form) allows users to search the table 'property' using multiple criteria (postcode, house num etc) and returns a set of matching results. I want to be able automatically populate the a...
2
2620
by: sirdavethebrave | last post by:
Hi guys - I have written a form, and a stored procedure to update the said form. It really is as simple as that. A user can go into the form, update some fields and hit the update button to update the information which is stored in a SQL database. In testing we noticed that the form was updating correctly but the update mechanism was also...
0
7457
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7391
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7746
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5962
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4941
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3438
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1869
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1010
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
693
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.