Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 97
Search took 0.01 seconds.
Search: Posts Made By: aldwinenriquez
Forum: XML May 12th, 2009, 08:11 PM
Replies: 3
Views: 984
Posted By aldwinenriquez
mkhay, I just used that as an example, I am...

mkhay,
I just used that as an example, I am really after the co-occurrence constraints.

Thank you very much..
Forum: XML May 12th, 2009, 05:21 AM
Replies: 3
Views: 984
Posted By aldwinenriquez
Defining restrictions based on element/attribute values

How can I implement a custom restriction based on element or attribute value.

I have the following xml

<courses>
<course id="1">
<students>25<students>
</course>
<course id="2">...
Forum: ASP.NET 3.5 Professionals April 28th, 2009, 05:43 AM
Replies: 1
Views: 2,068
Posted By aldwinenriquez
Client side DAtabinding with ASP.NET ajax 4.0

HI guys,
I have the following..

<div>
<tableid="resultTable"border="1"class="sys-template"
sys:attach="dataview"
dataview:dataprovider="UserClientService.svc"...
Forum: ASP.NET 2.0 Professional April 16th, 2009, 08:52 PM
Replies: 3
Views: 1,002
Posted By aldwinenriquez
Which event is for the session timeout. I...

Which event is for the session timeout.
I tried using Session_End event implemented in an HttpModule and used Response.Redirect("SomePage") but never worked.

or, where should i put the...
Forum: ASP.NET 2.0 Professional April 16th, 2009, 05:50 AM
Replies: 3
Views: 1,002
Posted By aldwinenriquez
Redirecting to a different page during session expiration

I am using forms authentication and whenever a session expires, it is automatically redirected to the loginurl.

Is there a way for me to redirect session timeouts to a different page and only...
Forum: C# 2005 April 15th, 2009, 08:24 PM
Replies: 3
Views: 725
Posted By aldwinenriquez
My mistake, I forgot to close the textreader that...

My mistake, I forgot to close the textreader that was using that stream..:-)

Thanks guys..
Forum: C# 2005 April 15th, 2009, 05:04 AM
Replies: 3
Views: 725
Posted By aldwinenriquez
Deleting a file

