|
thank but I want a response with more details.
|
|
|
|
|
What more details you need ? The code which I given explains the details which you need. I got down voted for trying to help you. It's bad.
|
|
|
|
|
I'm sorry
I didn't Know that select No Item have any effect on your vots becuse I'm a new member.
|
|
|
|
|
Actually this is more of seeking your opinion than seeking your help to have an issue resolved, I've been working on a website for a couple of months and I'm preparing to get it online, I'm planning to have it hosted on a dedicated server, the question is, would you obfuscate your code before deploying it to protect your hardwork? or you'd simply upload it with no obfuscation to avoid all the problems that come with it, e.g. performance decrease, being unable to log exceptions (as the information in the stack trace would be useless in that case) .. etc? What would you do? Thanks for any suggestions ...
|
|
|
|
|
I never used to do it. It makes the deployment tough - AFAIK.
|
|
|
|
|
You need to consider if theres actually any "valuable IP" in what you are deploying. I'd say that in 99% of applications, especially websites there just nothing unique or reusable being done.
If you are worried that someone might read your code and learn some techniques they couldnt read tutorials elsewhere (and better documented) then you must be doing some quite cool stuff
Don't bother. We don't even obfuscate our products, its unlikely that anyone is going to be disassembling our code for reuse (and if they did they'd be exposing themselves to some pretty serious legal risk). Fact is that if your competitors need to copy you then they are always going to be behind.
I'm using yFiles (a graph layout library) at the moment. Its obfuscated which is a massive pain in the arse for debugging. You get exceptions being thrown out saying "couldnt cast a.a.b.c to d", not even giving a slight clue what went wrong. Who is going to have the skill and time to dissassemble and reengineer a product that complex, without any trace of its origin, and be able to make it better enough to be able to sell it? Leads me to recommend it only if you need specific features it offers (otherwise go with a cheaper one).
Mark Churchill
Director
Dunn & Churchill
Free Download:Diamond Binding: The simple, powerful, reliable, and effective data layer toolkit for Visual Studio.
|
|
|
|
|
Hello all. This question deals with some ADO.NET, in addition to ASP.NET. I am creating a website in which a user will be able to customize clothing (hats, t shirts, etc.). I will have a database that stores images, colors, etc. as well as customer info. I will need to be able use the fields from my database (color, size, image, etc.) in order to create a product. Can anyone help me out, or point me in the direction of some good resources that may help to shed some light on my problem. Any help would be greatly appreciated.
"If you don't know where you're going, you'll probably end up somewhere else." Yogi Berra
|
|
|
|
|
It's easy, you create a "Product" class and fill it with values fetched from database. Alternatively you can use some OR/M tools which does this.
|
|
|
|
|
|
You're going to use a repeater for something like this forum, b/c a repeater gives you absolute control over the layout.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
I am using Web Developer 2008 express edition. When I drag images into my webform from the App_Data folder, they are visible at design time but won't show when I "Preview in browser". The only thing that works right now is to hard code the entire path of the image. (which won't work when the site is deployed)
Here's a sample of what works and what doesn't:
Does Work:
style="width: 255px; height: 108px" />;
Doesn't Work:
style="width: 255px; height: 108px" />;
I didn't seem to have this problem in VS 2005. Thanks in advance.
"Make it as simple as possible, but no simpler" Issac Newton
|
|
|
|
|
Are you running the site from localhost ? That is, not localhost/something ? What if you put a / at the start of the path ? ~/ also forces start from the root, I believe.
Is the control in a subfolder ?
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Thanks for the reply. Yes I'm running local host.
I have also did the ~/ syntax and it has not changed anything. That's also the standard syntax that generates when you set the image url in the design mode. The jpg is located in a sub folder but the generated code from the designer compensates for that. To make sure all this is not confusing, I was originaly using design mode to set all my image urls but when I got no results at run time, I started trying to modify the source code. Any further suggestions will be greatly appreciated!
"Make it as simple as possible, but no simpler" Issac Newton
|
|
|
|
|
Hi!
I can't understand it...
I'm using a table control with "CssClass" property inside an user control.
If I set 'CssClass="footer"', the '.footer' style is applied ok; but if I set 'CssClass="report"', this style don't work.
Of course, both '.footer' and '.report' exist in css file and the master page that contains the user control have a '' in the 'head'.
Do you have any idea?
Thank you in advance.
--
[Adrián Córdoba]
|
|
|
|
|
Open the error console in Firefox so that you see if it reports any errors in your css.
Get the FireBug plugin for Firefox. There you can locate the element in the document outline and see exactly what css applies to it.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
I'm not using Firefox. It isn't installed.
--
[Adrián Córdoba]
|
|
|
|
|
Do you have any other browsers than IE installed, or don't you test that what you build works?
I think that there is a developer toolbar for IE that is quite similar to Firebug.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi All
In my asp.net 2.0 web application i am using AjaxToolKit version 1.0.20229.0 . Now the Issue is with modal pop up in IE 6.0 whenever the modal pop up is displaying browser hight is getting increased.
AJAX modal pup is adding pixels to the height of the browser now user can scrolls down the vertical scroll bar to infinite.
this is happening in IE 6 only its working fine in Mozilla and IE 7.0
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
|
hai friends
in a page i have a panel, in that panel i added a image control
for panel i set both horizontal and vertical scroll bars
when the page is postback then i have to maintain the panel scroll bar position same as it is.
plz help me
thanks in advance
vijay
|
|
|
|
|
use MaintainScrollPositionOnPostback ="true" in page directive
|
|
|
|
|
|
use "split" function ....
Thanks,
Arindam D Tewary
|
|
|
|
|
string s="6/30/2008";<br />
string [] s1= s.split('/');<br />
console.writeline(s1[2].ToString());
|
|
|
|
|
DateTime m = new DateTime(2008,03,21);
int s = m.Year;
Sathya
|
|
|
|