hi am developing a online test application
i need to fix up a time for the test and redirect to result page as soon as the test is over
how can i do this
i think we need to set up a session timeout property
can anyone clearly explain me how to do this with the code
Regards
Rama
User Profile
Collapse
-
how to set session timeout
-
how to develop online test
can anyone give an idea like how to develop an online quiz
how can i enter questions
how to match entered answers with the ight answer
and get the result
just give me an idea
plz help me on this regard
Regards
Rama -
extract crystal report to disk
hi am new to crystal reporting
i want to export the crystal report and send it in mail attachment
my crystal report has four pages ie four detail section
now i want to export this report to disk
i used the following code but i couldnt find the pdf file in the directory
what could be wrong
plz help me on this regard
rd is nothing but report document... -
export crystal report to mail
i have to generate bills for the specified candidate
so in order to generate a single person report i wrote the following code
Datatable dt=new Datatable;
DataAdapter da=new DataAdapter();
da.Fill(dt,Grid view.Selectedva lue);
dataset ds=new dataset();
ds.Tables.Add(d t);
ReportDocument rd=new ReportDocument( );
rd.Load("Crysta lReport.rpt");... -
how to send mail in asp.net using microsoft outlook
how can i send mail using microsoft outlook in my asp.net application
i googled for information and found tht
i need to include Microsoft Outlook11.0 object library component into my application and start working like
outlook.Applica tion
but i dont have this component in my COM library
what can do for this
is there any other way to send mail using microsoft... -
mutiple xml feeds
this is one feed
- <category name="Televisio n" timeGenerated=" 2007-05-28T23:21:13" >
- <event name="Channel1" eventid="573512 .20" date="20090701" time="1000" meeting="" >
- <televisionty pe name=" Outright" inrunning="0">
<TV name="Videocon" id="16007131.20 " price="$222"... -
how to read multiple xml feeds
hi
i am developing a web application where i have to read multiple XML feeds amd store their values to database
but i require the same type of fields from multiple XML feeds like
for example
i would require fields
1.username
2.location
3.subject. etc...
all the feeds have these values but in different... -
how to autogenerate date
i am using a gridviw to display values from database
and using formview to insert values to gridview
i have the following fields in formview during insert mode like
Name :
StartDate:
EndDate:
now when i enter the startdate
the Enddate should automatically add 7 days to startdate and get inserted
if its textbox i know we can add like
DateTime.Now.Ad d(7);... -
how to set the path for directory
hi am developing an application to upload images to gridview which i have completed ,now i need to create directories and subdirectories to upload the images according to their type i have written a class to read all directories like
public Classname[] Getdirectories( string name)
{
string basepath=System .Web.Hosting.Ho stingEnvironmen t.ApplicationPh ysicalPAth +"images"+"/"+name;... -
Directory class
in Directory.Move method
can the source directory name and the destination directory name be same?
plz help
Rama -
Directory.Move method
i am developing an asp.net application
i have read all the directories from my solution and placed in a gridview
i am trying to rename the directory name using Directory.Move method
on edit mode when i give the same name as that of the existing name it throws me an error like
both source directory and destination directory cant be of same name
is it not possible to rectify this error... -
System.NullReference Exception
i have written the following code to call a method in a class like
in the aspx.cs page
List<string> surls = new List<string>();
Cweb.GetMainUrl s(document,ref surls);
Response.Write( surls);
in the Cweb Class page the coding is like
public static void GetMainUrls(Htm ldocument doc,ref List<string> urls)
{
//Some functionalities
}... -
Blank solution
i have created a blank solution and included two projects to them
i want to know whether we can link webpage from the first project to the webpage of the second project.
if yes how?
if no is there another way to achieve this?
plz help
thanks
Rama -
explanation for the code
i use the following code to login to a website
can anybody help me on this
i can login to yahoo website with the below code
i got this code from one of the forums
but i dont understand the code completely
can anyone explain me this code line by line
and what are its purpose in this context.
but when i use the same code for someother website i dont get... -
reg:DateTime
i use the following code to display the current date and time
but with my code when the for loop is executed the response.write code prints the datetime 10 times in code
but i want to overite the existing datatime.
i.e. when the first time the loop is executed it displays the current datetime
when the second time the loop is executed i want to overite the value when the loop was executed... -
postdata in website
hi
i have to develop a webapplication where i need to request a webpage with the help of
httpwebrequest and httpwebresponse class.like the following code
webRequest = HttpWebRequest. Create(http://URL) as HttpWebRequest;
cookies = new CookieContainer ();
webRequest.Meth od = "GET";
webRequest.Cook ieContainer = cookies;
webResponse = webRequest.GetR esponse()... -
login to website from code
i use the following code to login to a website
but i dont achieve my purpose
can anybody help me on this
//code to request the page
webRequest = HttpWebRequest. Create(url) as HttpWebRequest;
webRequest.Prox y = proxy;
webRequest.Meth od = "GET";
webRequest.Acce pt = "*/*";
webRequest.User Agent = userAgent;
... -
extracting tags
i use the following code to obtain the html content of the page
now with the help of this string strml in my code which has the html content
i need to extract the tags like <input..> in them
can anybody give me an idea about this
string html = URL;
System.Net.Http WebRequest webrequest = (HttpWebRequest )System.Net.Web Request.Create( html);
System.Net.Http WebResponse... -
regarding html parser
can anyone solve my problem
i have developed a webapplication where i have parsed the contents of the webpage using
MILHTML parser from codeproject.com
i have the document now in html format
i need to use the parser's attributes like
htmldocument
htmlelement
htmlnode
htmlattributes
am really new to this Dotnet environment... -
parse a webpage
i have used the following code
string html = "http://monsterindia.co m/";
System.Net.Http WebRequest webrequest = (HttpWebRequest )System.Net.Web Request.Create( html);
System.Net.Http WebResponse webresponse = (HttpWebRespons e)webrequest.Ge tResponse();
StreamReader webstream = new StreamReader(we bresponse.GetRe sponseStream(), Encoding.UTF8);
webrequest.Meth od = "GET";...
No activity results to display
Show More
Leave a comment: