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 352
Search took 0.03 seconds.
Search: Posts Made By: rupen
Forum: BOOK: Professional ASP.NET MVC 4 April 15th, 2014, 09:12 AM
Replies: 1
Views: 1,981
Posted By rupen
Chapter 12: Dependency Injection

Hi,

The code at page # 299 is as follows:

public interface IMessagingService
{
void SendMessage();
}
public class EmailService : IMessagingService
{
Forum: Javascript June 5th, 2011, 02:36 PM
Replies: 0
Views: 775
Posted By rupen
Javascript Object vs. HTML 5 storage.

Hi,

HTML 5 offers localStorage and sessionStorage to store Key/Value. My question is "Earlier we used to do such type of coding using Javascript Object class. So, what is the difference between...
Forum: SQL Server 2000 February 10th, 2011, 06:48 PM
Replies: 5
Views: 1,364
Posted By rupen
alright..done.

alright..done.
Forum: SQL Server 2000 February 10th, 2011, 01:39 PM
Replies: 5
Views: 1,364
Posted By rupen
hey, sorry to bang again.. this gives error as...

hey, sorry to bang again.. this gives error as syntax error near 'or'.


update tabheader
set unitid = null, updatedBy = (CASE WHEN headerId = 36959 THEN 1
when headerId in (338 , 339 or...
Forum: SQL Server 2000 February 10th, 2011, 01:16 PM
Replies: 5
Views: 1,364
Posted By rupen
yes, that's it, it was missing END. Though else...

yes, that's it, it was missing END. Though else was there but I removed it for the sake of simplicity as the real query is long enough.

Thank you again Imar.
Forum: SQL Server 2000 February 9th, 2011, 08:30 PM
Replies: 5
Views: 1,364
Posted By rupen
What is wrong with this statmet?

Hi,

update tabheader
set unitid = null, updatedBy = (CASE WHEN headerId = 36959 THEN 1)

The error says:
Line 2: Incorrect syntax near ')'.

The updatedBy is of type int.
Forum: ASP.NET 3.5 Professionals January 5th, 2011, 10:06 AM
Replies: 1
Views: 2,054
Posted By rupen
Repeater binding error: Object reference not set ...

Hi,

Getting the famous error "Object reference not set to an instance of an object." when bind to a repeater control, wondering what could be the issue.

1. The datasource dose have a data ( a...
Forum: CSS Cascading Style Sheets November 24th, 2010, 09:49 AM
Replies: 1
Views: 4,979
Posted By rupen
Show div at specific location.

Hi,

Which css should we user if we want to display a div tag at specific location on web page. The element (div) can also be in a container (or may not be), but irrespective to it's container's...
Forum: HTML Code Clinic November 18th, 2010, 03:15 AM
Replies: 7
Views: 6,724
Posted By rupen
I need to do this because: there are few...

I need to do this because: there are few information we need to display in header and footer of print page ( & not in web-page) so when user access the web-page the div tab will not be displayed,...
Forum: HTML Code Clinic November 17th, 2010, 09:25 AM
Replies: 7
Views: 6,724
Posted By rupen
ok, but what is the alternative for this? is it...

ok, but what is the alternative for this? is it <span>?
Forum: HTML Code Clinic November 17th, 2010, 08:33 AM
Replies: 7
Views: 6,724
Posted By rupen
Alternative of <div>.

Hi,

somehow


<div>
</table>
<table> <tr><td><td></table>
</div>
Forum: SQL Server 2000 November 16th, 2010, 04:31 AM
Replies: 3
Views: 4,662
Posted By rupen
I tried with NVARCHAR, the result is it displays...

I tried with NVARCHAR, the result is it displays 18 square boxes.

The varbinary value is:
0x0C1CE86CF78D5BC413FE34215DC611327FE09D27E88681965CEB36C3971B791527DEC8E3

I am trying in sql query...
Forum: SQL Server 2000 November 16th, 2010, 01:17 AM
Replies: 3
Views: 4,662
Posted By rupen
Decode varbinary data.

Hi,

How do we decode the text stored in a column with [varbinary] data type.
I tried with select convert(varchar, [columnname]) but the output is creepy it is...
Forum: HTML Code Clinic November 15th, 2010, 04:58 AM
Replies: 3
Views: 2,400
Posted By rupen
Thank you guys for your reply, I though the same...

Thank you guys for your reply, I though the same that right now we can't specify header/footer while printing.
Forum: HTML Code Clinic November 8th, 2010, 07:28 AM
Replies: 3
Views: 2,400
Posted By rupen
Unhappy Header/Footer in web-page.

Hi,

I know this is very common question but just wanted to get the upto-date knowledge on :

"How can I put custom page header and footer (only visible while printing) in my web page?"

as...
Forum: ASP.NET 3.5 Basics October 21st, 2010, 08:07 AM
Replies: 1
Views: 4,784
Posted By rupen
XMLdocument Load : access to path is denied

Hi,

When I tried to execute :


XmlDocument doc = new XmlDocument();
doc.Load(ConfigPath);


getting error as : access to path ... is denied.
Forum: Visual Studio 2008 September 9th, 2010, 03:40 AM
Replies: 5
Views: 988
Posted By rupen
..Great, thank you again. so, I guess, the...

..Great, thank you again. so, I guess, the framework 4.0 has different runtime, if we install framework 4, it will show in IIS, right?
Forum: Visual Studio 2008 September 9th, 2010, 03:15 AM
Replies: 5
Views: 988
Posted By rupen
Thank you for the reply, but it has created few...

Thank you for the reply, but it has created few more qustions:
1. so did it mean that if I have installed Framework 2.0, the installation of VS 2008 will just put 3.5 assemblies?

2. where can I...
Forum: Visual Studio 2008 September 9th, 2010, 02:41 AM
Replies: 5
Views: 988
Posted By rupen
Able to run WCF project in VS 2008 without Framework 3.5.

Hi,

Just wondering how am I able to run a project in VS 2008 which utilizes WCF and that too without having Framework 3.5, (I check in IIS ASP.NET tab, have only 1.0 and 2.0 version). But, project...
Forum: Classic ASP Professional July 9th, 2010, 09:14 AM
Replies: 1
Views: 1,616
Posted By rupen
Insertion in sorted multi-dimensional array.

Requirement:
There is a multidimentional sorted array as shown below:

If user changes sort index of existing product then auto update relevant product's sort index. e.g.

If there are six...
Forum: ASP.NET 2.0 Professional May 19th, 2010, 09:06 AM
Replies: 0
Views: 3,313
Posted By rupen
HttpContext.current.session is null in app_code/.cs file

Hi,


1. SetSession.aspx page sets value for a session variable and redirects to default.aspx page.
2. Default.aspx page tries to create an object of class in app_code\common.cs file.
3. In...
Forum: ASP.NET 2.0 Basics May 18th, 2010, 03:31 AM
Replies: 0
Views: 661
Posted By rupen
Setting cookies with key-value to blank.

Hi,

below code is not working...trying to clear the cookes, where the cookies are with key-value.


foreach(HttpCookie fld in HttpContext.Current.Request.Cookies[Common.USER_COOKIE])
{
...
Forum: XML May 18th, 2010, 02:27 AM
Replies: 10
Views: 3,289
Posted By rupen
Sorry to bother again! Earlier we use...

Sorry to bother again!

Earlier we use xmlDoc.parseError.errorCod to check for error in Microsoft's XMLDOM, how we do the same in .NET 2.0?
Forum: XML May 17th, 2010, 08:15 AM
Replies: 10
Views: 3,289
Posted By rupen
Excellent!!! it is working fine. Thank you,...

Excellent!!! it is working fine.

Thank you, Martin and Sam.
Forum: XML May 17th, 2010, 08:03 AM
Replies: 10
Views: 3,289
Posted By rupen
Ok..now using Load method: the error moves at...

Ok..now using Load method: the error moves at code

Label1.Text = xmlDoc.SelectSingleNode("/PrescriberLookup/Results/ReturnCode").InnerText;

says : NullReferenceException was unhandle by user...
Showing results 1 to 25 of 352

 


All times are GMT -4. The time now is 11:09 PM.


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