473,545 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Display XML Output from SQL Server

I have an asp.net (1.1) application that connects to a SQL server 2000 db. I
have a stored procedure in my db that out puts data in xml format.
What I need to be able to do is display that xml that I retrieve from my
stored proc and display it in a web page formatted as I want.
I have managed to get my xml to display as I wish if I manually run my
stored proc in QA and copy the xml into notepad and save it as Test.xml. I
reference my xsl file in this xml file and when I view this file in IE it
displays as I want it to.

What I need to know is how to do this programmaticall y. I am able to get my
xml data from the db. I just need help with transferring that data into a
page that I can display.

Thanks

May 24 '06 #1
18 3188


Terry Holland wrote:
I have an asp.net (1.1) application that connects to a SQL server 2000 db. I
have a stored procedure in my db that out puts data in xml format.
What I need to be able to do is display that xml that I retrieve from my
stored proc and display it in a web page formatted as I want.
I have managed to get my xml to display as I wish if I manually run my
stored proc in QA and copy the xml into notepad and save it as Test.xml. I
reference my xsl file in this xml file and when I view this file in IE it
displays as I want it to.

What I need to know is how to do this programmaticall y. I am able to get my
xml data from the db. I just need help with transferring that data into a
page that I can display.


ASP.NET has an XML control that allows you to apply a transformation, see
<http://msdn.microsoft. com/library/default.asp?url =/library/en-us/cpref/html/frlrfSystemWebU IWebControlsXml ClassTopic.asp>

I am not sure however it is well suited to help you with displaying the
query result. You might simply write the code for the transformation
yourself creating an XslTransform instance
<http://msdn.microsoft. com/library/default.asp?url =/library/en-us/cpref/html/frlrfSystemXmlX slXslTransformC lassTopic.asp>
and using its Transform method.
The input for the Transform method could be an XPathDocument over an
XmlReader you get from executing the query
<http://msdn.microsoft. com/library/default.asp?url =/library/en-us/cpref/html/frlrfSystemData SqlClientSqlCom mandClassExecut eXmlReaderTopic .asp>
--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
May 24 '06 #2
Ive looked at the examples you directed me to but Im still unclear.

I'll give an example of the type of thing Im trying to do and perhaps you
could tell me what I need to do to get my data displayed on a web page (and
possibly saved as a new xml file).
When I browse to webform1.aspx I would like to display the output from my
stored procedure TestXML using the xsl file NW.xsl and saved as a file
OutputDDMMYYYY. xml in the web directory.

Thanks in advance

I have a xsl file called NW.xsl
=============== =====
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table border="1">
<xsl:for-each select="ROOT/CU">
<tr>
<td colspan="2"><xs l:value-of select="CU_CN"/></td>
</tr>
<xsl:for-each select="ORD">
<tr>
<td><xsl:valu e-of select="ORD_ID"/></td>
<td><xsl:valu e-of select="ORD_DAT E"/></td>
</tr>

<xsl:for-each select="OD">
<tr>
<td><xsl:valu e-of select="OD_UP"/></td>
<td><xsl:valu e-of select="OD_QTY"/></td>
</tr>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>

</xsl:stylesheet>
=============== =====

I have created a stored procedure called TestXML
=============== =============== ====
SELECT
dbo.Customers.C ompanyName,
dbo.Orders.Orde rID,
dbo.Orders.Orde rDate,
dbo.[Order Details].UnitPrice,
dbo.[Order Details].Quantity,
dbo.Products.Pr oductName,
dbo.Products.Qu antityPerUnit

FROM
dbo.Customers INNER JOIN
dbo.Orders ON dbo.Customers.C ustomerID = dbo.Orders.Cust omerID INNER JOIN
dbo.[Order Details] ON dbo.Orders.Orde rID = dbo.[Order Details].OrderID
INNER JOIN
dbo.Products ON dbo.[Order Details].ProductID = dbo.Products.Pr oductID

for xml auto, elements
=============== =============== ====

On my page webform1.aspx with the following function GetData
that gets called on Form_Load
=============== =============== ==============
Function GetData() As XPathDocument ' XmlReader
Dim SqlConnection1 As System.Data.Sql Client.SqlConne ction
Dim SqlCommand1 As System.Data.Sql Client.SqlComma nd

SqlConnection1 = New System.Data.Sql Client.SqlConne ction
SqlCommand1 = New System.Data.Sql Client.SqlComma nd
SqlConnection1. ConnectionStrin g = "user id=WebUser;data
source=TERRY;in itial catalog=Northwi nd"
SqlConnection1. Open()

