|
Yes you can use session value
But why dont you use querystrings instead??
Alexei Rodriguez
|
|
|
|
|
How would I go about doing that? Thanks!
|
|
|
|
|
You either need to buy a book or use Google. That is a very basic question.
|
|
|
|
|
Well to put it that way I'd rather use a stored procedure. And no i don't need to buy a book. Read the entire question do u have any suggestions?
|
|
|
|
|
Help,
Something happened and IIS has decided that it can no longer process ASP.NET pages. Instead, it just sends the text of the aspx page to the browser. This is on XP Pro SP2 running a solution built in Visual Studio 2005. The virtual directory in question has its .NET version set to the 2.0 framework. How do I fix this?
Will
|
|
|
|
|
aspnet_regiis -i
from the appropriate framework director (command prompt)
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Cool. Thank you. That fixed all but one of them. And that one is probably installed improperly.
|
|
|
|
|
Hi guys,
I try to use Cache to store email's content which is used frequently throughout whole Web application,
The email was designed to put into a htm file, everytime when the application send email the system will read from the htm file, so the Cache is going to reduce some of IO overhead.
Cache("LINKASCHOOLEMAIL") = "emaill content"
But the problem is if I want to change the content of the email, the changes won't be reflected to cache until I reboot IIS (I can't do in this way because there are several Web applications in that IIS).
So is it any ways to resolve my problem?
Many thanks
Ming
|
|
|
|
|
What happens if you just write:
cache ("key") = "New email content"
Why would you need to restart iis?
Alexei Rodriguez
|
|
|
|
|
because only when IIS is restarted, the cache can be emptied. The reason I want to renew the cache is I want the changes on email being able to be reflect to cache.
'Save email to cache<br />
If Cache("LINKASCHOOLEMAIL") Is Nothing Then<br />
Cache("LINKASCHOOLEMAIL") = "Read email from file"<br />
End If<br />
Many thanks
|
|
|
|
|
I just found that the cache can be emptied if any changes happened on Web.config
|
|
|
|
|
I think im missing something
I dont get it
Why cant you just change the value of a cache element??
Doesnt 1.1 have this method?
Cache.Remove("Key")
Alexei Rodriguez
|
|
|
|
|
Thanks Alexei,
Image that when I tried to deploy another version of application, which the email content(physical file) used by application has been updated, but the code still reads old value from cache instend of the new email file because cache("key") is not Nothing.
Ming
|
|
|
|
|
Im not sure if you can use this in 1.1
Take a look at CacheDependency
Add you email file as a cachedependency
Ass soon as you change that file, the cache item will be removed from the cache
Alexei Rodriguez
|
|
|
|
|
Hi, iam developing recruitment application for my client , my problem is that my client inputs all questions in excel sheet and then upload it to database which is mysql , the questions contains some special characters like alpha, beta, gama ,superscript, subscript how can i store these formats in mysql db and the format which is stored should be shown same to the students who are giving exams
|
|
|
|
|
When saving some special chars in SQL one needs to use a nvarchar instead of varchar datatype
There must be some datatype in mysql that can hold unicode chars
Alexei Rodriguez
|
|
|
|
|
Hi
Is there any know how to resize image and reduce the storage as a thumbnail.
I am woking on ASP.net with C#
Thank you
|
|
|
|
|
|
Thanks..
That was great...
It served my purpose
Thank you very much
|
|
|
|
|
Hello all,
I have developed a website and it is live currently. Site is working properly from last two month. But from last 4 to 5 days in one of the page in my site i am getting following error and data will not get displayed on page. I am binding data to datalist control> Everything is running from last two month. When i run the application on local i m not facing any problem. Can anybody know about following error. Why this is coming. Is there is any updation in framework 2.0 from microsoft which is installed on my web hosting server and because of this my code is having some problem. It goes in exception while binding the data to datalist.
The error is as follow
System.Data.Common.DataRecordInternal.get_Item(System.String)
Please help me to solve this the detailed error is as follow..
In need some information about this error.
<cosystem.data.common.datarecordinternal.get_item(system.string)reply() at="" system.reflection.methodbase.performsecuritycheck(object="" obj,="" runtimemethodhandle="" method,="" intptr="" parent,="" uint32="" invocationflags)<br="" mode="hold"> at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.InternalLateIndexGet(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateIndexGet(Object Instance, Object[] Arguments, String[] ArgumentNames)
at ASP.forum_problemdetail_aspx.__DataBinding__control20(Object sender, EventArgs e) in d:\hosting\phatmath\Forum\ProblemDetail.aspx:line 234
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.BaseDataList.DataBind()
at Student_ProblemDetail.reply()
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Check you can connect from web server to database
Check that all the addres info for the servers are correct
|
|
|
|
|
Yes i can connect to database. All the interfaces excluding is running fine.Data on all pages will get retrieved and displayed properly.
Thanks
Rahul
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Dear All
I have a dropdownlist called ddlProduct (it will be fill by productName from product table)
I have two button called btnADD, btnFinish
First time : when you click the btnAdd then will fill a grid view called gvProduct (without adding data into database)
Second time: when you click the btnAdd then it will fill a grid view called gvProduct (without adding data into database)
trird time...........
.
.
.
Last Time
Now I will click btnFinish
when i click btnFinish then it will insert all data into OrderDetails (database table)
The project I want to do is simillar to OrderPlacement like Customer can select Product name from the DropDownList when customer click Add button
then it will shows on the right panel (customer will add more that 5 product) what he added into his basket including price
When he click submit then all data will be added into database and order will be placed
Any instructions will be really helpful
Thanks in advace
Sarfaraj
Sarfarj Ahmed
|
|
|
|
|
Sarfaraj Ahmed wrote: Any instructions will be really helpful :
www.google.co.uk
|
|
|
|
|
thanks, could u please tell me wot should i put on google search engine
Sarfarj Ahmed
|
|
|
|