|
Hi all,
The following code snippet written in asp.I need to convert it as asp.net and language C#.I have to store the strPrevComplete into textbox.Please help.
strPrevComplete = vbcrlf & vbcrlf _
& "--------------------------" _
& vbcrlf _
& "Sent: " & strPrevDate _
& vbcrlf _
& "From: " & strPrevFrom _
& vbcrlf _
& "To: " & strPrevTo _
& vbcrlf _
& "Subject: " & strPrevSubject _
& vbcrlf & vbcrlf _
& strPrevBody
else
strPrevComplete = ""
end if
|
|
|
|
|
The task you are trying to accomplish is really basic, i suggest you try to do it yourself
Alexei Rodriguez
|
|
|
|
|
Hello new to asp.net and i am working on one assignment, I have one image which i want to use as a page background and it's size is 1158 x 777 bitmap image, I have set image as a background and it displays on the web page but from right side and bottom side is not display on web page so how can i put scroll bar to move image up and down and side ways as well
waiting for your kind help
|
|
|
|
|
you are putting it as page BackGround,not as Image on the page.
you cant put scroll bar just like that.
scroll bar will come if any object exceeds the page width or height.
So here is a workaround for this
create <div height="height of the image" width="width of that image" >
then your page content comes here
</div>
the page will show complete image in the background with scroll bars.
Ashish Agrawal
Web Developer,
Aurigo Software Tchnologies,Inc
|
|
|
|
|
hello sir
thanks for your rep.
i have tried that but still it's not working
here is the code i am using and i am not sure that is it the right
<body background="homepage_notext.bmp" >
<div height="1158" width="777">
</div>
</body>
but under height and width it shows red line
waiting for your kind rep.
|
|
|
|
|
In an aspx page,am having a gridview, which has a checkbox template field. For my gridview, i have to provide navigation to checkboxes.
so, if return key or down arrow key is pressed, then i manually change
to TAB KEY. Thing is, while pressing UP arrow key,
i have to go up. this is possible with SHIFT+TAB key..
plz help...it is urgent.
if(event.keyCode == 13 || event.keyCode == 40)
event.keyCode = 9;
if(event.keyCode == 38)
{
//if up arrow is pressed, the focus is should go up.
//YET TO BE IMPLEMENTED...
}
Muthu
|
|
|
|
|
|
How to validate pin code of india and fax through regular expression validator.
|
|
|
|
|
for pin code,You can use like this
<asp:TextBox ID="txtPincode" runat="Server" Columns="40" />
<asp:RegularExpressionValidator ID="revPincode" runat="server" ControlToValidate="txtPincode" ErrorMessage="enter correct pincode" validationexpression="^.+\@.+\..+$" Display="static" SetFocusOnError="true"></asp:RegularExpressionValidator>
Check the links for more
[^]"> [^]">
You will get a lot from any begginers book on regular expressions too.
Cheers!!
Brij
|
|
|
|
|
Hi,
Can anyone give me anidea of how to receive mail from smtp using asp.net2.0
Regards,
sbua
|
|
|
|
|
sbua wrote:
Can anyone give me anidea of how to receive mail from smtp using asp.net2.0
Did you search it in google before post it. Google Says[^]
cheers,
Abhijit
|
|
|
|
|
Hi Abhijit,
I think he is asking about recieving mail.You'll get a lot for sending a mail.What about recieving the mails?
Cheers!!
Brij
|
|
|
|
|
Brij wrote: I think he is asking about recieving mail
Yes.
Brij wrote: You'll get a lot for sending a mail.
That's also true.
Brij wrote: What about recieving the mails?
This question does not have any base. I have already explain to him.
cheers,
Abhijit
|
|
|
|
|
Hi,
yes but most of the result shows only for sending mail from smtp. I want to track receiving mail from smtp.
Thanks
|
|
|
|
|
sbua wrote: yes but most of the result shows only for sending mail from smtp.
Yaa..That's True
sbua wrote: I want to track receiving mail from smtp.
What does it mean by receiving mail ? SMTP (Simple Mail Transfer Protocol) is just a protocol which just used to send and receive between mail server. It does not have any relation with receiving mail. If you want to retrieve mail from server like GMAIL , then you need there Web API to access there mail.
Hope its clears your doubts !!!
cheers,
Abhijit
|
|
|
|
|
Hi,
I want to implement mail concepts in the newly developing site. For eg if the users send mails to this mail id emailsender@newsite.com then i have to read those mails from newsite.com
Thanks
|
|
|
|
|
sbua wrote: Hi,
I want to implement mail concepts in the newly developing site. For eg if the users send mails to this mail id emailsender@newsite.com then i have to read those mails from newsite.com
Ya that I have alredy understood from your last response. If you want to implement mail concept with your newsite.com, First of all you need a MailServer. You can developed your own mail server or you can use mail server like Microsoft Exchange Server. Then after you can start your development of mail Client Application. newsite.com is your domin name. So for maintaining user and authentication of user you may need to use Active Directory also. If you want to implement using Exchange server, then you need learn about EWS (Exchange web service programming ) for send and retrieve email.
Hope this give you a idea that what you needs !!!!
cheers,
Abhijit
|
|
|
|
|
Hi,
I am using smtpout.secureserver.net to send mail to the users. How can i read the received mail from the application.
Thanks
|
|
|
|
|
sbua wrote: I am using smtpout.secureserver.net
Sorry, I don't have any idea on that.
cheers,
Abhijit
|
|
|
|
|
You need to write or use a mail server on the back end to receive mail, and then store that received mail into a database. Then you are just writing a normal data driven application to show the mail. Recieving mail actually has nothing to do with ASP.NET, not a single thing.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
Christian Graus wrote: You need to write or use a mail server on the back end to receive mail
I have no idea about mail server. Give me an useful link to learn about mail server briefly.
Thanks
|
|
|
|
|
Hi,
I want to change my screen color at runtime,help me..
|
|
|
|
|
jaraldumary wrote: I want to change my screen color at runtime,
which screen color ? are you talking about theme change ? if yes the try to learn about css and skin in asp.net. There are lots of link will be available on that in google .
cheers,
Abhijit
|
|
|
|
|
yes theme color,how to change the color of the form in runtime, or else send some links to learn..
|
|
|
|
|
your basic issue is that you need to understand ASP.NET. It's an engine for HTML, HTML is what the browser shows. So, you need to learn how to set the color of a page of HTML. The web abounds with such info.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|