SqlCommand1.Com mandText = "TestXML"
SqlCommand1.Com mandType = System.Data.Com mandType.Stored Procedure
SqlCommand1.Con nection = SqlConnection1

Dim o As XmlReader = SqlCommand1.Exe cuteXmlReader

'not sure what to do here
End Function

"Martin Honnen" <ma*******@yaho o.de> wrote in message
news:eb******** ******@TK2MSFTN GP04.phx.gbl...


Terry Holland wrote:
I have an asp.net (1.1) application that connects to a SQL server 2000
db. I have a stored procedure in my db that out puts data in xml format.
What I need to be able to do is display that xml that I retrieve from my
stored proc and display it in a web page formatted as I want. I have
managed to get my xml to display as I wish if I manually run my stored
proc in QA and copy the xml into notepad and save it as Test.xml. I
reference my xsl file in this xml file and when I view this file in IE it
displays as I want it to. What I need to know is how to do this
programmaticall y. I am able to get my xml data from the db. I just need
help with transferring that data into a page that I can display.


ASP.NET has an XML control that allows you to apply a transformation, see
<http://msdn.microsoft. com/library/default.asp?url =/library/en-us/cpref/html/frlrfSystemWebU IWebControlsXml ClassTopic.asp>

I am not sure however it is well suited to help you with displaying the
query result. You might simply write the code for the transformation
yourself creating an XslTransform instance
<http://msdn.microsoft. com/library/default.asp?url =/library/en-us/cpref/html/frlrfSystemXmlX slXslTransformC lassTopic.asp>
and using its Transform method.
The input for the Transform method could be an XPathDocument over an
XmlReader you get from executing the query
<http://msdn.microsoft. com/library/default.asp?url =/library/en-us/cpref/html/frlrfSystemData SqlClientSqlCom mandClassExecut eXmlReaderTopic .asp>
--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/

May 24 '06 #3
Ive looked at the examples you directed me to but Im still unclear.

I'll give an example of the type of thing Im trying to do and perhaps you
could tell me what I need to do to get my data displayed on a web page (and
possibly saved as a new xml file).
When I browse to webform1.aspx I would like to display the output from my
stored procedure TestXML using the xsl file NW.xsl and saved as a file
OutputDDMMYYYY. xml in the web directory.

Thanks in advance

I have a xsl file called NW.xsl
=============== =====
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table border="1">
<xsl:for-each select="ROOT/CU">
<tr>
<td colspan="2"><xs l:value-of select="CU_CN"/></td>
</tr>
<xsl:for-each select="ORD">
<tr>
<td><xsl:valu e-of select="ORD_ID"/></td>
<td><xsl:valu e-of select="ORD_DAT E"/></td>
</tr>

<xsl:for-each select="OD">
<tr>
<td><xsl:valu e-of select="OD_UP"/></td>
<td><xsl:valu e-of select="OD_QTY"/></td>
</tr>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>

</xsl:stylesheet>
=============== =====

I have created a stored procedure called TestXML
=============== =============== ====
SELECT
dbo.Customers.C ompanyName,
dbo.Orders.Orde rID,
dbo.Orders.Orde rDate,
dbo.[Order Details].UnitPrice,
dbo.[Order Details].Quantity,
dbo.Products.Pr oductName,
dbo.Products.Qu antityPerUnit

FROM
dbo.Customers INNER JOIN
dbo.Orders ON dbo.Customers.C ustomerID = dbo.Orders.Cust omerID INNER JOIN
dbo.[Order Details] ON dbo.Orders.Orde rID = dbo.[Order Details].OrderID
INNER JOIN
dbo.Products ON dbo.[Order Details].ProductID = dbo.Products.Pr oductID

for xml auto, elements
=============== =============== ====

On my page webform1.aspx with the following function GetData
that gets called on Form_Load
=============== =============== ==============
Function GetData() As XPathDocument ' XmlReader
Dim SqlConnection1 As System.Data.Sql Client.SqlConne ction
Dim SqlCommand1 As System.Data.Sql Client.SqlComma nd

SqlConnection1 = New System.Data.Sql Client.SqlConne ction
SqlCommand1 = New System.Data.Sql Client.SqlComma nd
SqlConnection1. ConnectionStrin g = "user id=WebUser;data
source=TERRY;in itial catalog=Northwi nd"
SqlConnection1. Open()

SqlCommand1.Com mandText = "TestXML"
SqlCommand1.Com mandType = System.Data.Com mandType.Stored Procedure
SqlCommand1.Con nection = SqlConnection1

