|
Hi Navaneeth please help me how can i do this
Praveen Kumar.R
|
|
|
|
|
hi friends
how to convert asp to asp.net.
any tools avialable related this.
regards
saravanan
|
|
|
|
|
Can't be done, they are totally unrelated. You have to rewrite by hand.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I am having problems with sending files created within an asp.net2 page - specifically I cannot delete a file that was created immediately prior to the current session because it's locked by w3wp.exe.
Some psuedo code might help:
[grab data from POST]
[create a file using the following:
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents = true;
proc.StartInfo.FileName = @"C:\program.exe";
proc.StartInfo.Arguments = commandLine.ToString();
proc.Start();
proc.Exited += new EventHandler(ProcessDone);
proc.WaitForExit();
if (File.Exists(@"C:\Temp\mynewfile.lic"))
{
sendEmail();
}]
[send the file as an attachment using SmtpClient]
The process works fine on the first run through BUT subsequent attemps to overwrite the previously created file fail and of course the first generated file gets sent again.
The generated file can't be deleted because it's flagged as in use by w3wp.exe .
I've done some research into this and I believe it has something to do with session state but my atttempts to get it to work have all failed.
Can someone please give me some guidence and perhaps an example code.
thanks in advance,
Glen Harvy
|
|
|
|
|
Hi!
I have implemented simple paging in the datalist, now i want to implement the numeric mode paging to it.
Does anyone know how to do it?
Please reply....
Thanks,
Dhawal
|
|
|
|
|
Hi
I am using ASP.NET with VB as code behind. In my application i hve set the session time out to 70m. So after 70 m if my application is idle the session get expired. I dont want to give any limit to this time out. ie, i want my application to be alive, if more than 70m it was kept idle, Is there any method for not specifying any timeout limit . Wht will happen if we dont give that time out stmt in web.config. pls help me this is very urgent
Thanks in advance
With Regards
anitha
|
|
|
|
|
Why do so many write "doubt" when they mean "question"?
micydon wrote: In my application i hve set the session time out to 70m.
70 meters?
micydon wrote: Is there any method for not specifying any timeout limit .
No.
If you would not have a timeout on sessions, it would mean that a Session object would be created for each visitor, and the objects would remain in memory forever. After a while the memory would fill up with Session objects, and the server would die.
micydon wrote: Wht will happen if we dont give that time out stmt in web.config.
You will get the default timeout specified in the settings for the web site. This is 20 minutes by default.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi all
I am new in .net, can any one tell how to connect a asp.net form and sql server table. I have created table and the form with neccesary feilds in the form,
It will really nice if some one tell the process in steps. (like do i need to drag any control in the form , or the things that i need to do in the database)
Pl provide the code for the submit button( clicking which the data in the form should get submitted in the table)
Regards
Prakash
Prakash Mishra(Banglore,India)
|
|
|
|
|
Prakash_Mishra wrote: Pl provide the code for the submit button( clicking which the data in the form should get submitted in the table)
That will be too much for forums.
For connecting DB from ASP.NET page you need the following
1. A SQL Connection String that includes database name, server name , user Id and password
2. SQLClient namespace
3. SQLConnection, SQLCommand class objects..
Do a search with all these, you will get the result.
|
|
|
|
|
|
im using asp.net calendar control in my page. when i select a date from calendar control , the value is assigned to textbox control. how can i do this in javascript.
i used following code, but it didnt return the calendar value
var date=document.getElementById('Calendar1').value;
what should i do for this one?
|
|
|
|
|
A wild guess bcs I am not familiar with ASP.NET calendar control. After page loads take viewsource and check how calendar control is rendering. What will be the name of the textbox. Get this name and replace this in the getElementById.
|
|
|
|
|
Hi! in a aspx, page after binding gridview i am using following code...
System.IO.StringWriter oStringWriter = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter oHtmlTextWriter = new
System.Web.UI.HtmlTextWriter(oStringWriter);
gvClients.RenderControl(oHtmlTextWriter);
but it through exception on running: 'Control 'gvClients' of type 'GridView' must be placed inside a form tag with runat=server.'
but gridview r already inside a form tag. when i commented these line, there is no exception. what is the problem?
Thanks & Regards,
SAMir Nigam,
Software Engineer,
STPL, Lucknow, India.
|
|
|
|
|
Hi
Just add runat=server to the gridview gvClients so that you can access that id in the code behind file.
Hope you got it.
Harini
|
|
|
|
|
I am having a user control on one aspx page. In user control i have a textbox .How can i get this value of the textbox from usercontrol on the aspx page . Pls help me with the code.
thanks
|
|
|
|
|
i think you posted the same question yesturday and many users replied you
Now whats the problem ?
Create a public property to access the TextBox value
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
for what you want access that text box? any validation?
Praveen Kumar.R
|
|
|
|
|
praveenkumar_mca wrote: for what you want access that text box? any validation?
Dude you are replyinh me not the person who posted the question
You should click to the "Reply" to whome you want to reply
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi ritu,
As i told you yesterday
Create a public propery to that user control.
If you dont know search google on creating properties.
and come if any problem arises.
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
Hi ritu,
in that u store the text box value as a session variable, then u can access anywhere in ur application.
Praveen Kumar.R
|
|
|
|
|
Hi ritu,
ru worked out wt iam said?
Praveen Kumar.R
|
|
|
|
|
hai , howr u all.
ihave some doubts on machine.config file ,
i want to clarify where it is used and how it will be used.
n i have some doubts on controls .
anyone clarify my doubts regarding
"difference between client side controls and server side controls ",
how we differ both of them in our page .
Thanks in advance ,
Regards ,
Abhiram..
|
|
|
|
|
Google is your best friend first try to search on google if you foung any issue or question in mind then ask i think its better for you
you will get many sites
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
abhiram123 wrote: ihave some doubts on machine.config file ,
Machine.config file contains settings that apply to entire computer. ASP.NET configuration system first checks in the Machine.Config file for <appsettings> tag.
abhiram123 wrote: difference between client side controls and server side controls
I think there is no client side controls. You can categorize like ASP controls and HTML controls. ASP controls can be accessed from the codebehind page. HTML controls also accessible from code behind , but not directly. May be when the form is posting back. ASP controls will have a runat="server" tag.
|
|
|
|
|
Hello Navaneeth,
I am developing the "online examination portal" in asp.net using c# as code behind. But i am new to this technology. so can you help me? If you have any project code regarding to this then nsend me for reference.
Thanx.
My e_mail id is nisar321@gmail.com
Bye.
Nisar Inamdar
|
|
|
|