|
tank you for your reply.
but i don't get my answer!
|
|
|
|
|
Hi all,
I am new to .net.
I developed webpage in ASP with some database handling I use SERVER.MAPPATH to locate database on server.
I use same concept in ASP.NET but when I upload this page on server ,it fires error regarding web.config.
I don't want to specify anything in web.config is it possible direct hard code database path in page. If yes what is use of web.config.
May be I want to know something more regarding web.config.
Information Regarding this is appreciated
Regards,
Nagraj
Let's Teach Life To Laugh........
|
|
|
|
|
|
Hi,
I can't exactly send you error because this error is occured to my friend and he asked me about solution.
Basically I want to know what can I use SERVER.MAPPATH to locate database if yes what is use of web config file in asp.net.
|
|
|
|
|
Web config file is not solely for storing connection info. Any configuration settings can be defined and consumed from the web application is a similar way to app.config files for windows forms/console applications.
Also, the web config file stores environment and security settings such as error output, page trace settings, security impersonation settings and much much more.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
-- modified at 7:00 Wednesday 21st June, 2006
|
|
|
|
|
Hi,
For more information I read one article which explain some uses of web.config file.
According to Article you can set your login page as start page when application start.Code is as below
<authentication mode="Forms">
<forms loginurl="login.aspx" name="3345C" timeout="1">
When I set any other(i.e. adduser.aspx) page as start page and I run application adduser.aspx page displyed instead of login page.
Can you explain me why it is so.
Regards,
Nagraj
|
|
|
|
|
Have u written this code Server.MAPPATH in Web.Config file ?
KHATRI
|
|
|
|
|
i want my web site to be accessible from a PDA.
i want to know if i have a asp.net web site hosted on a server, is it possiblle to access this site from a PDA just like i can access using a PC?
|
|
|
|
|
|
Is it possible to transfer data between a Windows Application and a Web Application?
and How?
"I am too late but i will never give up"
|
|
|
|
|
|
Thank you for you respond...
I want to make a windows application on my computer for chating with my website clients...
Infact the web application have been uploaded on the Web Hosting Service server so I want the web application to transfer data to my windows application and vice versa so it is possible to chat other website clients through the web application(the web application represents other clients where the windows application represents me).
"I am too late but i will never give up"
|
|
|
|
|
Hi,
I have janus control listview.Now my problem is if i want to sort the contents of this listview in numeric order rather than alphabetical order how do i do that. It is given that using Sorted and SortType properties we can achieve this.But they are not supported .I am using asp.net 1.1 framework.How do i achieve this task now.
Regards,
Uma
|
|
|
|
|
|
hello Vasudevan Deepak Kumar,
I did not understand. Can u send me the sample code?
Uma
|
|
|
|
|
hi
I am developing the web application in which i want to read Name ranges given to excel sheet i am reading it using Excel COM object but it is taking more time than expected . So can i read the Name Ranges of excel sheet using oledb connection please help me . i am using ASP.net
|
|
|
|
|
|
hi Vasudevan
Then what to do ? i want the name ranges of the excel sheet please help me this
|
|
|
|
|
how to add TreeView.dll in microsoft visual studio .net 2003
prasanna
|
|
|
|
|
|
|
Hi,
I've two webforms. When a condition is satisfied, I need to pop up a webform as a modal dialog box where the user can enter some text.After submitting this child form, the user had to be redirected to some other webform. Inorder to catch the text,I've used a session variable.
What I've worked is......
In html page, I've written
function giveReason(w,h)
{
wleft = (screen.width-w) / 2;
wtop = (screen.height-h) / 2;
imgwindow1=window.open("HiReason.aspx","imgwindow1","width="+w+",height="+h+",left="+wleft+",top="+wtop+"status:Yes;");
imgwindow1.focus();
}
And I've called the above script function in codebehind page as...
jstr = " giveReason(500,170);"
Page.RegisterClientScriptBlock("reasonKey", jstr)
After that...
In child form,
Dim strjscript As String = ""
strjscript = ""
strjscript &= "window.opener.Home.Text1.focus();"
strjscript &= "window.close();"
strjscript = strjscript & "</script" & ">"
RegisterClientScriptBlock("close", strjscript)
Home is some other webbform's id.
While running this,I'm getting the error.... "imgwindow1 is null or not an object. poop up window is blocked"
Any suggestions?? Thanks in advance....
-Priya
|
|
|
|
|
Instead use this
var winSettings = "dialogWidth:350px;dialogHeight:300px; help: no; status: no";
var qs = "../Calender/Calender.aspx";
var values = window.showModalDialog(qs,'cal',winSettings);
Where values will have all the return values from child form.
In Child Form:
var MyArgs = new Array();
MyArgs[0] = value1;
MyArgs[1] = value2;
window.returnValue = MyArgs;
window.close();
I hope this will help u.If not let me know.
|
|
|
|
|
|
I have a process to be run at the end of year in a leave management system. The process is started when the start process button is pressed, I need to show the employee number currently been processed in a label or a text box. What i did was i gave (Ex : text1.text = tabel(0).row(0).item(0)) when the record is bean read in the for loop. but it shoes only the last record in the process because the processing bar in the page was activated while the process is on. Is there another way to show the record that is being processed in the text box.
Thanx
AMIF
|
|
|
|