|
what do you want to do? Install? Configure?
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
I need to publish my site in my network
using IIS
|
|
|
|
|
Create a virtual directory in the IIS for your site and copy only the files that is needed to run the application.
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
You need nothing to do with IIS if you use Visual Studio 2005 the IIS is build in into environment and will automatically starts when you debug the webpage.
|
|
|
|
|
I need to publish my site in my network
using IIS
|
|
|
|
|
duo!@# wrote: I need to publish my site in my network
- Are you planning to publish your site on LAN or on Internet ?
If in LAN, copy your files to a network machine ( say server ). ASP.NET should be present in the server to get ASPX files executed. Goto IIS - > Default Website - > Create new virtual directory which points to your folder where files are stored. Now type URL like
http://SysName/VirtualDirectoryName/Filename.aspx
|
|
|
|
|
Hi all,
I have a problem in extracting data from xml file.
i have a data table which i assigned a xml file to it.
xml file contains products table and the query i need is
to get the prices > 100
i am trying this query
select * from products where price>100.
i want the above query to be used from xml file
i will appreciate if someone help me regarding this
|
|
|
|
|
use DataView.RowFilter Property. DataView will have the records based on the condition. Something like this...
Dim dv As DataView<br />
dv = DataTable.DefaultView<br />
dv.RowFilter = "product > 100"
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hello friends i have a XMl File for ads i want to calculate number of nodes
this xml file have So that i can repete my control but i don't know how to get total number of nodes in my xml Useing JAVASCRIPT
pls if any body know help me
Thanks in advance
|
|
|
|
|
The below is my javascript code to move one listbox to another. It works fine. But i want move only two items from the source listbox and also once i moved the items , the source list will be unselect(ie., back to original position) pls give the solution ASAP.
function fnMoveItems(lstbxFrom,lstbxTo)
{
var listboxlength = document.getElementById(lstbxFrom).length;
var boxLength = document.getElementById(lstbxTo).length;
var count;
var lenListSelected=0;
var Check= document.getElementById(lstbxFrom).selectedIndex;
if(Check!=-1)
{
for(count=0; count<listboxlength;count++)
{
="" var="" selecteditem="document.getElementById(lstbxFrom).options[count].selected;"
="" if="" (selecteditem="=" true)="" lenlistselected++;
="" selectedtext="document.getElementById(lstbxFrom).options[count].text;
" selectedvalue="document.getElementById(lstbxFrom).options[count].value;
" index;
="" isnew="true;
" (boxlength="" !="0)
" for="" (index="0;" index="" <="" boxlength;="" index++)="" thisitem="document.getElementById(lstbxTo).options[index].text;
" (thisitem="=" selectedtext)="" break;
="" }
="" }="" boxlength="document.getElementById(lstbxTo).length;
" (isnew)="" newoption="new" option(selectedtext,="" selectedvalue,="" false,="" false);
="" document.getelementbyid(lstbxto).options[boxlength]="newoption;
" if(="" lenlistselected=""> 2 )
{
alert(document.getElementById(lstbxTo).length);
var count;
for(count=0;count
|
|
|
|
|
Hai,
First upon thanks to all for the help upto now and i expect in the future too...
Today i have a small problem..
I want to show the date value in label field but the value should be formatted according to the format given in the resource file.
i am using asp.net c#
Please anybody help me ...
Regards
Alex.
|
|
|
|
|
what is resource file, explain it or explain what format u want...
Pradeep Reddy
|
|
|
|
|
Hi i am using visual 2003,
In that its possible to use infragistics tools?,
Actually i like to know abt that...,
Plz any one tell me whats the advantage in that and give me some site details tyo learn abt that..,
Thanks,
Regards,
Magi
|
|
|
|
|
try www.infragistics.com
best regards
|
|
|
|
|
how we can perform clientside validtion that user canot select more than five items in the list bosx(Client side only)
|
|
|
|
|
By using javascript i think thats the best way to do at client side
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... "
|
|
|
|
|
JavaScript is Bes Way.
If you need the JavaScript Reply this message
Best Regards,
Chetan Patel
|
|
|
|
|
Hello,
I'd like to display the calendar which having the 30days(15days past and 15 days future from the current date) in asp.net, i am also binding the data to calender from the database according to the dates
if i was using the asp.net calender control it working fine but it display the monthly calender
is it possible to make the monthly calender(asp.net calender control) into 30day calender which contains past and future 15 days from the current date
ramana
-- modified at 3:23 Thursday 11th October, 2007
"Action may not always bring Happiness
But There is No Happiness Without Action"
-- modified at 4:38 Thursday 11th October, 2007
|
|
|
|
|
Hi All,
I am using ASP.NET 2.0 (C#). I have a login page on which Remember Me checkbox is there. I want whenever that checkbox is checked I need to save the login name and password on in cookies so whenever he/she logout and again login then he/she can see his/her login name in the textbox and accordingly password should be displayed.
Please help me...
Thanks in advance...
|
|
|
|
|
|
Hi Sandeep,
Thanks for the reply, I have already implement this code. My requirement is different. I need to have my login name in the login textbox for ex: when i press v then it should display all the user name whose login name starts with v and when I select my login name it should automatically display the password in password textbox and when I press go button it should go to the home page of my site.
Hope I have made my self clear? Also I would like to know how did u got my name?
|
|
|
|
|
ASP.NET 2.0 wrote: My requirement is different. I need to have my login name in the login textbox for ex: when i press v then it should display all the user name whose login name starts with v and when I select my login name it should automatically display the password in password textbox and when I press go button it should go to the home page of my site.
I think you will have to do it with javascript code. I don't know as i never did it . but will ping you if i found anything that will help you ...
ASP.NET 2.0 wrote: Hope I have made my self clear?
Yes
ASP.NET 2.0 wrote: Also I would like to know how did u got my name?
Simple in past i answered your many queries with your name VarshaMane then i think you changed your name
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... "
|
|
|
|
|
Will u please help me with the code??
|
|
|
|
|
|
Hi Sandeep,
Thanks for the reply. But I am not getting the value of password textbox. Below is the code which I am using, please let me know where I am wrong.
protected void Page_Load(object sender, EventArgs e)
{
Session["CompanyName"] = "FLAG";
try
{
if (Request.Cookies["RememberMe"] != null)
{
HttpCookie cookie = Request.Cookies.Get("RememberMe");
string emailID = cookie.Values["Email"].ToString();
string password = cookie.Values["Pass"].ToString();
string LoginID = cookie.Values["LoginID"].ToString();
txtId.Value = emailID;
txtPassword.Value = password;
htxtLoginID.Value = LoginID;
}
}
catch(Exception AuthorizationException)
{
}
}
protected void ibtnLogin_Click(object sender, ImageClickEventArgs e)
{
clsFunctions cs = new clsFunctions();
DataSet ds = new DataSet();
String str = "Select LoginId,LoginName ,Password from tbUser where LoginName= '" + txtId.Value + "' and Password ='" + txtPassword.Value + "' and UserGroupId= 1";
ds=cs.Return_Dataset(str,cs.connectionDBcentral() );
lblMessage.Visible = false;
if (ds.Tables[0].Rows.Count > 0)
{
HttpContext.Current.Cache.Insert(txtId.Value, ds.Tables[0].Rows[0][0]);
if (chkRememberMe.Checked)
{
HttpCookie RememberMe = new HttpCookie("RememberMe");
Response.Cookies.Remove("RememberMe");
Response.Cookies.Add(RememberMe);
RememberMe.Values.Add("Email", txtId.Value);
RememberMe.Values.Add("Pass", txtPassword.Value);
RememberMe.Values.Add("LoginID", ds.Tables[0].Rows[0][0].ToString());
DateTime dtExpiry = DateTime.Now.AddDays(2);
Response.Cookies["RememberMe"].Expires = dtExpiry;
Session.Add("Check", "On");
Session.Add("Country", "0");
Session.Add("logname", txtId.Value);
Session.Add("loginId", ds.Tables[0].Rows[0][0]);
Response.Redirect("Home.aspx");
}
else
{
HttpContext.Current.Cache.Insert(txtId.Value, ds.Tables[0].Rows[0][0]);
Session.Add("Check", "On");
Session.Add("Country", "0");
Session.Add("logname", txtId.Value);
Session.Add("loginId", ds.Tables[0].Rows[0][0]);
Response.Redirect("Home.aspx");
}
}
else
{
Session.Add("Check", "Off");
lblMessage.Text = "Invalid LoginName and Password";
lblMessage.Visible = true;
}
}
this code is in .cs file and in HTML i have used:
function setCookies()
{
var txtuname= document.getElementById('txtId');
var txtpass= document.getElementById('txtPassword');
alert(txtpass);
var txtLoginID =document.getElementById('htxtLoginID');
if (document.cookie.length>0)
{
var c_start=document.cookie.indexOf(txtuname.value);
//alert(document.cookie);
//alert("to search txtvalue "+txtuname.value);
alert(c_start);
if (c_start!=-1)
{
c_start=c_start + txtuname.value.length +1 ;
alert(txtuname.value.length +1);
// alert(" start "+c_start);
var c_end=document.cookie.indexOf(";",c_start);
// alert("end "+c_end);
if (c_end==-1)
{
c_end=document.cookie.length;
// alert(c_end);
}
var value= unescape(document.cookie.substring(c_start,c_end));
alert("value "+value);
var arr = new Array(3);
arr= value.split('|',2)
alert("Username "+arr[0]);
alert("Password "+arr[1]);
txtuname.value=arr[0];
txtpass.value=arr[1];
}
else
{
txtpass.value="";
}
}
}
Please help me...
|
|
|
|