Hi, I'm creating a Cahce in Web Service. When the Web Service or Web Server is down, whether the cache will be cleared or it ll be available. If its available in the server, how can i remove when the service is down. Kindly help me out to solve this issue. Thanks in advance.
babutkchn
Posts
-
Clearing the Cache in Web Service -
How to use ExecuteReader() with Oracle DB?we are using oracle not sql server('@symbol is not supported in Oracle'). give me the solution
-
how to use executereader() with oralce?hi, In my appication i'm using Oracle as a back end. In that when i'm using ExecuteReader() it shows an exception. Can any one of help me to solve this issue.
oleDBConnection = new OleDbConnection(connectString); string query = "SELECT V_FIRST_NAME,V_LAST_NAME,V_PHONE_NUMBER,V_EMAIL,V_FAX_NUMBER,V_ADDRESS,V_TITLE,V_POSTAL_CODE,V_COUNTRY from UserDetails where (V_USER_ID = ?) AND (V_PASSWORD = ?)"; OleDbCommand oledbCmd = new OleDbCommand(query, oleDBConnection); oledbCmd.CommandText = query; oledbCmd.CommandType = CommandType.Text; OleDbParameter par = oledbCmd.Parameters.Add("UserName", OleDbType.VarWChar, 50); OleDbParameter parm = oledbCmd.Parameters.Add("password", OleDbType.VarWChar, 50); oledbCmd.Parameters["UserName"].Value = userName; oledbCmd.Parameters["password"].Value = password; oledbCmd.Connection = oleDBConnection; oleDBConnection.Open(); OleDbDataReader dr ; dr = oledbCmd.ExecuteReader();
It threw an exception when executing the last line. The exception states that Unspecified error.Oracle error occured,but error message could not retrieved from Oracle.Data Type is not supported. -
how to use ExecuteReader() with oraclehi, In my appication i'm using Oracle as a back end. In that when i'm using ExecuteReader() it shows an exception. Can any one of help me to solve this issue.
oleDBConnection = new OleDbConnection(connectString); string query = "SELECT V_FIRST_NAME,V_LAST_NAME,V_PHONE_NUMBER,V_EMAIL,V_FAX_NUMBER,V_ADDRESS,V_TITLE,V_POSTAL_CODE,V_COUNTRY from UserDetails where (V_USER_ID = ?) AND (V_PASSWORD = ?)"; OleDbCommand oledbCmd = new OleDbCommand(query, oleDBConnection); oledbCmd.CommandText = query; oledbCmd.CommandType = CommandType.Text; OleDbParameter par = oledbCmd.Parameters.Add("UserName", OleDbType.VarWChar, 50); OleDbParameter parm = oledbCmd.Parameters.Add("password", OleDbType.VarWChar, 50); oledbCmd.Parameters["UserName"].Value = userName; oledbCmd.Parameters["password"].Value = password; oledbCmd.Connection = oleDBConnection; oleDBConnection.Open(); OleDbDataReader dr ; dr = oledbCmd.ExecuteReader();
It threw an exception when executing the last line. The exception states that Unspecified error.Oracle error occured,but error message could not retrieved from Oracle.Data Type is not supported. -
How to use ExecuteReader() with Oracle DB?hi, In my appication i'm using Oracle as a back end. In that when i'm using ExecuteReader() it shows an exception. Can any one of help me to solve this issue.
oleDBConnection = new OleDbConnection(connectString); string query = "SELECT V_FIRST_NAME,V_LAST_NAME,V_PHONE_NUMBER,V_EMAIL,V_FAX_NUMBER,V_ADDRESS,V_TITLE,V_POSTAL_CODE,V_COUNTRY from UserDetails where (V_USER_ID = ?) AND (V_PASSWORD = ?)"; OleDbCommand oledbCmd = new OleDbCommand(query, oleDBConnection); oledbCmd.CommandText = query; oledbCmd.CommandType = CommandType.Text; OleDbParameter par = oledbCmd.Parameters.Add("UserName", OleDbType.VarWChar, 50); OleDbParameter parm = oledbCmd.Parameters.Add("password", OleDbType.VarWChar, 50); oledbCmd.Parameters["UserName"].Value = userName; oledbCmd.Parameters["password"].Value = password; oledbCmd.Connection = oleDBConnection; oleDBConnection.Open(); OleDbDataReader dr ; dr = oledbCmd.ExecuteReader();
It threw an exception when executing the last line. The exception states that Unspecified error.Oracle error occured,but error message could not retrieved from Oracle.Data Type is not supported. Thanks in advance Babu -
How to use Enterprise Library for Data Access from SQL2005Hi, I've to use the Enterprise library3.0 for my application.Can anyone tell me how to use the library and implement C# code for that. Thanks in advance Babu
-
How to bind data to a dropdown using Active DirectoryHi, I have to retrieve data from Active directory and bind that to a dropdown list control.Can any one help me to do the function. Thanks in advance. Babu
-
Popup Blocker Detection using Javascriptsince i used in the following method, i called up the "testPopUP()" function testPopUp() { detectPopupBlocker(); }
-
Popup Blocker Detection using JavascriptI did that too.But it is not working.Could you tell any other solution for this issue.
-
Popup Blocker Detection using JavascriptNo.Its not working.its not even executing the if part of teh function.
-
Popup Blocker Detection using Javascriptyes.I've called in onload Untitled Page
-
Popup Blocker Detection using Javascriptthe function does not find for the pop up blocker ON/OFF in my application. Its is IE7.
-
Popup Blocker Detection using Javascripthi all, greetings. I've to detect the pop up blocker status using java script. I'm using the following code, which is taken from a site. But it is not working.can any one of you give me the soltuion for solve this issue.
function detectPopupBlocker() { var test=window.open("","","directories=no,width=100,height=100,menubar=no,resizable=no,scorllbars=no,status=no,titlebar=no,top=0,location=no"); if(!test) { test.close(); alert("A popup blocker was detected."); } else { test.close(); alert("No PopUp Detected"); } }
Thanks in Advance babu -
popup blokcer detection using javascriptHi all, Greetings.I need to detect the pop up bloker using javascript. if Pop is turned on i've to display a message "POPUP ON", if it is off have to display "POPUP OFF". I've tried out with some coding from net. But it is not working. Can any one of you help me to solve this issue as soon as possible. Its urgent. Thanks in advance. Babu
-
PopUp Blocker Detection using javascriptHi all, Greetings.I need to detect the pop up bloker using javascript. if Pop is turned on i've to display a message "POPUP ON", if it is off have to display "POPUP OFF". I've tried out with some coding from net. But it is not working. Can any one of you help me to solve this issue as soon as possible. Its urgent. Thanks in advance. Babu
-
PopUp Block DetectionHi All, Greetings. I need to detect pop block status and have to display in my appilcation. I used the following code for it.
function detectPopupBlocker() { var myTest = window.open("about:blank","","directories=no,height=100,width=100,menubar=no,resizable=no,scrollbars=no,status=no,titlebar=no,top=0,location=no"); if (!myTest) { alert("A popup blocker was detected."); } else { myTest.close(); alert("No popup blocker was detected."); } }
but its not working.it is working only for else part for both popup ON and OFF. Can any one of you tell me a solution to solve this issue. Thanks in Advance babu -
Link button disappears when click on it.Hi all, Greetings. I've generated dynamic link button in GridView Column. When i clicks on the link button,there is no click event takes place. instead the link button disappears. Can any one of you Give me the soultion for this issue. Thanks in Advance Babu
-
Convert string to EnumerationThank you for your response. But i need to take the text value from the dropdown list.how i can do that??? Could you tell me the solution. regards babu
-
LinkButton Disappears when click on it.Hi all, Greetings. I've generated dynamic link button in GridView Column. When i clicks on the link button,there is no click event takes place. instead the link button disappears. Can any one of you Give me the soultion for this issue. Thanks in Advance Babu
-
Convert string to EnumerationHi All, Greetings. I've to assign the enum value to a object property. Which shows the following error. Cannot convert type 'string' to 'Common.Enumerations.OffDate'
searchUIO.OffDate = (OffDate)ddlOffDate.SelectedValue;
in this (OffDate) is an enum. the drop down list will contain the values lastweek, lastmonth like that. so i have to assing the value to the lefthand site object. thanks in advance Regards babu