|
hi!sir
but when i write firstuser.it gives error.
because my first user id is 'arun' & password is 'kumar'and second user user id is 'vijay' and password is 'raj'
|
|
|
|
|
ahmad25 wrote: string str = " select * from login where user_name ='"+name+"' and password ='"+password+"'";
What ever the Navaneeth , suggested is 100% correct. Please be care of SQL Injection . Never use SQL query in this way. Always create stored procedure, execute stored procedure form code .
cheers,
Abhijit
|
|
|
|
|
Abhijit Jana wrote: Always create stored procedure, execute stored procedure form code .
That depends. To avoid SQL Injection, you only need parameterized queries. Stored procedures are not must. And I personally don't like writing SP's for every query what I write. This[^] is an interesting read.
|
|
|
|
|
N a v a n e e t h wrote: you only need parameterized queries.
Yaa.. I also do some times for my own code and utility , but some times may not in live project , cause its not in my hand to decides. But now I have some points.... Thanks for the links !!!
BTW : Now your are another coming Fixture in CP . All The Best for Future and Thanks for your Efforts !!!
cheers,
Abhijit
|
|
|
|
|
Thanks. I appreciate it
|
|
|
|
|
Hi There ,
I have a button which I had taken through java script code in div tag.And I want to do alignment of that button to center.Can anybody tell me how to do alignment in div tag.
|
|
|
|
|
Use Table Inside Div . Create Column , Place Content inside That.
cheers,
Abhijit
|
|
|
|
|
Thanks For Reply,
I will check with this solution.
|
|
|
|
|
Urgh - instead create a CSS style that has vertical-align:middle and assign that style to the DIV.
It definitely isn't definatley
|
|
|
|
|
|
Please ignore.
Cheers!!
Brij
|
|
|
|
|
|
umeshrajpoot wrote: why ignore ??????
This forum is not for posting the Questions blindly.So Don't spam.Always put the Qs in right forum and answers will be given by the CP users.Posting many doesn't help anybody except irretating.
Cheers!!
Brij
|
|
|
|
|
umeshrajpoot wrote: why ignore ??????
Because Check This[^]
[Added]Now you realized that what mistake you had made and that's why deleted your message. [/Added]
cheers,
Abhijit
modified on Friday, January 2, 2009 9:07 AM
|
|
|
|
|
Please have a look on my doubt. i want to develop a SIP fone application.I think the sip communication is supported by Adobe Flash , no need to use an extra SIP stack to implement this.is it correct or not???if i am wrong, how to solve this???
Thanks in advance..
|
|
|
|
|
bigphish wrote: I think the sip communication is supported by Adobe Flash
I don;t think so. SIP is session initiation protocol and how it is related with adobe flash? After all what this has to do with ASP.NET? Are you creating a SIP phone program in ASP.NET? If yes, Good luck!
|
|
|
|
|
This is also an cross post. He has put the same question in Web Development also.
cheers,
Abhijit
|
|
|
|
|
then on which section should i post this...???
i have posted it in Graphics section also..but no replies..so thought to put here..no intension to cross verify u all..just wanted to get any clue..thats y..
|
|
|
|
|
Hi to all,
I have a hyperlink inside a datalist.I want that whenever a user clicks the hyperlink it should navigate to another page along with the data coming from database based on the id that will be passed.
Thanks & Regards
|
|
|
|
|
R1119 wrote: I have a hyperlink inside a datalist.I want that whenever a user clicks the hyperlink it should navigate to another page along with the data coming from database based on the id that will be passed.
And what is the problem you are having in it?
Apurva Kaushal
|
|
|
|
|
Hi Apurva,
Actually I dont know, on which event I have to code for this and how.
Thanks & Regards
Sunny
|
|
|
|
|
If you just want to attach the ID (primary key) of that row with the navigation URL of the hypelink then this you can attach where you are designing the datalist.
Or an alternatively you can use onitemdatabound event of the datalist to do the code. What you need to do is to find the hyperlink there and assign the value you want in navigateURL property of it.
Apurva Kaushal
|
|
|
|
|
R1119 wrote: Actually I dont know, on which event I have to code for this and how.
A better method is to get a ASP.NET book and work out the examples provided. Web forums are useful only when you know the basics.
|
|
|
|
|
Hi,
This is Srinivas, i am doing one web Application. so that i need to check the incoming mail has attachment or not to the admin email ID.
How to send the email automatically by as per our stetted date.
Plz help me to fulfill this Project.
Thanks for Adavnce.
|
|
|
|
|
Member 4720184 wrote: How to send the email automatically by as per our stetted date.
Do you want to send mails automatically which is scheduled for a particular time, then you can create a windows service for it.
Apurva Kaushal
|
|
|
|