Have this code..
publicbool Method()
{
string fileName = Guid.NewGuid().ToString();//generate a unique filename
try
{
XmlDocument doc = newXmlDocument();

doc.LoadXml(xmlString);...
Forum: ASP.NET 3.5 Professionals March 20th, 2009, 04:52 AM
Replies: 2
Views: 778
Posted By aldwinenriquez
Reflection for MembershipUser class

I would like to modify the readonly property of the MembershipUser class, however I was not able to do it for the IsOnline property since I was not able to get its readonly fieldname.

Iterating...
Forum: XML August 27th, 2008, 06:38 PM
Replies: 8
Views: 1,235
Posted By aldwinenriquez
XmlDocument doc = new XmlDocument(); ...

XmlDocument doc = new XmlDocument();
doc.Load(@"c:\temp\layout.html");//load html as xml doc

//add namespace manager
XmlNamespaceManager man = new XmlNamespaceManager(doc.NameTable);...
Forum: XML August 26th, 2008, 06:48 PM
Replies: 8
Views: 1,235
Posted By aldwinenriquez
XmlNode body =...

XmlNode body = doc.DocumentElement.SelectSingleNode("//body",man);
This always returns null.

"//xhtml:body" does not work either.


"Dont you ever give up!"
Forum: XML August 26th, 2008, 12:40 AM
Replies: 8
Views: 1,235
Posted By aldwinenriquez
Searching for body element in an html not working

It seems that SelectSingle node does not work well with HTML documents loaded as XML.

XmlDocument doc = new XmlDocument();
doc.Load(@"c:\temp\layout.html");//load html as xml doc

//add...
Forum: XSLT August 25th, 2008, 03:12 AM
Replies: 7
Views: 1,550
Posted By aldwinenriquez
Ok, thanks a lot. Part me says, this is a...

Ok, thanks a lot.
Part me says, this is a perfect job for XSL transformation but since I don't know how to do it there then I'l just stick to my first solution.

Thanks again Sam for the quick...
Forum: XML August 25th, 2008, 03:06 AM
Replies: 4
Views: 1,751
Posted By aldwinenriquez
XmlDocument doc = new XmlDocument(); ...

XmlDocument doc = new XmlDocument();
doc.Load(@"..\..\x1.xml");
XmlNamespaceManager man = new XmlNamespaceManager(doc.NameTable);
xmlns:fn="http://www.w3.org/2005/02/xpath-functions"...
Forum: XML August 25th, 2008, 12:08 AM
Replies: 4
Views: 1,751
Posted By aldwinenriquez
Xpath functions

Trying to select all cd elements whose releasedate is on a specific month using
doc.Selectnodes("/cd/releasedate[fn:month-from-date(.)=04]")
but I always get this exception

Unhandled...
Forum: XSLT August 24th, 2008, 09:04 PM
Replies: 7
Views: 1,550
Posted By aldwinenriquez
Thanks Sam. I can't seem to use variable inside...

Thanks Sam.
I can't seem to use variable inside the match attribute value in XSL:template node. I tried using xsl:if but was only successful in filtering for a singe user. Problem I have is passing...
Forum: XSLT August 21st, 2008, 03:37 AM
Replies: 7
Views: 1,550
Posted By aldwinenriquez
Yeah, I already have a working solution for this...

Yeah, I already have a working solution for this in C#(As I mentioned,using XML document). Just curious how easily it can be done via XSLT. Can you at least show me simple transformations here?
...
Forum: XSLT August 21st, 2008, 12:57 AM
Replies: 7
Views: 1,550
Posted By aldwinenriquez
Filtering XML data

I have the following xml that I want to filter based on specific user's change. One way I solve it to is load the string as xml and perform the filtering. I want to accomplish the ff:

string...
Forum: .NET Framework 2.0 December 12th, 2007, 02:34 AM
Replies: 1
Views: 1,134
Posted By aldwinenriquez
Context Menu Shell Extension problem

Hi everyone,
I used the pattern for Shell Extensions for Context menu from Dino
Esposito's article. However I implemented it in more than one application
and it seems that those two right click...
Forum: C# 2005 July 12th, 2007, 09:40 PM
Replies: 0
Views: 709
Posted By aldwinenriquez
Date serialization problem

I am serializing and deserializing an object and persisting the serialized XML into the database.

My class definition contains a date field.
However I have problems when I try to deserialize the...
Forum: SQL Server 2005 May 24th, 2007, 01:48 AM
Replies: 3
Views: 1,768
Posted By aldwinenriquez
Using Coalesce is faster than that. I have...

Using Coalesce is faster than that.

I have 14 columns that are comma separated and calling UDFs for those columns I think is not an option.

Thank you anyway..

"Dont you ever give up!"
Forum: SQL Server 2005 May 24th, 2007, 01:44 AM
Replies: 5
Views: 23,816
Posted By aldwinenriquez
Right click on the view and Script View as Alter...

Right click on the view and Script View as Alter to a new query window. then add this line of code

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER VIEW [dbo].[VW_ViewName] with...
Forum: SQL Server 2005 May 22nd, 2007, 09:34 PM
Replies: 3
Views: 1,768
Posted By aldwinenriquez
Comma Separated values

I have a the ff tables:

Users(UserID,Username)

Departments(DepartmentID,DepartmentName)

UserDepartments(UserID,DepartmentID)

I want to display the list of departments in a comma-separated...
Forum: .NET Framework 2.0 April 3rd, 2007, 07:34 PM
Replies: 0
Views: 788
Posted By aldwinenriquez
Parameterized Smart Client Applications

How do I pass a parameter to a Smartclient application?

I managed to make it worked in a file system but after I deployed it as a smartclient app, it doesn't seem to get the parameters.

I saw...
Forum: ASP.NET 2.0 Professional April 3rd, 2007, 03:17 AM
Replies: 1
Views: 653
Posted By aldwinenriquez
Never mind. I had it working na:-) "Dont you...

Never mind. I had it working na:-)

"Dont you ever give up!"
Forum: ASP.NET 2.0 Professional April 3rd, 2007, 02:47 AM
Replies: 1
Views: 653
Posted By aldwinenriquez
Activex control and strongname verifications

I have an activeX control binary which is fully signed. The problem is the control wasn't rendered in the browser. The ActiveX dll didn'get into the download cache until I skipped the verification...
Showing results 1 to 25 of 97

 


All times are GMT -4. The time now is 06:12 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.