|
use SQL cache dependency with page output cache. whenever there will be change in database table data your page data will be automatically reacreated, thus solving your problem. Google for it, you'll find many articles
Regards,
Kapil Thakur
(Where's there is Kapil , there is a way) - thakur.kapil@gmail.com
|
|
|
|
|
tis is my code in class file called langsetting
here i am not getting value in session("lang")
Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim ci As CultureInfo
Thread.CurrentThread.CurrentCulture = Session("lang")
rm = New ResourceManager("Resources.Strings", System.Reflection.Assembly.Load("App_GlobalResources"))
ci = Thread.CurrentThread.CurrentCulture
LoadStrings(ci)
End Sub
|
|
|
|
|
anbusenthil wrote: Thread.CurrentThread.CurrentCulture = Session("lang")
Where did you stored the Session("lang") value?
|
|
|
|
|
session("lang") is nothing
i hav assigned value in a button click
lik
session("lang") = thread.currentthread.culture
|
|
|
|
|
Are you getting any exception ?
Are you sure to set the session value anywhere before using this place ?
|
|
|
|
|
hi all,
how do i know the exact targetserverurl..
when i give something like:
http://localhost/testreport it is accepting
but when i click on deploy of the report it gives an error msg as
<big>
<b>A Connection Could not be made to the report server http://localhost/testreport</b></big>
Help me out.......
Regards,
Koti
|
|
|
|
|
Hi to all,
My project has reading mails from mail server.
the mail server is not in OUTLOOK. Its like a Exchange server like gmail,yahoo, Organisation server & so on,....
I am reading all the mails & save the attachments.
I am Using the sample Application is.,
http://www.codeproject.com/KB/IP/Pop3MimeClient.aspx
K., My question is How to move read mails from inbox to another folders through .Net code???
Thanks,
nkmkrishna.
|
|
|
|
|
any bodies know the answer???
How to move read mails from inbox to another folders through .Net code???
|
|
|
|
|
nkmkrishna wrote: any bodies know the answer???
How to move read mails from inbox to another folders through .Net code???
Please DON'T Shout. Here every body trying to help all. If any body knows the answer he/she will give you. You are asking the same question multiple times in a day and Even you are not waiting for an hours and posting a new thread. Did you read the last thread that you have post.
Please be quite and keep patient.
I will suggest you to read the forum guideline before you post the next question.
Please read Forum Guideline
Thank you.
|
|
|
|
|
WE're not answering you because this is not an ASP.NET question.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
when i'm trying to run my asp.net website"with sql db"
this error appears ,
i checked the server and i didn't find any option allows remote connections
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
any help please ?
|
|
|
|
|
EmZan wrote: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
This is one of most command error that you find when you are trying to connecting with Database. Which version of SQL Server are you using ?
|
|
|
|
|
i'm usin microsoft sql server 2005 express
|
|
|
|
|
|
that is my question man
|
|
|
|
|
EmZan wrote: that is my question man
The link that I have provided to you explained how to configure the SQL Server for remote connection
|
|
|
|
|
lol i thought it's a post not a link
thanks
|
|
|
|
|
If you are using SQL 2005 or above then just go to SQL Server Configuration Manager >> SQL Server Network Configuration >> Protocols for SQLExpress. Enable the TCP/IP protocol. Restart the SQLExpress service.
There is no foolish question, there is no final answer...
modified on Monday, June 15, 2009 9:42 AM
|
|
|
|
|
i did that but it didn't work
|
|
|
|
|
Hi..
I have create a function named public void UnreadMail() in MasterPage.
There is a page named MailingDetails.aspx. This page is created with Master Page.
I have called UnreadMail() in MailingDetails Page dynamicllay for refreshing only particular of masterpage's that function.
It is like ....
this.Master.UnreadMail();
but it can't refresh of master page's that particular data even if it run successfully.
plz, suggest me where's the problem with this issue.
Thanks.
Regards,
PUJA FALDu
|
|
|
|
|
Place this in your child page
<%@ MasterType VirtualPath="~/MasterPage.master" %>
and call the function as you have done.
himanshu
|
|
|
|
|
hi...
I have already register this tag in .aspx page but then also its not work.
Any other issue, can conflict with this one? kindly suggest...
thanks.
|
|
|
|
|
What do u mean by can't refresh master page's function .
What are you ding in that function
himanshu
|
|
|
|
|
hi..
i have used modalpop up in master page and its shows data with, public void UnreadMail() by masterpage.master.cs page.
i have datagrid in MailingDetails.aspx page which contains this master page.
now in click of one record of datagrid,it opens NewPage.aspx.
NewPage.aspx does not contain master page.
I want to refresh UnreadMail() which is called in MailingDetails.aspx page.
Thanks.
|
|
|
|
|
I like to create textBox dynamically by pressing a button. But I can’t getting the textbox or its value back after a postback occur. I am creating New textBox lile bellow...
Partial Class postback
Inherits System.Web.UI.Page
Dim tx As New TextBox
................
................
Protected Sub btnNewAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnNewAdd.Click
PlaceHolder1.Controls.Add(tx)
End Sub
..............
...............
Now I pressed a 'save' button and try to show dynamically created text box's value in label.But it is not happening. Also textBox vanishes. My code is bellow...
Protected Sub btnSave_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSave.Click
Label1.Text = tx.Text
End Sub
..........
End Class
Please help me to achive this.
|
|
|
|