|
As in the username and password in the query is different from the ones you entered on screen?
Can you post some sample data?
|
|
|
|
|
ya sure...
for instance, in the "tbLogin" table .there are records as the following:
UserId UserName Password
12 rahul rahul
143 amit amit
32 rajni rajni
543 anuj anuj
Among the above records, usernames "amit" , "rahul" and "anuj" are working fine but the username "rajni" and its corresponding password is not being taken by the login form.
I hope u understand the problem now
|
|
|
|
|
What is the query text when you try rajni in the login form?
|
|
|
|
|
its the following :
string str = "Select userName, Password FROM tbLogin
Where userName= '" + txtUserName.Text + "' and Password = '" + txtPass.Text + "' ";
|
|
|
|
|
Buddy, I want the query text and not the code!
|
|
|
|
|
what do u mean by query text ...i don't understand
|
|
|
|
|
Once the line of code where you form the query is executed, the string variable str would contain the query in plain text. You need to check that to find out what query is executed against the database table!
Now in your IDE, put a breakpoint on this line of code, execute your application and step through to get the value in str variable. Once you do that post it here.
|
|
|
|
|
|
Hi
I have take a calender and a formview.
we want that when we click on calendar any particular date,so that date
come in textbox of formview. It's mean ,i am taking TextBox in Formview.
How we will fectch that calendar date in formview textbox.
plz help me soon?????
Thanks
Vivek
|
|
|
|
|
hi
I want simple html editor in asp.net.if any body have code in asp.net plz help me.
thnaks
|
|
|
|
|
|
how to download code for htmleditor from that site?i saw the editor but unable to download the code.
|
|
|
|
|
|
i m using asp.net 2.0,there is no editor option when i instal asp.net controltoolkit for 2.0
|
|
|
|
|
Hi ,
You can use FCK editor ot FreeTextBox.
Thanks
Rahul
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Hi,
there are many open source HTML editors, you can try this:
http://tinymce.moxiecode.com/index.php
modified 27-May-14 5:10am.
|
|
|
|
|
need help with a formview foxpro linked server problem
i have some foxpro tables that are part of an app.
i have created a mssql linkedserver and can select records from a .aspx page
my problem is how to update the records from that same webpage.
the web page has a ddlist to select a acct
a gridveiw to display a partial record
then a formview to display and edit a record selected in the gridview
i can select records ... then start an update in the form view ... just can't save the updated record
if you want to see the page look here:
http://airportcoach.dyndns.biz/users/res_data.aspx
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Wed, 9 Dec 2009 03:30:39 UTC
Message: Sys.WebForms.PageRequestManagerServerErrorException: Cannot fetch a row using a bookmark from OLE DB provider "VFPOLEDB" for linked server "Reservations".
OLE DB provider "VFPOLEDB" for linked server "Reservations" returned message "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".
Line: 4723
Char: 21
Code: 0
|
|
|
|
|
hello
some can comment about implement security method between php client and asp net 2.0 web services
I do not find much information
thanks
|
|
|
|
|
How i assure that only me client php consume me web services .net 2.0 and how i assure that this respond only is from me webservices .net 2.0
|
|
|
|
|
to expand
i have 2 server
server 1 "ip public" - ms server 2003 with apache and php. Frond end
server 2 "ip local network" - ms server 2003 with aspnet 2.0 web services. layer business
the connection is point to point and this is SSL
reading i found a article
"May be the message is signed or encrypted, and sometimes both. Now this cannot done only with transport security like https. You have to secure the message itself. WS-Security specification is meant for just this. It defines how to secure the message itself. So if you want this level of security, you need SOAP Web services. And there are applications, specially enterprise applications that need this level of security."
my objective is implement WS-Security specification between server 1 and server 2
some comment, guide etc will be apreciate for me
Thanks for the time.
|
|
|
|
|
Since PHP is a bit more limited in ability (as far as I know) you would probably do better asking the question in the PHP forum.
Also, please do not keep adding onto your original question. You can edit the original question.
|
|
|
|
|
1. https/ssl
2. encrypt data (DES)
3. checkcode by data (md5)
4. soapheader
|
|
|
|
|
How can I determine the URL of the website my users originate from? So if they clicked a link on http://www.siteABC.com that redirected them to my site, I would capture "http://www.siteABC.com".
I know Request.URLRefferer will work if the user specifically clicked on a link to get to my website however that won't work for redirects.
Any idea what I can use?
Thanks.
|
|
|
|
|
The information about user coming to your sites is based on HTTP protocol. Especially on HTTP request header. See here:http://en.wikipedia.org/wiki/List_of_HTTP_headers[^] to list all the items which can be presented in the HTTP Request header. There is no such a thing you are looking for. Thus you can’t get this information…. There is just the Referer parameter but know about it.
|
|
|
|
|
Hi! Here what I want to do: I have a label and in it I want to display the seconds beginning from 60 and finishing with 0 at the interval of one second, and then again and again (basically a little stop watch). I've tried something using C# and a delegate, but I can't use the method Invoke which I was using in C#. Here the of what I've done:
public delegate void del_time();
public Thread threadTime;
public int time = 60;
protected void Page_Load(object sender, EventArgs e)
{
if (!this.IsPostBack)
{
labelTime.Text = "TIME 60";
threadTime = new Thread(new ThreadStart(Display_Time));
threadTime.IsBackground = true;
threadTime.Start();
}
}
protected void Dsiplay_Time()
{
del_time del1 = new del_time(Lbl_time);
Thread.Sleep(1000);
while (true)
invoke(Lbl_time, new object[] { });
}
protected void Lbl_timp()
{
if (time > 0)
{
time -= 1;
labelTime.Text = "TIME " + time.ToString();
}
else
{
time = 60;
labelTime.Text = "TIME " + time.ToString();
}
}
Now can anyone tell me if I can do the stop watch this way, or could anyone give any other idea. I've noticed that I have a control called "Timer". I tried to use it, but I get the following error: "The control with ID 'Timer1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it." Any ideas??
|
|
|
|