|
www.google.co.uk
Then type "developing an e-commerce website"
|
|
|
|
|
www.amazon.com is a good place to start for ideas. A good ASP.NET book is what you need for the implimentation details.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i want put string in string means i my text has "" in it how can put in between ""?
"<div id="divPrint""
|
|
|
|
|
Can you explian your problem a bit more?
Do you mean you want to put a string value in the div id?
|
|
|
|
|
no thats easy but i forgot it.
i want do this
string a="hello "martin"";
i want martin be in ""
|
|
|
|
|
Ah, thats a much better explanation of what you want rather then that mish mash you wrote in your first post
try this
stringname = "Title:" + "''Name''";
its not quite what you want, but close
|
|
|
|
|
sorry try this:
string name = @""" word """;
use @ then three "
|
|
|
|
|
You ought to escape the nested string, according to the particular language's escape sequences.
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
|
|
|
|
|
use ControlChars.quote function to put quotes in string..
e.g.
strJavaScript="<div id=" + Controlchars.quote() + " divid" + Controlchars.quote() +" />";
cheers !
Ashish Sehajpal
|
|
|
|
|
Hi Friends..
I am having a login page (.aspx) which is a pop up page..Now i maintain a session in this login page to hold the username in the session..Now i need to retrieve this session in another page which is having 3 iframes..I need the session variable in the 3rd iframe..But when i try to retrieve i am getting "nothing" in the session..Wat might be the problem..? i am developing in .Net 2005 using atlas framework.
Regards,
Balaguru
|
|
|
|
|
Just a general point, but try avoiding pop-up windows, some users browser block this feature.
Can you show us the code for the iframes
|
|
|
|
|
The following is third iframe in which i call a .aspx page.The code is as follows..
In login page Session value stored : Session("USERID") = gstrUserId
In Game Page (3rd Iframe page) session value retrieved : lstrid = CType(Session("USERID"), String)
(or)
lstrid =Session("USERID")
But i am getting "nothing" in lstrid , when i execute this with the help of breakpoint
Wat could be the problem.?
Thanks & Regards
Balaguru
|
|
|
|
|
r u using any classes in between i.e. BLL / DAL etc...? this is the only issue with such kind of problems..
other chances may be that somewhere any dynamic class code i sgetting changes...means your are creating some compilable code dyamically...
third, may be there is some event which is resetting your session..
{ptu some code in global.asax file for catching session event}
Ashish Sehajpal
|
|
|
|
|
Dear all,
i have a pdf file in some directrory of project(say mysite/pdfdirectory) and a pdf file inside the directory i have a pdf file inside directory adnd name of file saved in database now i want to show this pdf inside a particular div in a web form. the same thing works(for image file) when i add asp:image inside div, but its not working in the case of pdf. Can u please show me the path on how to do it i saw many exaple alll with Respose.writefile(fileuplaodpath) i think this shows the pdf file inside whole browser
|
|
|
|
|
check this out:
http://forums.asp.net/t/128005.aspx
http://forums.asp.net/p/1036628/1436084.aspx
|
|
|
|
|
Hi,
I used this code the project contains no error.
but the mail is going to the inetpub\mailroot\Queue folder not to the email id we provided. Is there any settings, smtp server is also running
using System.Net.Mail;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
/* create the email message */
MailMessage message = new MailMessage("senders@email.com",
"recievers@mail.com", "Testing",
"Test Mail Message ");
/* create SMTP Client and add credentials */
SmtpClient smtpClient = new SmtpClient("172.19.76.174");
smtpClient.UseDefaultCredentials = false;
/*Send the message */
smtpClient.Send(message);
Response.Write("Email Sent");
}
}
Asif
modified on Tuesday, May 6, 2008 6:41 AM
|
|
|
|
|
check weather you Smpt sever allows mail or not. if yes the check the configuration.
Best Regards
-----------------
Abhijit Jana
"Success is Journey it's not a destination"
|
|
|
|
|
Thanks,
I checked the smtp server but i found everything ok, unable to know how this is accepting mails. please help this
Asif
|
|
|
|
|
|
try using a localhost server to see if the code works for that first
Then if your server is on the same network try specifying the server name rather then IP address
|
|
|
|
|
i am generating a text file and storing it in a temporary path and then propmting a "save as" dialogue box wherein the user can browse for a path and store the text file at the desired location at user's end.
the code that i m using is:
Response.ContentType = "text/plain"
Response.AddHeader("Content-Disposition","attachment;filename=Script.txt") Response.TransmitFile("D:\Script.txt" )
Response.Flush()
Response.End()
and on the same page i have a hyperlink button which should redirect the user to another page.the text file is being saved at the browsed location and the hyperlink button is also redirecting to the desired page..but the URL is not getting changed as that of the redirected page.but when i try to do the same with a pdf file then the URL is changing to that of the redirected page.
Pls tell me how to get the corresponding redirection url when saving a text file..
|
|
|
|
|
hi,
I'm working on a web site , my pb is how to display a dynamic form that is described by an xml file
I work with vb 2005.
I ask if someone can help me .
thanks.
|
|
|
|
|
khalil200 wrote: how to display a dynamic form that is described by an xml file
what does the XML file contain ?
does it contain some Control name or what?
Best Regards
-----------------
Abhijit Jana
"Success is Journey it's not a destination"
|
|
|
|
|
the xml file ontaint the form description: what it will containt
<definition>
<category>
<element>
"element description"
....
...
of element it may be any component like textbox , radiobutton, textlabel, table, ....
I need to display a dynamic form who go with its definition.
|
|
|
|
|
I want to call a function defined in one frame from another frame. I dont understand, how to call a function in one frame from another frame.
Any help please!!
|
|
|
|