|
I was experimenting with some Norwegian translation of an ASP.NET 2.0 application (Web Site project in VS05, hosted in IIS7 on Vista x64), and I tried to use resource files created for the NO generic culture, for example Messages.no.resx. The file was placed in the App_GlobalResources directory alongside many other locale-specific cultures (such as Messages.it-IT.resx) which always worked fine.
The problem is that now, even if I removed all the .no.resx files (because generic cultures are not suitable for numbers/dates formatting), the ASP.NET runtime keeps throwing an exception at application startup that reads:
mscorlib thrown System.NotSupportedException
Culture 'no' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture.
There are no traces of the .no.resx files, but still the runtime keeps loading them. I tried several times to run iisreset , kill the ASP.NET worker process, clear the Temporary ASP.NET Files folder (%WINDIR%\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files ) with no luck. I even tried to remove and recreate the application in IIS, still with no success, but if I recreate it with another name, it works. If I copy the files over to another machine, all works fine.
Is there a way to completely reset the status of an application, or to completely reset the code cache that ASP.NET seems to keep even after restarting the machine?
|
|
|
|
|
hi
i want to use a function to select second 100 rows or third 150 rows. anyone know about it and can help me.
i have 500 records and i want select records numbers between 300 and 400 how doing it??
thank you
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
just write a sql statement using the between function
select * from table where field between 300 AND 400
|
|
|
|
|
select * from myTable where colname <= 400 and colname >= 300 order by colname
this code will return 100 rows which values of colname are between 300 and 400.
I Love T-SQL
modified on Thursday, May 1, 2008 6:34 AM
|
|
|
|
|
Try this:
select * from (
select
(select count(*) from action t2 where t2.action_when <= t1.action_when) as RowIndex,
t1.*
from
action t1) t3
where
RowIndex between 10 and 20
substitute your own table and column names as appropriate.
If you are using SQL 2005 you can use rank() over. I'll leave you to look that up as required.
|
|
|
|
|
This really should have been posted in the SQL forum.
|
|
|
|
|
Yes, you have right and I agree with you.
I Love T-SQL
|
|
|
|
|
Hi
I have the following code:
hl_email_to_.Attributes.Add("blahblah");
How can I set the cssclass through the above code? I know how to set indivdual factors such as background but how do I set the entire class?
thanks
|
|
|
|
|
Either:
object.Attributes.Add("class", "dummy");
or
object.CssClass = "dummy";
|
|
|
|
|
I am using asp.net with c#.
I have to create flowchart and some diagram.
can any one tell me how i will draw on my web page.
thanks
|
|
|
|
|
you will probably need a bespoke asp.net graph program, there are plenty out there
|
|
|
|
|
SVG is one option, Flash is another. Silverlight is a third. Finally, you can just buy a dedicated library.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have a HTML form that contains name,email phone number etc.
i have to make a aspx form that recieve text of HTML form.
Pls tell me How to send values to aspx form from HTML form and How to use these values in HTML forms
|
|
|
|
|
You could set up session values and do it that way or pass them through the URL
|
|
|
|
|
How to pass HTML text value to aspx page
|
|
|
|
|
Did you even read the answer ?
If the HTML page does a POST, I think you can read those values in your code behind. You can't put stuff in the session in a HTML page, that was just wrong. You CAN form a URL that means you pass parameters as querystring parameters, tho.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Good point of course you cant put a session in the html code my brain isnt working yet!
|
|
|
|
|
function getPrint(print_area)
{
//Creating new page
var pp = window.open();
//Adding HTML opening tag with … portion
pp.document.writeln('<title>')
pp.document.writeln('<base target="_self" />')
//Adding Body Tag
pp.document.writeln('');
//Adding form Tag
pp.document.writeln('');
//Creating two buttons Print and Close within a table
pp.document.writeln('');
//Writing print area of the calling page
pp.document.writeln(document.getElementById(print_area).innerHTML);
//Ending Tag of , and
pp.document.writeln('');
}
with above function i am able to print by passing div id .. i need to print without opening a new page in the same way by passing div id.
|
|
|
|
|
Can't be done. The only thing you can print in a website, is the entire window.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello
Friends
I need to find distance between two locations using Names or postal address using either Map Point or Google Earth
Please if any one knows how to do it ...i will be thankfull
NOTE: Getting Latitude and Longitude values using Postal Code or Name ...Can also Solve my problem
Thank You
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
|
Hi..
I am making a website using asp.net 2.0. I am using validators like required field validator & regular expression validator. Everything works fine on my local pc. But when i upload it on remote server, validators works fine but gives error "event is null or not an object" when i click on any linkbutton, on all pages where i have used validators with gridview.
I tried removing validators & in dat case everything wrks fine. I also tried uploading folder aspnet_client/system_web/2_0_50727 on remote server. But still it gives same error. Can someone give me some solution. Its very urgent please....
|
|
|
|
|
requiredfieldvalidator and regular expression validator which are related with those texbox u make grouping with same name
<asp:TextBox runat=server ID=ksearch ValidationGroup=ks CssClass=”txt”></asp:TextBox>
<asp:ImageButton ID=”ImageButton1? ValidationGroup=ks Width=38 Height=24 ImageUrl=”images/gobutton.gif” OnClick=”go” runat=server/>
<asp:CustomValidator ID=”cu” ValidationGroup=ks runat=server ControlToValidate=ksearch ValidateEmptyText=true ClientValidationFunction=”check” >
which are grouped by using ValidationGroup=ks
no knowledge in .net
|
|
|
|
|
u r using ajaxenabled website ?
if yes then try tagmapping....
Ashish Sehajpal
|
|
|
|
|
Hi my friends ,
my database is sql and it's work as good on local mode , but after copy web site , an error with web.config ,, sure it's is the connection string ,
I ask if I must change the connection string or not ,,,
when I take a domain on details I see :
MSSQL mssql136.win-servers.com
what is the new connection string to be right ..
jooooo
|
|
|
|