|
Please use Google for general questions like this. Once yo write some code and get stuck come back and we'll look at the code to help you.
__________________________
Don't drink and derive.
Alcohol and calculus don't mix.
|
|
|
|
|
Hi,
I need to send Emails from my ASP.NET webapplication. But when I used sender Email address="pubba2002@yahoo.com" ,then Emails has been sent for INBOX.
BUT sender Email Address="reservation@aboxe.com" ,it is sent for SPAM/BULK section.
Both Emails are valid .Can any one help me to send emails to INBOX?
My sender and reciever Email addresses are valid.
Thanks in advance.
|
|
|
|
|
|
|
Vasudevan Deepak Kumar wrote: What does the article (http://www.codeproject.com/useritems/aspnet_Enter_key_problem.asp[^]) you quoted is to do with 'Spam Section' and good HTML Emails query?
Well, that article describes how to use an authenticated SMTP server for sending mails. This will avoid delivering mails to spam.
|
|
|
|
|
Yahoo has something called DomainKeys for Sender SMTP validation. I think it is also a free framework. Did you consider using that?
|
|
|
|
|
hi friend i am binding dropdown list with ms acess but it not bind properl. please tell me where the problem in coad.please help me.
Code:-
Try
Dim str As String = "select ActivityName from ActivityType"
Conn = New OleDbConnection(connectionString)
Conn.Open()
Cmd = New OleDbCommand(str, Conn)
Reader = Cmd.ExecuteReader
uxdrpAcitivity.DataSource = Reader
uxdrpAcitivity.DataBind()
Conn.Close()
Catch ex As Exception
End Try
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
Use Dataset and Datatable for binding.
or if you would like to bind with data reader then use
objreader=ddSqlCommand.ExecuteReader(CommandBehavior.CloseConnection);
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Hi there,
And if i am not wrong.
I think you need to add two more lines.
uxdrpAcitivity.DataSource = Reader
uxdrpActivity.DataTextField=""
uxdrpActivity.DataValueField=""
uxdrpAcitivity.DataBind()
and yes
cmd.Connection.Dispose()
Might be this can be your issue..
try it out
Cheers
Menon
|
|
|
|
|
Hi,
I am having a couple of issues with this control. I'm using .NET 2.0. Here is my declaration:
<asp:CreateUserWizard
ID="FCreateUser"
CancelButtonText="Cancel"
CancelDestinationPageUrl="../../Default.aspx"
CreateUserButtonText="Register"
CreateUserButtonStyle-CssClass="formbutton"
Width="100%"
runat="server">
<WizardSteps>
<asp:CreateUserWizardStep ID="FCreateUserStep" runat="server">
<ContentTemplate>
...
...
...
</ContentTemplate>
</asp:CreateUserWizardStep>
</WizardSteps>
</asp:CreateUserWizard>
The register button is to the right, I need it to be to the left. How do I do this? And the cancel button does not display at all. How do I get it to display?
Please can someone help?
Regards
|
|
|
|
|
how to secure files (pdf), the recomendation is httphandelers, it works absolutely great.But now an new issue has been arrived.
What i did , i registerd ISAPI extension (.pdf) in IIS 6.0,to let process the request to ASP.Net runtime, there i used context.response.transmitfile to send the file to the browser, as client will be viewing file in browser not downloading, but in case when file is bigger than 20 MB ,(file can be upto 100MB), it takes time, obviously it should take.
But when we redirect or request pdf file without registering ISAPI extension, browser starts showing file, means you see instantly first page or few pages while other are downloading, how to achive this kind of performance, and this kind of behaviour, with letting asp.net runtime process the request.
I hope you guys get my question & if any explaination needed please ask.
Note: Same issue with uploading files with .Net uploader control, even after we change machine.config file size attribute, i want suggestion about better performance, when many users are doing both uploading, and viewing files from repository.
context.Response.Clear();
context.Response.AddHeader("content-disposition", "inline;filename=" + values[1] + ".pdf");
context.Response.ContentType = "application/pdf";
context.Response.BufferOutput = false;
context.Response.TransmitFile(physicalfilepath);
context.Response.Flush();
context.Response.Close();
context.Response.End();
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
Hello,
I want to set up a web service which return critical financial information from my ASP.NET eCommerce Website and I want to call that service from my Windows Application. Now, I want to hide the web method signatures from other people as this Web Service is only for my own usage and for security purpose, I dont feel safe to expose this webservice to the public. Now, is there any way I can hide the service ?
Thanks
|
|
|
|
|
Do you have some kind of authentication/authorisation set up for your web method?
|
|
|
|
|
Thanks for your reply.
In my web method, in have 2 string input, user name, password so when the remote application connects to this web service and provide wrong user name and password as arguments to the method, then the web method wont return the values. But It may be possible for the hackers to easily break this methods so I wanted to hide the method signature completely. I am new to Web Service so I was wondering if the Web Service is meant to be public for all the time ?
|
|
|
|
|
|
Do you have a intranet? IF you do you can use that instead of putting this webservice on the internet?
IF you have to use the internet for your web service. First remove all disco files. These files can exist from the root of the web server to the web service level. Make sure you don't have a wsdl. On top of all of that you should probably use some form of authentication to make sure only authenticated users can use your web service.
Hope that helps.
Ben
|
|
|
|
|
Hi i have a form and i put validation controls(required field validator ) to many controls..
and causes validation is true for the submit button..
On the local its working properly but when the upload te page online its giving error
"Object reference not set to an instance of an object. "
Its not performing the validations...
can some one help me out please
hepsy
|
|
|
|
|
I want to make a desktop-like splash screen in the start of my web application.
This is small centered window that show a flash intro, which closes himself at the end of the flash. It's visually important that the window should have no border frame.
so in the page load of my first application page i do:
Response.Write("window.showModalDialog('../SplashScreen.aspx', '', 'unadorned=yes;');");
which opens that window just the way I need but with the window borders (blue border and a title and a red 'X' button), even though I specified 'unadorned=yes;'.
I know explorer only allows 'unadorned=yes;' for trusted applications.
also, I know our company has a trusted application certificate from microsoft.
So I need technical assistance on how to acheive the no border effect.
Also, how to make the flash close that window or make a server request.
|
|
|
|
|
I would dynamically load a div, embed an iframe and pass the URL to the iframe. YOu then CSS the div as much as you want. No horrible popups either.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
|
Hello Friends
i want to edit the perticular Coloumn in Dtat grid,that means i want to disable some coloumn for particular time.how to disable the coloumn plz help me.
Mohan t working for N.I.C
|
|
|
|
|
make the other columns readonly
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
how to i put readonly in particular coloumn and particular time
Mohan t working for N.I.C
|
|
|
|
|
did you mean you want to make column readonly at runtime?
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
Hello friends,
I got following error in my project after uploading. What went wrong?
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load the assembly 'App_Web_j9olkbjh'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ page language="C#" autoeventwireup="true" inherits="Webmaster_AdminLogin, App_Web_j9olkbjh" debug="true" %>
Line 2:
Line 3:
Source File: /test/webmaster/adminlogin.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
I am using Vs 2005 and sql server 2005..Asp.net 2.0 Please help me.
|
|
|
|