I have a datagrid which have 32 columns that is Quantity, Unit Price and amount. The Quantity and Unit Price which contain data are bind from database. My problem is how do i write a code that calculate the amount of each rows in the datagrid and put it in the Amount column?
(Amount=Quantity * Unit Price)
Anyone can help me to solve this problem? Thanks..
Am developing a utility to read from a .resx file, edit the resource key contents, and then write it back to the .resx file.
Am able to change the file contents using ResxResourceReader() API and then changing the key and value, but am unable to write the tree back to the .resx file.
If the images are stored under the web root, then there will be no permissions issues. If the images are stored elsewhere on the hard drive, then by default, the ASPNET worker process does not have read/write permissions on any other folders.
The best practice would be to keep your images under the web root, particularly if they are just static images for display.
I guess that you are running your web site with the built-in web development server, if you run under the IIS, there should be no problem. The reason for that is that the built-in server services all the requests sent to it, it includes the dynamic web page like .aspx as well as the static files such as the images file. So to make it work with the built-in server, you simply group the image files in a folder, say Images, then you use the location tag to configure the authorization settings to allow all the users to access the Images folder.
Well, this setting basically helps you overcome the built-in server issue, when you put your ASP.NET application in the live/production box, your web site normally runs with the IIS server instead of the built-in server. And this setting does not have any effect on the folder as the requests for the static files like the images are handled by the IIS, but the ASP.NET engine. I'm not sure which security you concern, but assuming you don't have any special setting for the images folder at the IIS level, all the users are basically able to access the Images folder with or without this setting in your web.config file.
Myself developing an web application. My client needs that application should have language option means if he choose language option "French" then my application should display in "French"(all labels and data present on web page should change). I stuck here very badly ....plz help me ! If we can use any external tool or will it work after adding any dll then plz suggest !
Thanks for reply man ! I have already used this technique but it is very tedious and we have 30-40 pages and its very difficult to handle.... so we want any external control which will help as to just add in reference and use it .
i am doing one Event Calendar. my requirement is i need put the event calendar in a user control. i made the all the things and in local,but if i put this in live server it is not working. it just simply displays the calendar, when change the month it is not chaning, and this is happening only in IE, it is working fine in Mozilla Firefox and opera browsers. no server side event is firing, can u help me please.