Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 156
Search took 0.02 seconds.
Search: Posts Made By: irProject
Forum: SQL Server 2008 May 20th, 2012, 09:43 AM
Replies: 1
Views: 864
Posted By irProject
Smile use TRIGGER

create trigger forinsertrig1
on table1
for insert, Update
as
if INSERTED.QuantityinHand = 0
begin
rollback transaction
end
Forum: HTML Code Clinic May 20th, 2012, 09:38 AM
Replies: 4
Views: 1,546
Posted By irProject
Smile Hi there I think you may need to get similar to...

Hi there
I think you may need to get similar to some free Shopping portals and then decide to extend or customize them.
Forum: BOOK: ASP.NET 3.5 Website Programming Problem Design Solution March 17th, 2012, 07:13 PM
Replies: 1
Views: 8,306
Posted By irProject
Smile Hi there yes. it's possible as should be....

Hi there

yes. it's possible as should be. just drag your user control (from Solution Explorer) into your master page in Design Mode (not Source Mode)
Forum: ASP.NET 4 General Discussion March 17th, 2012, 06:56 PM
Replies: 10
Views: 2,308
Posted By irProject
Smile Hi Sophia I was busy until now. local time...

Hi Sophia

I was busy until now. local time is 02:20 AM. I was working so hard to finish the requested software. but my boss was not responsible as enough. and now ... I have not paid for jobs I've...
Forum: BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9 March 5th, 2012, 09:55 AM
Replies: 8
Views: 11,593
Posted By irProject
Smile Hi there linq or labmda expressions are not...

Hi there

linq or labmda expressions are not fully done at creation time. you may need to convert the result to List:


