|
Dear Gamzun (Bro)
yes it does,
but it accepts right path instead of that prompt exception that's why
posted to here; to share with like u people.
Thanks for reply.
|
|
|
|
|
can anybody help me. I have to execute my event by pressing function keys in asp.net(1.1). Is it possible. Please help me.
|
|
|
|
|
<input type="text" name="txtPostalCode" onkeypress="if(!isNS4){if(event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;}else{if(event.which < 45 || event.which > 57) returnfalse;}" />
use this and call that javascript function from this so it will call that function when ever u click mouse or when ever use tab, its client too...
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
try event.keyCode in i.e.
for mozilla it's event.which
P.S.
|
|
|
|
|
thanks, i will check it and inform to all..
|
|
|
|
|
iam getting data from a database and iam storing that data in a datatable ..now i want this data to retain its values for every event calling how and if any updation is made to the table in any event then it should got effected to that data table..and also even the page is post back also it should retains its value untill the application closed.
|
|
|
|
|
Jagdeesh since you are on ASP.NET you will have to expicitly "maintain the state" of the DataTable.
heck out topic for state maintainance in ASP.NET
P.S.
|
|
|
|
|
The three session state options for ASP.NET are:
In-Process
Out-Of-Process with a Windows Service
Out-Of-Process with SQL Server
Use this to maintain the state sesion. More more details Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Hi! All
I m trying to creating crystal reports with push method (via Dataset);
but when it runs it displays a form that "The reprot you requested requires further information.
then has four textboxes Server name & Database name are uneditable,and other two are userID & password. ";
it never displays report.
But all works when i use to create crystal reprots with pull method (except dataset); it pop up same form over there but all fields are editable.
I set Crystaldecisions.share.connectionInfo at pageload event but it all in vain.
so how i solve this. any suggestion regarding this will be anticipated.
Thanks in advance.
|
|
|
|
|
How i check if a cloumn value is null when already a search condition is avilable.I want to put a cloumn value from the database.Getting the value on a serch condition,also if the returned value is null thn an error occurs in sql.I want to chk if the value is null or not ,if the value is not null return the value..How the query is wriiten for that.
sqlstatement = "SELECT UnitId FROM user_UnitRoles WHERE UserId='"+UserId+"' ";
object s=dbtObj.GetColumnValue(sqlstatement, "UnitId");
return s.GetType().ToString();
I attach the query with this mail .Plz tell what changes i want to do
|
|
|
|
|
I am not sure what you asking but i feel you should try to compare returned value to
System.DBNull in .NET CLR.
P.S.
|
|
|
|
|
change your logic, if your GetUnitId method doesn't have any record then it should return something which shows that it's null.
Push your brain and it will work out for you
|
|
|
|
|
what is the difference between Server.HtmlDecode and Server.HtmlEncode
Regards,
LEE
|
|
|
|
|
I'd have thought that was obvious. What does MSDN say ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Server.HtmlEncode encodes data and should be performed anytime that you are allowing for free text in an input field. Server.HtmlDecode decodes data that have been encoded with Server.HtmlEncode.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
hi iam using session("varname");now i want to clear this session how it wiil be possible plz
|
|
|
|
|
You can use session("varname")=null; to clear the session
Regards,
LEE
|
|
|
|
|
Hi
Session object in ASP.NET implements ICollection interface
So Session has a method
Session.Remove("entityName") ;
to remove all the items in Session collection one may use
Session.RemoveAll();
Session.Clear();
P.S.
|
|
|
|
|
By using Session("varname").Remove
"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
|
|
|
|
|
how to develop spam filter application using asp.net with c#.net
plz help me
|
|
|
|
|
You probably need to have the list of spammer ip addresses in your database or need to use the third-party service for that..
|
|
|
|
|
ASP.NET is not an appropriate technology to use here, unless you're writing an app that reads mail online. Otherwise, why do you need web pages to filter spam ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
maybe... he is writing the blogging engine or something. and no wish to use CAPTCHA.
|
|
|
|
|
any one help me,
i am developing an application in asp.net having Mysql as backend.my problem is that my .aspx pages are present in iis in one computer and my mysql database runing in linux machine. i am passing a query like
SELECT * INTO OUTFILE 'd/temp/backup.sql' FIELDS TERMINATED BY ',' FROM cris_cdr WHERE DATE_FORMAT(myDate,'%Y-%m-%d') >= '2007-06-24' and DATE_FORMAT(myDate,'%Y-%m-%d') <= '2007-12-06'
but it is throwing error as
Error Code : 1
Can't create/write to file 'd\temp\backup.sql' (Errcode: 2)
(78 ms taken)
i kwnow that the above query try to writting in the same machine(linux).
can you help me how i can write .sql file in iis machine.
thanks
manoj kumar
|
|
|
|
|
Seems to me that you're just asking for grief. Why not install MySQL on the Windows machine ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|