|
gaurav mangal wrote: plz send me some code
ROTFL. Brilliant. Someone shoot me.
Read my response again. Do what I suggested. Get back to me when you have something to report based on your doing something yourself. There is no code to solve your issue.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
if(user != programmer)
{
Label1.Text = "No help will be given!"
}
|
|
|
|
|
Christian Graus wrote: Hard coding session strings is a nightmare, they should be in a static class.
I second that. But, it seems this particular forum ought to be renamed "Beginning ASP.NET"
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Ok well if Session["p1"] is showing as blank then it means that no value is being put in it.
For a test set the session to a value of say '1' and then get that value on the next page and put it in a label and see if anything appears. If this works it means that ctcchild1.pic is not being put in your session.
What is ctcchild1?
|
|
|
|
|
I am sure if he sets breakpoints everywhere that this value is set or changed, he'll find his problem quick enough.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
i am new in asp.net . i dont know how to apply breakpointat sessions.
but i will learn about that
anyway thanks sir
|
|
|
|
|
ctcchild is the id of the usercontrol .
ok i will try .
|
|
|
|
|
dear all i am integrating paypal with shopcart i want direct transcation will happen when user will clcik on checkout it shd not through user to login page of paypal so how can i impliment it.
Thanks & Regards,
Prashant B. Lavate
Software Engineer
Mobile : +919423872257
Pune(India)
|
|
|
|
|
Prashant B. Lavate wrote: so how can i impliment it
Using PayPal.
|
|
|
|
|
prashant , there is plenty of code available google before you ask any question, it's better you ask questions in paypal developer forum.
|
|
|
|
|
I have UCode and UName values. It should be passed into other page by using query string. How to pass more than one values in query string by using response.redirect?
Balasubramanian K.
|
|
|
|
|
Gosh. Does no-one here know anything about web development ? Look at the URL for this page. Buy a book on web development, PLEASE.
mypage.aspx?UCode=this&UName=isNotSecure
I would not put usernames on the query string.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: Does no-one here know anything about web development ? Look at the URL for this page. Buy a book on web development, PLEASE.
I second that.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I agree with Christian and if you really have to pass username via query string then at least hash it.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
BalasubramanianK wrote: It should be passed into other page by using query string.
Tell me this isn't your way of handling sessions?
|
|
|
|
|
Ok fine.. using sessions, I could pass. But I want to know about the two query string passing system.
Balasubramanian K.
|
|
|
|
|
BalasubramanianK wrote: But I want to know about the two query string passing system.
Response.Redirect("MyPage.aspx?Query1="+Variable1+"&Query2="+Variable2);
Or
Response.Redirect(String.Format("MyPage.aspx?Query1={0}&Query2={1}",Variable1,Variable2));
please don't forget to vote on the post that helped you.
|
|
|
|
|
BalasubramanianK wrote: But I want to know about the two query string passing system.
You know now.
|
|
|
|
|
I gave you an example already. The core issue is, if you don't know that, you should not be working on web apps, you should be reading a beginner book. Given that most URLs you visit would have examples for you.....
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: core issue is, if you don't know that, you should not be working on web apps, you should be reading a beginner book
I hope I never have to use his web app until he learns how to do a real web app
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
i want to develop content management system-based website in dotnet...but i dont know anything about cms so please help me and tell the proper steps to develop cms-based site in dotnet.....
|
|
|
|
|
Contact the person whose rentacoder job you bid on, tell them you are a liar. Seriously, you have accepted a job, you have NO idea how to do it, and you think a post here will solve your problem ? Do some reading, then break the problem down into steps, try to solve it yourself, and ask here when you have specific issues. Do NOT take someone elses money for the code you create while learning how this is done.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
if i know why i'll ask here....n its very common...
why u always re-act like this mr.Christian Graus....i know u r very intelligent...but it does not mean that u r having the rights to insult anyone....
Christian Graus wrote: Contact the person whose rentacoder job you bid on
and if all employer will be like u then noone will give the chance to the freshers... so i wish that no employer should be like u...please dont mind...i m telling u the truth....
n now i know u'll give a very dangerous answer...
modified on Tuesday, July 29, 2008 3:57 AM
|
|
|
|
|
Neetu Maheshwari wrote: n now i know u'll give a very dangerous answer...
Watch out!!
The point CG is making is that you do not know asp.net and have therefore accepted a job you cannot do.
Compare it to accepting a job at a school working as a teacher but never having taught a class before(unless your Jack Black in School of Rock)
|
|
|
|
|
Neetu Maheshwari wrote: n its very common...
Yes, these sort of questions ARE common here. It's depressing.
Neetu Maheshwari wrote: but it does not mean that u r having the rights to insult anyone....
I meant it as a statement of fact. Sites like Rentacoder seem to abound in people who are clueless and who think sites like this will do the work for them.
Neetu Maheshwari wrote: and if all employer will be like u
It's true, I wouldn't hire you in a heart beat. Or the guy who doesn't know how to form a query string. I expect a basic level of knowledge. What you ask is the same as asking a taxi cab company to hire people who cannot drive yet.
Neetu Maheshwari wrote: the chance to the freshers
I don't mind hiring new graduates. So long as they have graduated, and learned some basics. I mean, just knowing how to use google would put anyone I would hire ahead of most people asking here.
Neetu Maheshwari wrote: n now i know u'll give a very dangerous answer...
Although I rarely tell people what they want to hear, everything I say is meant to be a wake up call, not an insult. I have better things to do than insult people on the internet. It's a sad thing that the best help I can offer people is to tell them to quit their job, and learn some basics.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|