|
Dear saravanan basically no changes are there in web.config file for connection string and authentication.
I am sending the code for each one,It may help you.
1.connection string
<connectionStrings>
<clear/>
<add name="xxx" connectionString="Data Source=192.168.1.3;Initial Catalog=databasename;Persist Security Info=True;User ID=saa;passWord=password" providerName="System.Data.SqlClient"/>
</connectionStrings>
2. Authentication
<authentication mode="Forms">
<forms name="myCookie" loginUrl="Login.aspx" timeout="15" path="/" slidingExpiration="true"/>
</authentication>
satyaki mishra
|
|
|
|
|
i created a certificate template. when the user click "edit" button, i want they can only modify certain part of the certificate such as name, date and content.how can i do it?
p/s the template will be a picture of a certificate
thanks
|
|
|
|
|
i know how to show the confirmation box , if the user is intended to close the web page.
now the thing is , i want to execute the code on clicking the x button , after getting the confirmation box as yes.
the code should execute only after selecting yes (means afte confimation)
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
i think u did not understand the code which i gave
confirmation box will return a bool (true/false)
use that in ur javascript code
Amit Metkar
3i-infotech, Mumbai.
|
|
|
|
|
hai sonia,
use the below line in PageLoad() function... its working good...
(lnk_close is refer the button name)
lnk_close.Attributes.Add("onclick","javascript:window.close();");
pain gives gain
|
|
|
|
|
Error: The given path's format is not supported.
I am trying to upload from a page to the webserver and I got this error.
the code is just this
public void Upload_ServerClick(object sender, System.EventArgs e)
{
string baseLocation = "ftp://layer3media.com/DataGroup/Test/";
string status = "";
Label1.Visible=true;
foreach(System.Web.UI.HtmlControls.HtmlInputFile HIF in hif)
{
string fn = System.IO.Path.GetFileName(HIF.PostedFile.FileName);
HIF.PostedFile.SaveAs(baseLocation + fn);
filesUploaded++;
status += fn + " ";
}
}
}
Pravin
|
|
|
|
|
|
Hi everyone,
Is it possible to highlight the selected item on clicking in a list box using javascript?....
Regards,
Manowj
|
|
|
|
|
on itemcommand
write
e.item.cssclass("css name");
rajeev kumar sharma
vri software pvt. ltd.
new delhi India
|
|
|
|
|
i have 5 emailIDs and i have a message send to all.
but mail has to send to all.
if any error occures in any email send then rollback to all mails
means mail sending should be send to all or not to any.
how can i handle this.
rajeev kumar sharma
vri software pvt. ltd.
new delhi India
|
|
|
|
|
I don't think you can have transactions in email. However, if your server and all recipients are Exchange, you have a RECALL feature to selectively retrieve back the emails that are sent.
|
|
|
|
|
Asalam-O-Alikum, how can i add a link for user to download a pdf file which exits in my Database
-- modified at 3:48 Tuesday 28th August, 2007
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
You can link to an ASPX page with a unique ID. This unique ID can be used to read the object from database and stream down as a PDF file.
|
|
|
|
|
hi all,
Is it possible to have more than one web.config file in an asp.net application? if yes, which one will the application refer to when the application is executed?
What is the use of having more than one web.config files in an application? i mean in which circumstances should we go for more than one web.config file?
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
A Web application can contain more than one Web.config file. The settings in a file apply to the directory in which it's located, and all child directories. Web.config files in child directories take precedence over the settings that are specified in parent directories.
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
thanks for your response.
Regards
Anuradha
|
|
|
|
|
A Web application can contain more than one Web.config file.
Web.config files in child directories take precedence over the settings that are specified in parent directory.
SSK.
|
|
|
|
|
hai ,
i need to findout the cityname using ipaddress...i got identify countryname using ipaddress through GeoIP webservice...But there no possibilty to findout the cityname....Any one know Is there any MSSQL database for citynames with related ipaddress ...This is urgent...
Thanks & Regards,
vidyasankar
pain gives gain
|
|
|
|
|
u know any command , if i click the close button , there should appear a dialog box , that ask u to make sure that u want u close the window.
or in java script using asp.net?
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
use confirm box in javascript.
Amit Metkar
3i-infotech, Mumbai.
|
|
|
|
|
can u provide some code that can be implemented in the code behind file.
thank you
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
you can simply do.
function closea()
{
window.close();
}
OR with comfirm box
function closea()
{
var a = window.confirm('Do you want to close this window');
if(a = true)
{
window.close();
}
}
call this function onclientclick event of button
<br />
<asp:Button ID="Button1" OnClientClick="closea()" runat="server" Text="Button" /> <br />
Amit Metkar
3i-infotech, Mumbai.
|
|
|
|
|
function getconfirm()
{
return confirm('Are you sure want to delete ');
}
Call this function in the onclick event of corresponding button in source code.
|
|
|
|
|
I am by no means expert but I believe that if an email has reached its inbox then it cannot be retrieved and taken away.
Hope others can confirm this.
Thanks a lot
Chris
|
|
|
|
|
Dear All,
I am using the gridview to display a list equipment from database. One of the columns in the database is manufacturer_url. Now I want the data in this field to be displayed as a hyperlink in gridview and when clicked it opens a pop up window.
Is there a way to do this by incorporating the javascript:open or any other way?
Thank you very much for your great help!
Chris Farrugi
|
|
|
|