Click here to Skip to main content
15,121,564 members

Comments by priya from Madras (Top 65 by date)

priya from Madras 3-Apr-12 8:25am View
   
pls anyone can help me?
priya from Madras 3-Apr-12 8:13am View
   
k thanks,
priya from Madras 3-Apr-12 7:42am View
   
ya am using css . i post my problem below ,pls read ?
priya from Madras 2-Apr-12 9:32am View
   
Hi Rohan actually i want to import direct not paste method .i am trying some method but i ve error .so cant find the solution .

Check the link ,i need lik this :

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926
priya from Madras 30-Mar-12 10:03am View
   
i create row and cal that row id mean its working .in pageload it shows "the textbox value is null" but when i cal the tr id its working fine .
<asp:gridview id="gv" runat="server" >
<tr id="txtid">
textbox
</tr>
priya from Madras 30-Mar-12 9:50am View
   
ya actually i tried for the same method . but it doesnt take tat textbox id.
priya from Madras 23-Mar-12 7:51am View
   
How can i access the class b and a in at the same time
priya from Madras 23-Mar-12 7:48am View
   
Thanks Hammad if i need to get a value of class b mean using the same way ?

if

public static class b
{
}
mean after the class a
priya from Madras 23-Mar-12 7:26am View
   
ya but in the example given by me , can u explain in that format
priya from Madras 8-Mar-12 6:23am View
   
Hi ganesh,

shall i change in my js file
priya from Madras 8-Mar-12 3:06am View
   
defaultDate = (defaultDate ? $.datepick.newDate(defaultDate) : null);


shall i change in this ?
priya from Madras 2-Mar-12 6:47am View
   
k thanks ,now am using <%=dateofbirth.ClientID%>'
priya from Madras 1-Mar-12 10:30am View
   
s kishore
priya from Madras 1-Mar-12 10:29am View
   
s
priya from Madras 1-Mar-12 9:13am View
   
thanks kishore , working fine
priya from Madras 29-Feb-12 4:54am View
   
dt is date lik Mon 29/02/2012 d is value lik 1 or 2 something lik that
priya from Madras 28-Feb-12 8:54am View
   
ya nij checked with alert ,i.e) alert(weekday[d.getDay()]),

this also shows undefined
priya from Madras 28-Feb-12 8:39am View
   
ya actually u r correct , am using the same example but when i use

document.write("Today is " + weekday[d.getDay()]);

it shows the day , but i want to pass the day lik argument so i need to assign lik


var dtday = weekday[d.getDay()];

but var dtday = weekday[d.getDay()]; this part is not working , shows undefined
priya from Madras 28-Feb-12 8:30am View
   
( var dtday = weekday[d.getDay()];),this one
priya from Madras 28-Feb-12 8:27am View
   
sorry just now i saw , it was popup
priya from Madras 23-Feb-12 7:54am View
   
it doesnot display in browser,when we bind the values in gridview tat time only it appear
priya from Madras 23-Feb-12 6:23am View
   
Deleted
help to solve this problem
priya from Madras 23-Feb-12 4:20am View
   
ya i got the solution thanks sudip, but i already tried lik whatever u said ,before tat i was getting error, once i stop and rebuild my project it works , anyways thanks once again.
priya from Madras 21-Feb-12 1:56am View
   
sorry for repeating my quest again ,actually my question is ,am using date picker in a textbox using javascipt , if i select the date of today it shows the date(Like 21/02/2012) tat what i ve select from that picker .but i need to get with day like 21/02/2012 tuesday .can any one help me ?
priya from Madras 20-Feb-12 9:38am View
   
k how to find the day from the selected date
priya from Madras 28-Jan-12 8:50am View
   
Deleted
protected void Application_Start(object sender, EventArgs e)
{

}

protected void Session_Start(object sender, EventArgs e)
{
Response.Redirect(Request.Url.GetLeftPart(UriPartial.Authority) + VirtualPathUtility.ToAbsolute("~\\Home.aspx"));
}

protected void Application_BeginRequest(object sender, EventArgs e)
{

}

