|
|
than how can i do this? plz help me? thanks
|
|
|
|
|
probably a search on the net will find you a third party piece of software
|
|
|
|
|
Does anyone have any clue of the code used to get a user's IP address?
At the moment i'm using
HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
but i'm having trouble implementing it and am not sure if it's the right method to use
Thanks
"Sex is not the answer, it's the question and the answer is yes"
|
|
|
|
|
How about...
Request.UserHostAddress()
|
|
|
|
|
Thanks Sherin, can't believe i missed that one.
"Sex is not the answer, it's the question and the answer is yes"
|
|
|
|
|
|
Hello,
How to setup and deploy a webApplication..
I developed a small webapplication, now i want to deploy it in server..
i have a website(ex:- www.exsite.com)and i have userid and password(FTP) for this site,
How to deploy that webapplication in to this site...
Please help me...
Thanks,
Pinna
|
|
|
|
|
|
So, how do y'all implement inserts when working with a GridView?
|
|
|
|
|
Possible you could be a little more specific? Do you mean on the backend, or how do we display empty boxes?
|
|
|
|
|
I actually meant to ask in general. How do you add rows on the front end; using a footer or other empty row, or some people add an empty row on the back end then render it for editing, etc. I'm very new to this fly in the ointment of ASP.NET and I'm not looking for solutions, but just a feel for what's done out there.
|
|
|
|
|
We've always used the footer, which worked a lot better in the datagrid. We've had to do a bit of fiddling to fix the problem where the footer doesn't show if there's no data in the grid (i.e. adding the first record), but hey...
|
|
|
|
|
hai,
i am doing newsletter concept.i want to know how to read mail in inpox.if you the answer replay to me...
thank you !
|
|
|
|
|
sugunavathysubramanian wrote: how to read mail in inpox.
Do you mean inbox?
If so you cant just read someone elses e-mails from an inbox.
Can you explain again what you want?
|
|
|
|
|
hai,
i am doing check mail.if mail go to inbox or, i had any failure notice in my inbox.that is a concept.if you kown the anser replay to me.
thank you.
|
|
|
|
|
hai,
i send list of mail to client email id.i check mail go to client inpox or i had any failure notice.
thank you
|
|
|
|
|
I'm not sure what you are asking is possible. You can send e-mail using asp.net but I dont think you can check if an inbox recieves new e-mail
|
|
|
|
|
hai,
i want do check failure notice in my inpox.
if it's possible or not,tell me now..thank you.
|
|
|
|
|
sugunavathysubramanian wrote: inpox
sounds nasty
|
|
|
|
|
Hi all im stuck and really cant solve this one here goes...
In asp ive got the following asp page that dumps a cookie with following name example "cronjé" when i read the name it reads fine after adding the nessary encoding type see below.
Dim Name, Result
Name = "cronjé"
Response.charset="utf-8" ' // important dont omit this.
Response.Cookies("TestCookie").Expires = Now + 60
Response.Cookies("TestCookie")("test") = "1"
Response.Cookies("TestCookie")("shopperName") = Name
Response.Cookies("TestCookie").Domain = "www.cookiemonster.com"
Result = Request.Cookies("TestCookie")("shopperName")
Response.Write(Result)
Output : "cronjé" this works fine as it dumps the cookie and reads it correctly no problem here.
Using ie cookie viewer the value looks like this "shopperName=cronjé"
My problem:
Im maintaing a asp.net website that uses this cookie, when it reads it it does not display the name correctly.
private void ReadASPCookie()
{
HttpCookie c = Request.Cookies["TestCookie"];
if (c != null)
lblName.Text = c.Values["shopperName"];
}
the output displays the name as "cronj%C3%A9" i dont understand why its doing this
i even tried doing the following with no result.
in the web.config i added the following encoding. still nothing
<globalization
fileEncoding="utf-16"
requestEncoding="utf-16"
responseEncoding="utf-16"
/>
i even tried setting the Response.Charset = "utf-8"; still nothing
Can someone plz help me ?
Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.
modified on Tuesday, July 22, 2008 4:43 AM
|
|
|
|
|
No promises, but instead of your:
Response.charset="utf-8"
try something along the lines of:
Dim enc As System.Text.Encoding = System.Text.Encoding.Default
Response.ContentEncoding = enc
You may want to try different encoding values, but I've found, certainly as far as writing text files is concerned, that explicitly setting it to "Default" solves these sorts of problems.
|
|
|
|
|
Problem solved
private void ReadASPCookie()
{
HttpCookie c = Request.Cookies["TestCookie"];
if (c != null)
lblName.Text = HttpUtility.UrlDecode(c.Values["shopperName"]);
}
Im not sure if HttpUtility.UrlDecode works for all special characters, but for now it solves my problem.
Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.
|
|
|
|
|
Hi,
I have an application, which is running successfully with no errors using the Visual Studio 2005 servere; i.e: no errors when I run my App. inside the VS 2005. BUT when I copy the files to be run using the local IIS, no data appear in the Combo Box.
any way, I've created an SqlDataSource to connect to some table in the Data base, and then added a combo box and linked between this combo box and the SqlDataSource.
As I told you, every thing is working well when I run the Application inside the VS, and the data appears correctly, but there will no data when I run the application using the IIS.
Any Idea??? Any one faced this before???
Kind Regards
OBarahmeh
|
|
|
|
|
obarahmeh wrote: using the local IIS
Is that on another server yea? i.e. not your local machine?
Is there an error when you see no data?
Have you tried displaying data in another control or creating a simple form to test the connection?
|
|
|
|