Dim o As XmlReader = SqlCommand1.Exe cuteXmlReader

'not sure what to do here
End Function

"Martin Honnen" <ma*******@yaho o.de> wrote in message
news:eb******** ******@TK2MSFTN GP04.phx.gbl...


Terry Holland wrote:
I have an asp.net (1.1) application that connects to a SQL server 2000
db. I have a stored procedure in my db that out puts data in xml format.
What I need to be able to do is display that xml that I retrieve from my
stored proc and display it in a web page formatted as I want. I have
managed to get my xml to display as I wish if I manually run my stored
proc in QA and copy the xml into notepad and save it as Test.xml. I
reference my xsl file in this xml file and when I view this file in IE it
displays as I want it to. What I need to know is how to do this
programmaticall y. I am able to get my xml data from the db. I just need
help with transferring that data into a page that I can display.


ASP.NET has an XML control that allows you to apply a transformation, see
<http://msdn.microsoft. com/library/default.asp?url =/library/en-us/cpref/html/frlrfSystemWebU IWebControlsXml ClassTopic.asp>

I am not sure however it is well suited to help you with displaying the
query result. You might simply write the code for the transformation
yourself creating an XslTransform instance
<http://msdn.microsoft. com/library/default.asp?url =/library/en-us/cpref/html/frlrfSystemXmlX slXslTransformC lassTopic.asp>
and using its Transform method.
The input for the Transform method could be an XPathDocument over an
XmlReader you get from executing the query
<http://msdn.microsoft. com/library/default.asp?url =/library/en-us/cpref/html/frlrfSystemData SqlClientSqlCom mandClassExecut eXmlReaderTopic .asp>
--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/

May 24 '06 #4
Hi Terry,

As for XSLT transformation, .net framework has provided built-in component
classes to support it. Since you're developing the web application under
..net framework 1.1, you can use the "System.Xml.Xsl .XslTransform" class.
"XslTransfo rm" class has a method named "Transform" which can help
tranforming XML document against a given XSLT template file. And the XML
document or XSLT template file can be supplied in the form of an existing
file on the disk or a stream in the memory (or retrieved from database in
your case...).

Here are some web articles discussing on performing XSLT tranforming
through .net framework classes:

#XSLT Processing in .NET
http://www.xml.com/pub/a/2002/08/14/dotnetxslt.html

#XSL Transformation
http://www.csharpfriends.com/Article...x?articleID=75

BTW, .net framework 2.0 has provided enhanced "XslCompiledTra nsform" class
for performing XSLT tranforming:

#Using the XslCompiledTran sform Class
http://msdn2.microsoft.com/en-us/library/0610k0w4.aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 25 '06 #5
Guys