protected void Application_AuthenticateRequest(object sender, EventArgs e)
{

}

protected void Application_Error(object sender, EventArgs e)
{

}

protected void Session_End(object sender, EventArgs e)
{
Response.Redirect(Request.Url.GetLeftPart(UriPartial.Authority) + VirtualPathUtility.ToAbsolute("~\\Home.aspx"));
}

protected void Application_End(object sender, EventArgs e)
{

}
}
}
priya from Madras 27-Jan-12 10:29am View
   
alreay given , but this problem is sometimes only
priya from Madras 27-Jan-12 9:08am View
   
Deleted
actually when i paste the code in this codeproject page the pre tag automatically added ,
priya from Madras 27-Jan-12 8:29am View
   
[System.Web.Services.WebMethodAttribute()]
[System.Web.Script.Services.ScriptMethodAttribute()]

public static string[] GetNames(string prefixText, int count)
{


DinnerNow.Services.MenuSearchService obj = new DinnerNow.Services.MenuSearchService();
string[] aut = obj.GetNames(prefixText, count);
return aut;

}

public string[] GetNames(string prefixText, int count)
{
Business.Menu menu = new DinnerNow.Business.Menu();
return menu.GetNames(prefixText, count);
}

public string[] GetNames(string prefixText, int count)
{

return db.Restaurants.Where(n => n.City.StartsWith(prefixText)).OrderBy(n => n.City).Select(n => n.City).Distinct().Take(count).ToArray();

}
priya from Madras 25-Jan-12 6:19am View
   
Again am using lik this but it doesnt display in descending order.

pls Help me , am i wrong ?



public DinnerNow.Business.Data.RestaurantOrder[] GetPreOrderDetails(string RestaurantName, string Deliverytype, string restaurantownerid)
{

var orderItems = from od in db.OrderDetails
where od.RestaurantIndex_Id == restaurantOrder.RestaurantIndex_Id orderby od.OrderIndex_Id descending
restaurantOrder.OrderIndex_Id
select new
{
OrderDetailId = od.OrderDetailId
};. Distinct().OrderByDescending(x=>x.RestaurantIndex_Id);
return orderitembyrestaurant.ToArray();
}
priya from Madras 24-Jan-12 9:56am View
   
ya but i need this in stored procedure
priya from Madras 23-Jan-12 23:57pm View
   
Hi but its not working when the double quote is used( "" )
priya from Madras 23-Jan-12 9:26am View
   
Hi but its not working when the double code is used( "" )
priya from Madras 23-Jan-12 8:05am View
   
ya i knew the concept u said, but i need to redirect the login page . not same page
priya from Madras 23-Jan-12 7:54am View
   
Thanks Hariharasudhan,,Its working Fine
priya from Madras 23-Jan-12 7:30am View
   
Thanks chandrashekhar,but am using this in javascript so can i use in this code in javasccript
priya from Madras 22-Jan-12 8:51am View
   
In that link they said ,use


sessionState mode="InProc" cookieless="UseUri"


But this is not working , it display the current page instead of login page
priya from Madras 22-Jan-12 7:25am View
   
Deleted
when i use session : i ve error at Pageload
priya from Madras 22-Jan-12 7:24am View
   
Deleted
when i use lik



<sessionstate mode="Inproc" cookieless="useuri">


I ve error at pageload,
priya from Madras 22-Jan-12 7:21am View
   
Deleted
<sessionstate mode="InProc" cookieless="UseUri">
priya from Madras 22-Jan-12 7:21am View
   
Deleted
when i use session :

<sessionstate mode="InProc" cookieless="UseUri">

i ve error at Pageload
priya from Madras 22-Jan-12 5:55am View
   
Thanks Abey i ll try this method .
priya from Madras 20-Jan-12 5:04am View
   
This problem is Only in IE6.
priya from Madras 20-Jan-12 4:28am View
   
Thanks ChandraShekar,its working
priya from Madras 11-Jan-12 8:56am View
   
Sorry all ,

