473,594 Members | 2,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Fine-tune/improve Parametized query in asp?

I am trying to improve the robustness and elegance of my parametized sql
statements in ASP 3.0 as they get passed to the sql server SP.

Could anyone tell me if there are weaknessess in the way I have written the
following code? I have included both the asp code and the sql stored
proceducre to tie things togoether....I appreciate any advice on this. It
basically is a application to manage static news stories on our site by
tracking and organising the meta data in a table.

Many thanks for you comments.
ASP PARAMERT QUERY
----------------------------
If oRS.eof then
'// SAFE TO INSERT STORY....

CREATE Procedure spr_AddStory

oCmd.Parameters .append oCmd.CreatePara meter("StoryTit le", adVarChar,
adParamInput,10 0,pStoryTitle)
oCmd.Parameters .append oCmd.CreatePara meter("StoryURL ", adVarChar,
adParamInput,15 0,pStoryURL)
oCmd.Parameters .append oCmd.CreatePara meter("StoryBlu rb", adVarChar,
adParamInput,12 00, PStoryURL)
oCmd.Parameters .append oCmd.CreatePara meter("StoryBro kerID int", adInteger,
adParamInput,4, pStoryBrokerID)
oCmd.Parameters .append oCmd.CreatePara meter("StoryCom panyID int", adInteger,
adParamInput,4, pStoryCompanyID )
oCmd.Parameters .append oCmd.CreatePara meter("StoryCat egoryID int",
adInteger, adParamInput,4, pStoryCategoryI D)
oCmd.Parameters .append oCmd.CreatePara meter("StoryDep tID int", adInteger,
adParamInput,4, pStoryDeptID)
oCmd.Parameters .append oCmd.CreatePara meter("StoryKey word1", adVarChar,
adParamInput,50 ,pStoryKeyword1 )
oCmd.Parameters .append oCmd.CreatePara meter("StoryKey word2", adVarChar,
adParamInput,50 ,pStoryKeyword2 )
oCmd.Parameters .append oCmd.CreatePara meter("StoryKey word3", adVarChar,
adParamInput,50 ,pStoryKeyword3 )
oCmd.Parameters .append oCmd.CreatePara meter("RelatedU RL1", adVarChar,
adParamInput,15 0,pRelatedURUL1 )
oCmd.Parameters .append oCmd.CreatePara meter("RelatedU RL2", adVarChar,
adParamInput,15 0,pRelatedURUL1 )
oCmd.Parameters .append oCmd.CreatePara meter("RelatedU RL3", adVarChar,
adParamInput,15 0,pRelatedURUL1 )
oCmd.Parameters .append oCmd.CreatePara meter("StoryDat e datetime,
oCmd.Parameters .append oCmd.CreatePara meter("StoryIma geURL", adVarChar,
adParamInput,15 0,pStoryImageUR L)
oCmd.Parameters .append oCmd.CreatePara meter("StoryBLN int", adInteger,
adParamInput,4, pStoryBLN)

set oReturn = oCmd.CreatePara meter("u_id", adInteger, adParamOutput)
oCmd.Parameters .append oReturn
oCmd.execute()
'//RESULT...
if oReturn.value=-1 then
Response.write "FAILURE: Insert statement could not be carried out"
response.end

else

Response.write "SUCCESS: Insert statement was successfull"
End if
SQL SERVER STORED PROCEDURE
-------------------------------------------
CREATE Procedure spr_AddStory

@StoryTitle varchar(100),
@StoryURL varchar(150),
@StoryBlurb varchar(1200),
@StoryBrokerID int,
@StoryCompanyID int,
@StoryCategoryI D int,
@StoryDeptID int,
@StoryKeyword1 varchar(50),
@StoryKeyword2 varchar(50),
@StoryKeyword3 varchar(50),
@RelatedURL1 varchar(150),
@RelatedURL2 varchar(150),
@RelatedURL3 varchar(150),
@StoryDate datetime,
@StoryImageURL varchar(150),
@StoryBLN int
AS

INSERT INTO Story (StoryTitle, StoryURL, StoryBlurb, StoryBrokerID
,
StoryCompanyID, StoryCategoryID , StoryDeptID, StoryKeyword1, StoryKeyword2,
StoryKeyword3, RelatedURL1, RelatedURL2, RelatedURL3, StoryDate,
StoryImageURL, StoryBLN)
VALUES
(@StoryTitle,@S toryURL,@StoryB lurb,@StoryBrok erID,@StoryComp anyID,@StoryCat egoryID,@StoryD eptID,@StoryKey word1,@StoryKey word2,@StoryKey word3,
@RelatedURL1,@R elatedURL2,@Rel atedURL3,@Story Date,@StoryImag eURL,@StoryBLN)

GO
Jul 22 '05 #1
10 2053
ja***@catamaran co.com wrote:
I am trying to improve the robustness and elegance of my parametized
sql statements in ASP 3.0 as they get passed to the sql server SP.

Could anyone tell me if there are weaknessess in the way I have
written the following code?
Perhaps it would help if you tell us what problem you're trying to solve.
Since you need to read the value of the return parameter, this is the most
efficient way to execute your procedure.

A less efficient way, which is never recommended, is to use
cmd.Parameters. Refresh
instead of building the Parameters collection yourself. But since this
requires an extra trip to the database, it is not something you want to do.
I have included both the asp code and the sql stored
proceducre to tie things togoether....I appreciate any advice on
this. It basically is a application to manage static news stories on our
site
by tracking and organising the meta data in a table.

Many thanks for you comments.
ASP PARAMERT QUERY
----------------------------
If oRS.eof then
'// SAFE TO INSERT STORY....

CREATE Procedure spr_AddStory
? Is this a copy/paste error?

<snip> set oReturn = oCmd.CreatePara meter("u_id", adInteger, adParamOutput)
oCmd.Parameters .append oReturn


The Return parameter needs to be the FIRST parameter appended to the
Parameters collection. And the direction constant should be
adParamReturnVa lue, not adParamOutput. Output parameters are different from
Return parameters. Read this to see the difference:
http://groups-beta.google.com/group/...935bd7c531d82b
I'm not clear about why you need to read the Return parameter value. If
there is an error during the insert, it will be passed back to the
Connection object which will raise a vbscript error. Without the requirement
to read the return parameter value, your procedure can be executed more
simply (and efficiently) by:

on error resume next
conn.spr_AddSto ry,pStoryTitle, ..., pStoryBLN
if err<>0 and conn.errors.cou nt=0 then
'success
else
'failure
end if

See http://tinyurl.com/jyy0

HTH,
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #2
Wow, Bob...I have other questions relating to your last thread but for the
moment I just want to focus on this app of yours:

http://www.thrasherwebdesign.com/ind...asp&c=&a=clear

Whoa...that is cool!

This is what it spat out for me (See below)...but... I still trying to figure
out whether or not to use either a:

1. Return value
2. Output value

I bascially just want to confirm that the insert statement is done correctly
and possibly return the unique identifier...wh ich is the correct route?
Dim cmd, param

Set cmd=server.Crea teObject("ADODB .Command")
With cmd
.CommandType=ad cmdstoredproc
.CommandText = "spr_AddSto ry"
set .ActiveConnecti on=cnSQL
set param = .createparamete r("@RETURN_VALU E", adInteger,
adParamReturnVa lue, 0)
.parameters.app end param
set param = .createparamete r("@StoryTitle" , adVarChar, adParamInput, 100,
[put value here])
.parameters.app end param
set param = .createparamete r("@StoryURL" , adVarChar, adParamInput, 150,
[put value here])
.parameters.app end param
set param = .createparamete r("@StoryBlurb" , adVarChar, adParamInput, 1200,
[put value here])
.parameters.app end param
set param = .createparamete r("@StoryBroker ID", adInteger, adParamInput, 0,
[put value here])
.parameters.app end param
set param = .createparamete r("@StoryCompan yID", adInteger, adParamInput,
0, [put value here])
.parameters.app end param
set param = .createparamete r("@StoryCatego ryID", adInteger, adParamInput,
0, [put value here])
.parameters.app end param
set param = .createparamete r("@StoryDeptID ", adInteger, adParamInput, 0,
[put value here])
.parameters.app end param
set param = .createparamete r("@StoryKeywor d1", adVarChar, adParamInput,
50, [put value here])
.parameters.app end param
set param = .createparamete r("@StoryKeywor d2", adVarChar, adParamInput,
50, [put value here])
.parameters.app end param
set param = .createparamete r("@StoryKeywor d3", adVarChar, adParamInput,
50, [put value here])
.parameters.app end param
set param = .createparamete r("@RelatedURL1 ", adVarChar, adParamInput, 150,
[put value here])
.parameters.app end param
set param = .createparamete r("@RelatedURL2 ", adVarChar, adParamInput, 150,
[put value here])
.parameters.app end param
set param = .createparamete r("@RelatedURL3 ", adVarChar, adParamInput, 150,
[put value here])
.parameters.app end param
set param = .createparamete r("@StoryDate ", adDBTimeStamp, adParamInput, 0,
[put value here])
.parameters.app end param
set param = .createparamete r("@StoryImageU RL", adVarChar, adParamInput,
150, [put value here])
.parameters.app end param
set param = .createparamete r("@StoryBLN" , adInteger, adParamInput, 0, [put
value here])
.parameters.app end param
.execute ,,adexecutenore cords
end with
Jul 22 '05 #3
ja***@catamaran co.com wrote:
Wow, Bob...I have other questions relating to your last thread but
for the moment I just want to focus on this app of yours:

http://www.thrasherwebdesign.com/ind...asp&c=&a=clear

Whoa...that is cool!

Thanks. You have the source code so you can customize it if you don't like
the names I used for the variables, etc.
This is what it spat out for me (See below)...but... I still trying to
figure out whether or not to use either a:

1. Return value
2. Output value

I bascially just want to confirm that the insert statement is done
correctly and possibly return the unique identifier...wh ich is the
correct route?


I did not see where you were returning a unique identifier in your original
procedure. Are you planning to rewrite the procedure? Are you asking for
help with that?

Because the value being returned is data, rather than a status or error
code, I would use an output parameter. Some would recommend returning it via
a SELECT statement, but I'm a little biased against using a recordset when I
have no need for cursor functionality.

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #4
Bob Barrows [MVP] wrote:
on error resume next
conn.spr_AddSto ry,pStoryTitle, ..., pStoryBLN


Well that's just wrong. it should say:

conn.spr_AddSto ry pStoryTitle, ..., pStoryBLN

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #5

conn.spr_AddSto ry pStoryTitle, ..., pStoryBLN


Ok. I have revamped my original code to include your comments and direction.
However, I am picking up the following error:

ADODB.Command (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.
/catamaranco/story/Process.asp, line 63

....which refers to this line: .CommandType=ad cmdstoredproc

'// INCOMING FORM ITEMS
'-----------------------

pStoryTitle = "My First Story"
pStoryURL = "http://www.catamarans. com/newsletter/staley/2005/07/"
pStoryBlurb = http://www.catamarans.com/newsletter/staley/2005/07/
pStoryBrokerID = "After a year of searching, Lei Ellen and Paul Beck found
their dreamboat. The Becks' new yacht is a beautiful '02 Voyage 440."
pStoryCompanyID = 1
pStoryCategoryI D = 1
pStoryDeptID = 1
pStoryKeyword1 = "Norseman"
pStoryKeyword2 = "43"
pStoryKeyword3 = "Sailing"
pStoryDate = "#05/23/2005#"
pStoryImageURL = "http://www.catamarans. com/images/SWCUA.jpg"
pStoryBLN = 1
PStoryModel="La goon"
pStorySize="60"
pYear ="1999"


'//INSERT FORM VARIABLES...
'--------------------------
Dim cmd, param

Set cmd=server.Crea teObject("ADODB .Command")

With cmd
.CommandType=ad cmdstoredproc '//Line 63
.CommandText = "spr_AddSto ry"

Set GetConnection = "driver={SQ L
Server};server= _.maximumasp.co m;DB=_pw;UID=V0 32U10DUW;PWD=_p w"

set .ActiveConnecti on=cnSQL
set param = .createparamete r("@RETURN_VALU E", adInteger, adParamOutput, 0)
.parameters.app end param
set param = .createparamete r("@StoryTitle" , adVarChar, adParamInput, 100,
pStoryTitle)
.parameters.app end param
set param = .createparamete r("@StoryURL" , adVarChar, adParamInput, 150,
pStoryURL)
.parameters.app end param
set param = .createparamete r("@StoryBlurb" , adVarChar, adParamInput, 1200,
pStoryBlurb)
.parameters.app end param
set param = .createparamete r("@StoryBroker ID", adInteger, adParamInput, 0,
pStoryBrokerID)
.parameters.app end param
set param = .createparamete r("@StoryCompan yID", adInteger, adParamInput,
0, pStoryCompanyID )
.parameters.app end param
set param = .createparamete r("@StoryCatego ryID", adInteger, adParamInput,
0, pStoryCategoryI D)
.parameters.app end param
set param = .createparamete r("@StoryDeptID ", adInteger, adParamInput, 0,
pStoryDeptID)
.parameters.app end param
set param = .createparamete r("@StoryKeywor d1", adVarChar, adParamInput,
50, pStoryKeyword1)
.parameters.app end param
set param = .createparamete r("@StoryKeywor d2", adVarChar, adParamInput,
50, pStoryKeyword2)
.parameters.app end param
set param = .createparamete r("@StoryKeywor d3", adVarChar, adParamInput,
50, pStoryKeyword3)
.parameters.app end param
set param = .createparamete r("@StoryModel" , adVarChar, adParamInput, 150,
pStoryModel)
.parameters.app end param
set param = .createparamete r("@StorySize ", adVarChar, adParamInput, 10,
pStorySize)
.parameters.app end param
set param = .createparamete r("@StoryYear ", adVarChar, adParamInput, 10,
pStoryYear)
.parameters.app end param
set param = .createparamete r("@StoryDate ", adDBTimeStamp, adParamInput, 0,
pStoryDate)
.parameters.app end param
set param = .createparamete r("@StoryImageU RL", adVarChar, adParamInput,
150, pStoryImageURL)
.parameters.app end param
set param = .createparamete r("@StoryBLN" , adInteger, adParamInput, 0,
pStoryBLN)
.parameters.app end param
.execute ,,adexecutenore cords
end with

on error resume next
conn.spr_AddSto ry
StoryTitle,Stor yURL,StoryBlurb ,StoryBrokerID, StoryCompanyID, StoryCategoryID ,StoryDeptID,St oryKeyword1,Sto ryKeyword2,Stor yKeyword3,Story Date,StoryImage URL,StoryBLN,St oryModel,StoryS ize,StoryYear
if err<>0 and conn.errors.cou nt=0 then
response.write "success"
else
response.write "failure"
end if
Jul 22 '05 #6
Where do you define adcmdstoredproc ?

http://www.aspfaq.com/2112
<ja***@catamara nco.com> wrote in message
news:%2******** **********@TK2M SFTNGP14.phx.gb l...

conn.spr_AddSto ry pStoryTitle, ..., pStoryBLN


Ok. I have revamped my original code to include your comments and
direction. However, I am picking up the following error:

ADODB.Command (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.
/catamaranco/story/Process.asp, line 63

...which refers to this line: .CommandType=ad cmdstoredproc

'// INCOMING FORM ITEMS
'-----------------------

pStoryTitle = "My First Story"
pStoryURL = "http://www.catamarans. com/newsletter/staley/2005/07/"
pStoryBlurb = http://www.catamarans.com/newsletter/staley/2005/07/
pStoryBrokerID = "After a year of searching, Lei Ellen and Paul Beck found
their dreamboat. The Becks' new yacht is a beautiful '02 Voyage 440."
pStoryCompanyID = 1
pStoryCategoryI D = 1
pStoryDeptID = 1
pStoryKeyword1 = "Norseman"
pStoryKeyword2 = "43"
pStoryKeyword3 = "Sailing"
pStoryDate = "#05/23/2005#"
pStoryImageURL = "http://www.catamarans. com/images/SWCUA.jpg"
pStoryBLN = 1
PStoryModel="La goon"
pStorySize="60"
pYear ="1999"


'//INSERT FORM VARIABLES...
'--------------------------
Dim cmd, param

Set cmd=server.Crea teObject("ADODB .Command")

With cmd
.CommandType=ad cmdstoredproc '//Line 63
.CommandText = "spr_AddSto ry"

Set GetConnection = "driver={SQ L
Server};server= _.maximumasp.co m;DB=_pw;UID=V0 32U10DUW;PWD=_p w"

set .ActiveConnecti on=cnSQL
set param = .createparamete r("@RETURN_VALU E", adInteger, adParamOutput, 0)
.parameters.app end param
set param = .createparamete r("@StoryTitle" , adVarChar, adParamInput, 100,
pStoryTitle)
.parameters.app end param
set param = .createparamete r("@StoryURL" , adVarChar, adParamInput, 150,
pStoryURL)
.parameters.app end param
set param = .createparamete r("@StoryBlurb" , adVarChar, adParamInput,
1200, pStoryBlurb)
.parameters.app end param
set param = .createparamete r("@StoryBroker ID", adInteger, adParamInput,
0, pStoryBrokerID)
.parameters.app end param
set param = .createparamete r("@StoryCompan yID", adInteger, adParamInput,
0, pStoryCompanyID )
.parameters.app end param
set param = .createparamete r("@StoryCatego ryID", adInteger, adParamInput,
0, pStoryCategoryI D)
.parameters.app end param
set param = .createparamete r("@StoryDeptID ", adInteger, adParamInput, 0,
pStoryDeptID)
.parameters.app end param
set param = .createparamete r("@StoryKeywor d1", adVarChar, adParamInput,
50, pStoryKeyword1)
.parameters.app end param
set param = .createparamete r("@StoryKeywor d2", adVarChar, adParamInput,
50, pStoryKeyword2)
.parameters.app end param
set param = .createparamete r("@StoryKeywor d3", adVarChar, adParamInput,
50, pStoryKeyword3)
.parameters.app end param
set param = .createparamete r("@StoryModel" , adVarChar, adParamInput, 150,
pStoryModel)
.parameters.app end param
set param = .createparamete r("@StorySize ", adVarChar, adParamInput, 10,
pStorySize)
.parameters.app end param
set param = .createparamete r("@StoryYear ", adVarChar, adParamInput, 10,
pStoryYear)
.parameters.app end param
set param = .createparamete r("@StoryDate ", adDBTimeStamp, adParamInput,
0, pStoryDate)
.parameters.app end param
set param = .createparamete r("@StoryImageU RL", adVarChar, adParamInput,
150, pStoryImageURL)
.parameters.app end param
set param = .createparamete r("@StoryBLN" , adInteger, adParamInput, 0,
pStoryBLN)
.parameters.app end param
.execute ,,adexecutenore cords
end with

on error resume next
conn.spr_AddSto ry
StoryTitle,Stor yURL,StoryBlurb ,StoryBrokerID, StoryCompanyID, StoryCategoryID ,StoryDeptID,St oryKeyword1,Sto ryKeyword2,Stor yKeyword3,Story Date,StoryImage URL,StoryBLN,St oryModel,StoryS ize,StoryYear
if err<>0 and conn.errors.cou nt=0 then
response.write "success"
else
response.write "failure"
end if

Jul 22 '05 #7
ja***@catamaran co.com wrote:
conn.spr_AddSto ry pStoryTitle, ..., pStoryBLN

Ok. I have revamped my original code to include your comments and
direction. However, I am picking up the following error:

ADODB.Command (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are
in conflict with one another.
/catamaranco/story/Process.asp, line 63

...which refers to this line: .CommandType=ad cmdstoredproc

What Aaron said. The constant needs do be defined somewhere. Where are you
defining the other constants you're using (adParam..., etc)?
Are you using the type library? Maybe you're using the wrong one.

<snip>

Set GetConnection = "driver={SQ L
Server};server= _.maximumasp.co m;DB=_pw;UID=V0 32U10DUW;PWD=_p w"


Why are you using the ODBC driver rather than the native OLE DB provider
(SQLOLEDB)? See www.connectionstrings.com or www.carlprothman.net for the
SQLOLEDB connection string to use.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #8
Ok, that was stupid of me. Thank you.

I am now picking up a connection error:

'//INSERT FORM VARIABLES...
'--------------------------
Dim cmd, param

Set cmd=server.Crea teObject("ADODB .Command")

With cmd
.CommandType=ad cmdstoredproc
.CommandText = "spr_AddSto ry"

cnSQL = "driver={SQ L
Server};server= MAXSQL008.maxim umasp.com;DB=V0 32U10DUW;UID=V0 32U10DUW;PWD=cU 3QmtgDyzWJ"
'//Line 69
Microsoft VBScript runtime (0x800A01A8)
Object required: 'cnSQL.ActiveCo nnection'
/catamaranco/story/Process.asp, line 69
Jul 22 '05 #9
> Microsoft VBScript runtime (0x800A01A8)
Object required: 'cnSQL.ActiveCo nnection'
/catamaranco/story/Process.asp, line 69

