|
Sorry for interrupting into the thread.
I wanted to ask a pertaining question regarging this thread, after the particular instant of time , the image gets updated , now my question is if i click the back button after i am getting the third pic , shouldn't i get it's previous pic(second pic , I mean the back button back button will not take into consideration the seecond pic and will revert me to it's previous page) , instead of this i am being navigated back to it's previous page.
example this link
http://www.yahoo.com/[^]
there the pic are automatically updating , but the moment i click at the back button , the page get's navigated to previous page
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
It will depend on the code that you wrote. If you update the history from Javascript when you change the image, I think you will get the previous image (e.g second pic).
|
|
|
|
|
Try to use it using AJAX Timer Control ToolKit.
no one will provide you the source code !!!!
|
|
|
|
|
hello
In my table I have password feild which datatype is binary.
but in my asp.net 2.0 application i have textbox for password feild.
then how can i convert it into binary.
pls help me.
Gayatri
|
|
|
|
|
hi
pls help me urgently
Gayatri
|
|
|
|
|
it seems something sort of byte[] (like an image field).
so my suggestion is convert it first into byte[]
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
give me a convert syntax like this UserCode.
(" + Convert.ToInt32(txtUserCode.Text) + " ,
" + " ' " + txtPassword.Text + " ' " + ")
Gayatri
|
|
|
|
|
Hi,
you can do from this way..
string myByte = "Stingtest";<br />
System.Text.ASCIIEncoding encoding=new System.Text.ASCIIEncoding();<br />
Byte[] bytes = encoding.GetBytes(myByte);<br />
<br />
myByte = "";<br />
myByte = encoding.GetString(bytes);
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
hi
i am using asp.net 2.0 with c#.
and my database is MSSQL server in that i have tuser table in that
i have password feild which datatype is Binary.
i have following code
strSqlCmdText = "insert into tUser values( " + Convert.ToInt32(txtUserCode.Text) + " , "+
" " + " ' " + txtUserID.Text + " ' " + "," + " ' " + txtFirstName.Text + " ' " + ", "+
" " + " '" + txtLastName.Text + "'" + "," + " ' " + txtPassword.Text + " ' " + ", "+
" " + "'" + txtUserType.Text + "'" + ", "+
" " + "'" + dtpWarningDate.SelectedDate + "'" + " , "+
" " + "'" + dtpExpireDate.SelectedDate + "'" + ", "+
" " + "'" + drpdwnStatus.SelectedItem.Text + "'" + ", "+
" " + "'" + Session["LoginName"].ToString() + "'" + ", "+
" " + "'" + dtpCreateDate.SelectedDate.ToString() + "'" + ", "+
" " + "'" + txtUpDatedBy.Text + "'" + ", "+
" " + "'" + dtpUpdateDate.SelectedDate.ToString() + "'" + ")";
objClsDllSql.funSqlCmd(strSqlCmdText);
when it run that time following error is comming===========
Disallowed implicit conversion from data type varchar to data type binary, table 'eSRS.gayatri.tUser', column 'Password'. Use the CONVERT function to run this query.
pls help me.
Gayatri
|
|
|
|
|
Hi,
I think you didnt see whatever I wrote....
niki_nilu wrote: strSqlCmdText = "insert into tUser values( " + Convert.ToInt32(txtUserCode.Text) + " , "+
" " + " ' " + txtUserID.Text + " ' " + "," + " ' " + txtFirstName.Text + " ' " + ", "+
" " + " '" + txtLastName.Text + "'" + "," + " ' " + txtPassword.Text + " ' " + ", "+
" " + "'" + txtUserType.Text + "'" + ", "+
" " + "'" + dtpWarningDate.SelectedDate + "'" + " , "+
" " + "'" + dtpExpireDate.SelectedDate + "'" + ", "+
" " + "'" + drpdwnStatus.SelectedItem.Text + "'" + ", "+
" " + "'" + Session["LoginName"].ToString() + "'" + ", "+
" " + "'" + dtpCreateDate.SelectedDate.ToString() + "'" + ", "+
" " + "'" + txtUpDatedBy.Text + "'" + ", "+
" " + "'" + dtpUpdateDate.SelectedDate.ToString() + "'" + ")";
change it..
strSqlCmdText = "insert into tUser values( " + Convert.ToInt32(txtUserCode.Text) + " , "+ <br />
" " + " ' " + txtUserID.Text + " ' " + "," + " ' " + txtFirstName.Text + " ' " + ", "+<br />
" " + " '" + txtLastName.Text + "'" + "," + " ' " + Convert string into binary here.. + " ' " + ", "+ <br />
" " + "'" + txtUserType.Text + "'" + ", "+ <br />
" " + "'" + dtpWarningDate.SelectedDate + "'" + " , "+ <br />
" " + "'" + dtpExpireDate.SelectedDate + "'" + ", "+<br />
" " + "'" + drpdwnStatus.SelectedItem.Text + "'" + ", "+<br />
" " + "'" + Session["LoginName"].ToString() + "'" + ", "+<br />
" " + "'" + dtpCreateDate.SelectedDate.ToString() + "'" + ", "+<br />
" " + "'" + txtUpDatedBy.Text + "'" + ", "+<br />
" " + "'" + dtpUpdateDate.SelectedDate.ToString() + "'" + ")"; <br />
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
thanku
yes it is .
but give me a syntax in asp.net 2.0 with c#
Convert string into binary here.. i want syntax.
pls give me it
thanku
Gayatri
|
|
|
|
|
sir
pls give me a syntax in asp.net 2.0 with c#
Convert string into binary here.. i want syntax.
pls give me it
thanku
Gayatri
|
|
|
|
|
niki_nilu wrote: strSqlCmdText = "insert into tUser values( " + Convert.ToInt32(txtUserCode.Text) + " , "+
" " + " ' " + txtUserID.Text + " ' " + "," + " ' " + txtFirstName.Text + " ' " + ", "+
" " + " '" + txtLastName.Text + "'" + "," + " ' " + txtPassword.Text + " ' " + ", "+
" " + "'" + txtUserType.Text + "'" + ", "+
" " + "'" + dtpWarningDate.SelectedDate + "'" + " , "+
" " + "'" + dtpExpireDate.SelectedDate + "'" + ", "+
" " + "'" + drpdwnStatus.SelectedItem.Text + "'" + ", "+
" " + "'" + Session["LoginName"].ToString() + "'" + ", "+
" " + "'" + dtpCreateDate.SelectedDate.ToString() + "'" + ", "+
" " + "'" + txtUpDatedBy.Text + "'" + ", "+
" " + "'" + dtpUpdateDate.SelectedDate.ToString() + "'" + ")";
Ohhhh SQL Injection attack[^]. Check this and try to change your code
|
|
|
|
|
Try it like this :
string myByte = "Stingtest";
System.Text.ASCIIEncoding encoding=new System.Text.ASCIIEncoding();
Byte[] bytes = encoding.GetBytes(myByte);
myByte = "";
myByte = encoding.GetString(bytes);
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
is there is any code to change the tool tip styles
|
|
|
|
|
jagadeeshkumar2106 wrote: Is there any code to change the tool tip styles
I think you probably need to use the custom tooltip control or DIV with javascript.
|
|
|
|
|
sir will u help wiht code in this regard
|
|
|
|
|
You can google with those keywords "Javascript tooltip" or "asp.net ajax tooltip"
|
|
|
|
|
|
Hi all,
I have developed an application comprising classic ASP and ASP.NET 2.0. I have used frames in asp to call .NET pages. Its working fine on my local macine but when i uploaded it to the server it gives me yhe foll error
"Unrecognized configuration section 'connectionStrings'"
I also checked the ASP.NET tab in IIS and its alraedy set to 2.0. What can be the problem???? I have also restarted the server but no gain. Pls help!!!!!
When you fail to plan, you are planning to fail.
|
|
|
|
|
www.Developerof.NET wrote: "Unrecognized configuration section 'connectionStrings'"
I would like to suggest you to do some possibilities.
1. Please check the ASP.NET version both "Default Website" and "Individual Virtual Directory"
2. Instead of uploading your project, you should create very sample project and upload it on the server. And see whether it is working or not.
3. Find the differences between the global web.config or machine.config of your server and the machine that you said it works.
|
|
|
|
|
following is the regular expression which i a using for the whole numbers and fractionl numbers(1 , 2 , 9999 , 3.9 , .8 , .09)
[0-9]*.[0-9]*
when i tested for the 1s it did not occur any error
Please help
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
modified on Thursday, December 27, 2007 11:55:07 PM
|
|
|
|
|
Hi..
Try this
[0-9]*[.][0-9]*
Aswini
|
|
|
|
|
ThanQ.
I wanted that textbox can accept both whole numbers as well as te fractional numbers
The expression , which u provided , excepts only fractional values
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
here is ur solution,
"^[1-9]+[0-9]*(\.{1}[0-9]+)?"
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|