Actually i have 2 checkbox(checkbox1 is .Net,and checkbox2 is java) under the name course,i need to bind the selected value in database.for example ,if user select
2 checkbox (.net and java)mean i want to bind these values in database with "," lik java , .net.
priya from Madras 5-Jan-12 0:31am View
   
hi bala thanks for ur reply but where should i place the above code in my code
priya from Madras 5-Jan-12 0:29am View
   
oh sorry smith actually when i give username and enter the tab key the password is automatically comes to the textbox , if remember me check box condition is checked ,incase remember checkbox is not checked password never come , so user needs to enter their password in textbox , but this logic is not working in my above code .
priya from Madras 3-Jan-12 8:31am View
   
actually i am using lik this


in pageload


if (!IsPostBack)
{
if (Request.Cookies["USERNAME"] != null)
log.Text = Request.Cookies["USERNAME"].Value;
if (Request.Cookies["PASSWORD"] != null)
//pwd.Text = Request.Cookies["PASSWORD"].Value;
pwd.Attributes.Add("value", Request.Cookies["PASSWORD"].Value);

//txtpwd.Attributes.Add("values", Request.Cookies["PASSWORD"].Value);
if (Request.Cookies["USERNAME"] != null && Request.Cookies["PASSWORD"] != null)
rememberme.Checked = true;

}


then in buttonclick



protected void btnlogin_Click(object sender, EventArgs e)
{
//bool login = false;
//string EmailId = log.Text;
//string Password = pwd.Text;

if (rememberme.Checked == true)
{

Response.Cookies["USERNAME"].Value = log.Text;
Response.Cookies["USERNAME"].Expires = DateTime.Now.AddYears(30);
Response.Cookies["PASSWORD"].Value = pwd.Text;
Response.Cookies["PASSWORD"].Expires = DateTime.Now.AddYears(30);

//HttpCookie cookie = new HttpCookie();

}
else
{
Response.Cookies["USERNAME"].Expires = DateTime.Now.AddYears(-30);
Response.Cookies["PASSWORD"].Expires = DateTime.Now.AddYears(-30);
}

}


it has some problem ,then it takes the username and password at pageload i.e

when i click the login it shows username and password, but i need to display after click the tab key from username
priya from Madras 15-Dec-11 9:06am View
   
pls read my problem again
priya from Madras 15-Dec-11 7:16am View
   
Deleted
wat is setdirty
priya from Madras 15-Dec-11 7:14am View
   
nothing happened
priya from Madras 15-Dec-11 7:14am View
   
nothing happened
priya from Madras 15-Dec-11 5:42am View
   
ya but in buttonclick event , its not working , help me
priya from Madras 12-Dec-11 4:41am View
   
ya thanks for ur reply,i knew this one but i want to display in .txt file , is this possible
priya from Madras 10-Dec-11 0:09am View
   
also refer this :http://www.daniweb.com/software-development/csharp/threads/303291
priya from Madras 9-Dec-11 23:45pm View
   
nice One it was helpful to me ,

Thanks
priya from Madras 9-Dec-11 7:21am View
   
divya actually this one is not working
priya from Madras 9-Dec-11 7:19am View
   
ya but tat ajax example shows my system time only, i checked
priya from Madras 9-Dec-11 4:47am View
   
do u know how to get, pls let me know the code
priya from Madras 9-Dec-11 4:42am View
   
ya but it shows my system time instead of server time ,can u pls give me code in javascript
priya from Madras 6-Dec-11 3:13am View
   
Deleted
i find the solution myself:

window.onbeforeunload = function () {
var href = "Error1.aspx";//(this is the redirect page url )
window.open(href);


}
priya from Madras 5-Dec-11 4:17am View
   
ya back button is under browser control but if u use window.onbeforeunload()
in javascript it display error message in popup ,but i need to redirect the error page
priya from Madras 5-Dec-11 4:14am View
   
No actually, in process if user click the refresh or save button the page have to display like page expired
priya from Madras 5-Dec-11 4:08am View
   
Help me ,

its urgent


Thanks in advance
priya from Madras 5-Dec-11 3:59am View
   
nothing happened