Sheesh. Are you grabbing bits and fragments of code from all over the place
and just throwing them together? The following is a string and should not
be part of a SET assignment:
Set GetConnection = "driver={SQ L
Server};server= _.maximumasp.co m;DB=_pw;UID=V0 32U10DUW;PWD=_p w"


I assume you meant

Set cnSQL = CreateObject("A DODB.Connection ")
cnSQL.open "driver={SQ L
Server};server= _.maximumasp.co m;DB=_pw;UID=V0 32U10DUW;PWD=_p w"
' then...
Set cmd.ActiveConne ction = cnSQL

conn is the traditional name for a connection object in ASP, and you'll find
that most people use it (any other name is slightly more cumbersome to
read/analyze, IMHO) and you should certainly be using SQLOLEDB instead of
the SQL Server driver, see http://www.aspfaq.com/2126
Jul 22 '05 #10

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

Similar topics

3
2030
by: jerrygarciuh | last post by:
Hello everyone, Wondering if anyone else has had problems with gifs created by php or if anyone sees a problem with this code. Symptom: created jpegs work fine and created gifs work fine in Netscape and
2
2976
by: Eric Woudenberg | last post by:
I just installed a Python 2.3.4 Windows binary on a friend's WinXP machine (because the latest Cygwin-provided Python 2.3 build leaves out the winsound module for some reason). When I try and run this newly installed Python from bash it just hangs (no version message, no prompt, CPU is idle). When I run it from IDLE, or the DOS CMD prompt, it runs fine. Also, Python scripts using the new version run fine, even invoked on the bash command...
9
3313
by: Larry Woods | last post by:
I have a site that works fine for days, then suddenly, I start getting ASP 0115 errors with an indication that session variables IN SEPARATE SESSIONS have disappeared! First, for background information, I have a customized 500-100 page that sends the value of various session variables via email to my support site. The situation: On the home page of the site, the FIRST THING that is done is a Session
8
2343
by: Rick Hawkes | last post by:
Has anyone seen these symptoms? Running IIS 4.0 on NT 4.0. Service packed and updated to the max. Reboot system and everything works fine. After some undetermined period of time (between 10 and 36 hours) asp pages stop working and just hang. Normal HTML pages work just fine.
1
2332
by: Adrian Manic | last post by:
H We have a strange problem which I can not get my head around The entry point of the application is a file called home.asp. First it includes some files that define constants, then is resets / creates a Cookie called PROCAT and then outputs a basic HTML page. The Body tag has an OnLoad event that gets called on the Client Side which does some processing and then loads the main page. The application uses COM components and SQL Server but...
56
3559
by: john bailo | last post by:
I just installed mono from ximian on my redHat 9 workstation and wrote a simple program from the interesting book ado.net in c# by Mahesh Chand. mono is fun ( is there ado for linux ? why/why not? )
3
1886
by: Larry R Harrison Jr | last post by:
I designed this webpage: http://www.dbases.net/photography_pages/new_style_frames_index.html It has horizontal hover/pop-down menus; it works fine on the given machine run off the hard drive, but NOT off the Internet. However, on another machine in my house, it runs fine on the Internet, period--no problems. One of those machines it runs flawlessly on is the computer I designed it on; it also ran fine on a 3rd machine which is was NOT
6
1340
by: shror | last post by:
I need your help please in an aspx webpage. I have 2 combo boxes in the page The first combo load and when i select item from it then the other combo should be loaded then and this cenario work fine in Fire Fox but on Internet Explorer when i select the item from the first combo it doesn't load the second combo but it gives the yellow error mark in the statusbar <error in page> and the says error:
0
1177
by: service0073 | last post by:
Designs For Fine Jewelry Pieces Fine jewelry is created from the finest precious metals and the gems that are set in these metals could be what makes the jewelry so fine. Jewelry lovers can wear precious gems like sapphire, emeralds, diamonds, rubies, and birthstone gems in a variety of ways, but no matter what the designs are, the wearer will know that quality of workmanship is what makes wearing the fine jewelry so special....
0
7947
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7880
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8255
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8374
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6665
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5739
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3868
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3903
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2389
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

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.