I appreciate your responses but none of the links are giving me the info
that will alow me to do what I want quickly. Are there no examples of doing
what I described in earlier posting ie execute a 'For Xml' stored procedure
(which returns an xml fragment and then displaying this in a web page? I
would have thought that this is a really common scenario but I have not seen
any complete examples yet. If I had more time I would spend time trying to
piece all the information from all links that you guys have provided.
However I dont have the time so unless one of you can point me to a full
example of what I need I will create a crystal report instead

tia

Terry Holland

"Steven Cheng[MSFT]" wrote:
Hi Terry,

As for XSLT transformation, .net framework has provided built-in component
classes to support it. Since you're developing the web application under
.net framework 1.1, you can use the "System.Xml.Xsl .XslTransform" class.
"XslTransfo rm" class has a method named "Transform" which can help
tranforming XML document against a given XSLT template file. And the XML
document or XSLT template file can be supplied in the form of an existing
file on the disk or a stream in the memory (or retrieved from database in
your case...).

Here are some web articles discussing on performing XSLT tranforming
through .net framework classes:

#XSLT Processing in .NET
http://www.xml.com/pub/a/2002/08/14/dotnetxslt.html

#XSL Transformation
http://www.csharpfriends.com/Article...x?articleID=75

BTW, .net framework 2.0 has provided enhanced "XslCompiledTra nsform" class
for performing XSLT tranforming:

#Using the XslCompiledTran sform Class
http://msdn2.microsoft.com/en-us/library/0610k0w4.aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 25 '06 #6
Dude,

All of the links are giving you information that you need to do what
you want quickly. Sometimes you just have to work things out.

In this situation I do:
// inside my data layer
StringBuilder sb = new StringBuilder() ;
XmlDocument doc = null;

try
{
cn.Open();
// XmlTextReader only returns the first 8000 characters. Doing this
gives you the full doc regardless of size.
dr = cmd.ExecuteRead er(CommandBehav iour.CloseConne ction);
while(dr.Read() )
{
sb.Append(dr.Ge tString(0));
}
doc = new XmlDocument();
doc.LoadXml(sb. ToString());
}
finally
{
// cleanup
KillObjects(cn, cmd,dr);
}

return doc;
and then I can transform that XmlDocument with

XslCompiledTran sform transform = new XslCompiledTran sform();
transform.Load( ... ); // some path from Web.Config

// Get the transformed result
StringWriter sw = new StringWriter();
transform.Trans form(source, null, sw);
return sw.ToString();

That gives me a string which I can insert into a Literal control.

I'm 99% positive that I could do it faster than this, but the
performance is good enough, and I knocked it out on a tight schedule.
Look at the various XmlReaders if you want to tweak it, or hope a
passing MVP takes pity on my humble n00bdom.

Terry Holland wrote:
Guys

I appreciate your responses but none of the links are giving me the info
that will alow me to do what I want quickly. Are there no examples of doing
what I described in earlier posting ie execute a 'For Xml' stored procedure
(which returns an xml fragment and then displaying this in a web page? I
would have thought that this is a really common scenario but I have not seen
any complete examples yet. If I had more time I would spend time trying to
piece all the information from all links that you guys have provided.
However I dont have the time so unless one of you can point me to a full
example of what I need I will create a crystal report instead

tia

Terry Holland

"Steven Cheng[MSFT]" wrote:
Hi Terry,

As for XSLT transformation, .net framework has provided built-in component
classes to support it. Since you're developing the web application under
.net framework 1.1, you can use the "System.Xml.Xsl .XslTransform" class.
"XslTransfo rm" class has a method named "Transform" which can help
tranforming XML document against a given XSLT template file. And the XML
document or XSLT template file can be supplied in the form of an existing
file on the disk or a stream in the memory (or retrieved from database in
your case...).

Here are some web articles discussing on performing XSLT tranforming
through .net framework classes:

#XSLT Processing in .NET
http://www.xml.com/pub/a/2002/08/14/dotnetxslt.html

#XSL Transformation
http://www.csharpfriends.com/Article...x?articleID=75

BTW, .net framework 2.0 has provided enhanced "XslCompiledTra nsform" class
for performing XSLT tranforming:

#Using the XslCompiledTran sform Class
http://msdn2.microsoft.com/en-us/library/0610k0w4.aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


May 25 '06 #7
Do you know where I could find an example given at
http://www.devarticles.com/c/a/ASP/S...Combination/3/ but updated to work for asp.net

Terry

"Steven Cheng[MSFT]" wrote:
Hi Terry,

As for XSLT transformation, .net framework has provided built-in component
classes to support it. Since you're developing the web application under
.net framework 1.1, you can use the "System.Xml.Xsl .XslTransform" class.
"XslTransfo rm" class has a method named "Transform" which can help
tranforming XML document against a given XSLT template file. And the XML
document or XSLT template file can be supplied in the form of an existing
file on the disk or a stream in the memory (or retrieved from database in
your case...).

Here are some web articles discussing on performing XSLT tranforming
through .net framework classes:

#XSLT Processing in .NET
http://www.xml.com/pub/a/2002/08/14/dotnetxslt.html

#XSL Transformation
http://www.csharpfriends.com/Article...x?articleID=75

BTW, .net framework 2.0 has provided enhanced "XslCompiledTra nsform" class
for performing XSLT tranforming:

#Using the XslCompiledTran sform Class
http://msdn2.microsoft.com/en-us/library/0610k0w4.aspx

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 25 '06 #8
Hey Terry,

I think Flinky has provided the pretty good code example(thought it is
using .net framework 2.0's class). And as for the article you mentioned, it
is using the original ASP+COM approach and we should use .net framework's
XML processing classes in our case. Anyway, I've built the following test
page for your reference (I used the Northwind db's Categories table to make
it simplified):

==========xslt file=========== ==
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table border="1">

<tr>
<td>CategoryID: </td>
<td><xsl:valu e-of select="/Categories/CategoryID/text()"/></td>
</tr>
<tr>
<td>CategoryNam e:</td>
<td><xsl:valu e-of select="/Categories/CategoryName/text()"/></td>
</tr>
<tr>
<td>Description :</td>
<td><xsl:valu e-of select="/Categories/Description/text()"/></td>
</tr>

</table>
</body>
</html>
</xsl:template>

</xsl:stylesheet>
=============== =============== =====

==============a spx page codebehind===== ===
public class transform1 : System.Web.UI.P age
{
protected System.Data.Sql Client.SqlConne ction conn;
private void Page_Load(objec t sender, System.EventArg s e)
{
//Get XML data from database

string sqlxml = "select top 1 CategoryID, CategoryName, Description from
Categories FOR XML AUTO , Elements";
conn.Open();

SqlCommand comm = new SqlCommand(sqlx ml, conn);
comm.CommandTyp e = System.Data.Com mandType.Text;

XmlReader xdr = comm.ExecuteXml Reader();
//load the xml from xmlreader into xmldocument for further processing
XmlDocument doc = new XmlDocument();

doc.Load(xdr);
xdr.Close();

conn.Close();

//create XslTransform instance for transforming

XslTransform xsl = new XslTransform();

xsl.Load(Server .MapPath("./template.xslt") );

//flush the transformed result into current page's response output stream

Response.ClearC ontent();

xsl.Transform(d oc.CreateNaviga tor(), null, Response.Output ,new
XmlUrlResolver( ));

Response.End();
}
............... ....
}

=============== ==============

Also, in the above code I simply flush the transformed result directly into
response output, you can choose to flush it into anyother OutputStream you
like(e.g the StreamWriter or a filestream ...)

Hope this also helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 25 '06 #9

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:L$******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hey Terry,

I think Flinky has provided the pretty good code example(thought it is
using .net framework 2.0's class). And as for the article you mentioned,
it
is using the original ASP+COM approach and we should use .net framework's
XML processing classes in our case. Anyway, I've built the following test
page for your reference (I used the Northwind db's Categories table to
make
it simplified):


Which test page?
May 25 '06 #10

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

Similar topics

3
2423
by: Hemanth | last post by:
Hello there, I've a utility that runs on a linux machine. Basically, it opens a window, draws a figure and captures the image (screen) and stores it as a jpeg file. The utility requires a window to be open (or displayed) inorder to save the image. Also, this utility is in the form of an executable, so I can't possibly alter it. I want...
1
4560
by: michi | last post by:
Hi there.... I try do display japanese characters with ASP .NET. (visual basic) but the output is unreadable. (‚±‚ñ‚É‚¿‚) When I save my test.aspx in VisualStudio, VisualStudio tells me that Unicod characters are in my test.aspx file. So I stored the whole thing with Encoding. After I display the page in the browser it...
4
1790
by: dmiller23462 | last post by:
Somebody take a look and give me any suggestions? My brain is nuked... Here's my deal....I have online submission forms on my intranet at work here....I am appending to an Access DB with the input from all HTML fields and then querying aforementioned DB with different variables (search by name, wave, reason, etc). The output that I'm...
5
1906
by: David Greenwood | last post by:
I posted this under 'microsoft.public.sqlserver.client' but got no reply. Any help with this problem would be greatly appreciated --------------------- I developed a database under SQL Server 2000, with Access 2000 on Windows 2000 as client. This had been running fine for several years. The client is now upgrading to Windows XP, and has come...
6
1302
by: Roy Chastain | last post by:
I have the following simple aspx page hosted on a Win2k server with version 1.0 of the framework <%@ Page Language="C#" debug="true" %> <script runat="server" language="C#"> void Page_Load (object sender, System.EventArgs e) { Response.Write("value of email_return is " + ASP.global_asax.EmailReturn); } </script> <HTML>
4
3255
by: Jono | last post by:
Hi Everyone, As it says in the title, I'm looking for a way to display a page while long running operations are performed on the server. Ideally, I'd like some way to push the current request onto some stack, where it would continue to be processed asynchronously (most importantly preserving things like view state, form post data, etc). In...
3
8833
by: shapper | last post by:
Hello, I am using a XSL file to transform a XML file. Then I want to display the XML file in browser as XML type. I am working on an Asp.Net 2.0 HTTP Generic Handler (.ashx). My code is: Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
11
3176
by: nickyeng | last post by:
I have a html file contains a form asking user to select a choice and press enter to pass the data to server. In server there, i have a cgi script(C language) that accepts the input from browser and then output a html page to browser. The browser should open the page, but it didn't, instead, it prompt me to save the file(.cgi file i...
4
2518
by: giandeo | last post by:
Hello experts. I wish to post a string and display the output in the same page. The Scenario: Table name: importer Field name: imp_code, imp_sname, imp_address, imp_tel I have a page which consists of
0
7473
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, well explore What is ONU, What Is Router, ONU & Routers main...
0
7660
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. ...
0
7813
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...
1
7431
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5976
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3457
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...
0
3444
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1020
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
709
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.