IEnumerable<SelectListItem> items = allUser
.Select(d => new...
Forum: ASP.NET 4 General Discussion March 4th, 2012, 12:56 AM
Replies: 10
Views: 2,308
Posted By irProject
Smile I'll send it 4 hours later. I'm busy now ...

I'll send it 4 hours later. I'm busy now ...
Forum: ASP.NET 4 General Discussion March 3rd, 2012, 02:35 AM
Replies: 1
Views: 1,580
Posted By irProject
Smile Hi there. you can use javascript codes: ...

Hi there.
you can use javascript codes:




<asp:HyperLink runat="server" NavigationUrl="http://www.test.com" onclientclick="loadText(this);"></asp:HyperLink>

<input type="text" id="txtUrl"...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB March 1st, 2012, 07:47 AM
Replies: 3
Views: 1,815
Posted By irProject
Smile problem is solved

Hi Imar

my problem is solved now.

BUT

what was the problem? (!!!)

ajax library was not loading when I was using IIS. I searched multiple times and surfed all pages and did all suggestions...
Forum: Javascript March 1st, 2012, 07:13 AM
Replies: 1
Views: 1,086
Posted By irProject
Smile jQuery.fadeIn

Hi there

use jQuery methods

http://www.jquery.com



<img id="myImg" src="someSrc.jpg" style="visibility:hidden" />
<script type="text/javascript"...
Forum: ASP.NET 4 General Discussion March 1st, 2012, 06:52 AM
Replies: 13
Views: 4,434
Posted By irProject
Smile Hi Sophia EF does not apply changes as done....

Hi Sophia

EF does not apply changes as done. when you use ef_instance.SubmitChanges() then updated records will be updated in Database. this is because of when you change a property value of some...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB February 29th, 2012, 04:07 AM
Replies: 22
Views: 2,436
Posted By irProject
Smile Hi there I think CreateDateTime and...

Hi there
I think CreateDateTime and UpdateDateTime fields of your table are not nullable. so when Entity Framework wants to set the values, uses it's .Net default values (new DateTime()). Try to set...
Forum: ASP.NET 4 General Discussion February 28th, 2012, 08:06 PM
Replies: 10
Views: 2,308
Posted By irProject
Smile Hi sophia I think the problem maybe with...

Hi sophia

I think the problem maybe with Handler-Call-Time. when your handler is called?


public void Init(HttpApplication context)
{
context.AuthorizeRequest += new...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB February 28th, 2012, 01:09 PM
Replies: 4
Views: 895
Posted By irProject
Smile Hi sophia I put MySql assemblies to my web...

Hi sophia

I put MySql assemblies to my web storage area. you can download it:

http://rezabaiat88.persiangig.com/other/MySqlAssemblies.rar
Forum: ASP.NET 4 General Discussion February 28th, 2012, 12:06 PM
Replies: 10
Views: 2,308
Posted By irProject
Smile Hi sophia what error do you receive with...

Hi sophia

what error do you receive with App_Code?

as you know Membership Provider settings are stored in web.config file. so maybe you have two web.config file in your program (in...
Forum: BOOK: Visual Studio 2010 and .NET 4 Six-in-One February 28th, 2012, 12:02 PM
Replies: 1
Views: 1,837
Posted By irProject
Smile Hi there Binary compare option, compares two...

Hi there

Binary compare option, compares two string by their ASCII codes, so 'Test' is different to 'test' (so it is faster)
but Text compare, compares two string as 'ignore case', so 'Test' and...
Forum: Beginning PHP February 28th, 2012, 11:55 AM
Replies: 2
Views: 1,501
Posted By irProject
Smile Hi there you may need to see these links: ...

Hi there

you may need to see these links:

http://php.net/manual/en/language.types.null.php

http://php.net/manual/en/function.empty.php


think of 'null' as 'unassigned', and 'empty' as...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB February 28th, 2012, 11:46 AM
Replies: 22
Views: 2,436
Posted By irProject
Smile Hi there GetUtcDate() in sql returns the...

Hi there

GetUtcDate() in sql returns the UtcTime. it works fine as it should. but I think there are some problems with edmx update. I've faced some problems with edmx updating, and I was forced to...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB February 27th, 2012, 11:21 AM
Replies: 4
Views: 895
Posted By irProject
Smile Hi Sophia You can use...

Hi Sophia

You can use System.Data.MySqlClient instead of System.Data.SqlClient
dll file is published by Oracle

MySqlConnection in place of SqlConnection
MySqlCommand in place of SqlCommand...
Forum: BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 February 27th, 2012, 09:38 AM
Replies: 1
Views: 1,472
Posted By irProject
Smile Hi there select BindingNavigator control...

Hi there

select BindingNavigator control that is on your form. press F4 to view property, from the list of properties point BindingSource.
as i've seen it's always empty. this is because of some...
Forum: ASP.NET 4 General Discussion February 27th, 2012, 02:54 AM
Replies: 2
Views: 2,802
Posted By irProject
Smile Hi there for any xml files you can use...

Hi there

for any xml files you can use XmlDocument (System.Xml) to modify the file:

see the link below. if not helpful notify me to send a simple sample
...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB February 26th, 2012, 07:01 AM
Replies: 3
Views: 1,815
Posted By irProject
Smile Hi there WebForm_InitCallback() error was...

Hi there

WebForm_InitCallback() error was about ComponentArt controls. I was forgotten to register my license.

BUT

my problem about Virtual Directory is not solved yet
Forum: Beginning PHP February 26th, 2012, 04:43 AM
Replies: 1
Views: 824
Posted By irProject
Smile Hi there see links below ...

Hi there

see links below

http://stackoverflow.com/questions/156712/php-what-is-the-default-lifetime-of-a-session
...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB February 26th, 2012, 02:37 AM
Replies: 3
Views: 1,815
Posted By irProject
Smile Sys is undefined - Imar Imar Help me!!

Hi Imar

In our company we use ASP.NET. in our projects we used ajax controls. our projects was working while yesterday that we re-installed Windows Server 2003 on development machine. now when i...
Forum: Javascript How-To February 26th, 2012, 12:55 AM
Replies: 1
Views: 1,313
Posted By irProject
Smile use quotes and <?php

you should use quotes and <?php tag :


<?php $uname = "username"; ?>
<input type="submit" name="submit" id="submit" value="Submit" class="button" onclick="show_confirm('<?php echo $uname ?>')" />
Forum: ASP.NET 4 General Discussion February 25th, 2012, 07:09 AM
Replies: 13
Views: 4,434
Posted By irProject
Smile YES. case

Here is what you should do instead:

UPDATE categories
SET display_order = CASE id
WHEN 1 THEN 3
WHEN 2 THEN 4
WHEN 3 THEN...
Showing results 1 to 25 of 156

 




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