Search

You searched for the word(s): userid:795426

Matching Posts

  • Error : Not a legal OleAut date

    Hi, I just got this error while reading excel file. Any views ??? OleDbCommand objCmdSelect = new OleDbCommand("SELECT * FROM [" + sourceFileName + "$]", objConn); OleDbDataAdapter objAdapter1 = new OleDbDataAdapter(); objAdapter1.SelectCommand = objCmdSelect; DataSet objDataset1 = new DataSet(); objAdapter1.Fill(objDataset1); // Error line objConn.Close();
  • Re: Share session state between ASP and ASP.NET apps????

    http://msdn.microsoft.com/en-us/library/aa479313.aspx
    Posted to State Management (Forum) by yeotumitsu@sify.com on 2/2/2009
  • Re: Saving a null value

    If the field allows nulls, yes you can store null into a field of bit type.
    Posted to Getting Started (Forum) by yeotumitsu@sify.com on 2/2/2009
  • Re: Passing on credentials

    Single sign on can help. http://aspalliance.com/1545_Understanding_Single_SignOn_in_ASPNET_20.all
    Posted to Security (Forum) by yeotumitsu@sify.com on 2/2/2009
  • Re: session timeout

    http://msdn.microsoft.com/en-us/library/ms525473.aspx ========= web config - <sessionState timeout="60" /> =========== http://justgeeks.blogspot.com/2008/07/aspnet-session-timeouts.html
    Posted to State Management (Forum) by yeotumitsu@sify.com on 1/28/2009
  • Re: ASP.Net 1.1 authorization

    Follow these steps - 1. Open Firefox 2. Navigate to the url about:config 3. Locate the following preference names and put as the value the comma separated values of the address roots. network.automatic-ntlm-auth.trusted-uris network.negotiate-auth.delegation-uris network.negotiate-auth.trusted-uris assign values to all above preference names as your site - http://yoursite,http:yoursite:0000
    Posted to Security (Forum) by yeotumitsu@sify.com on 1/28/2009
  • Re: ASP.Net 1.1 authorization

    [quote user="kalyanakumar.m"]is there alternate method to get real windows user name(logged on user)? [/quote] use HttpContext.Current.User.Identity.Name ========================================= public string GetCurrentUserWindowsLogin() { string windowsLogin = Page.User.Identity.Name; int hasDomain = windowsLogin.IndexOf(@"\"); if (hasDomain > 0) { windowsLogin = windowsLogin.Remove(0, hasDomain + 1); } return windowsLogin; }
    Posted to Security (Forum) by yeotumitsu@sify.com on 1/28/2009
  • Re: Oracle sp?.

    To get this stuff you need to create a Ref Cursor to return recordset. create or replace PACKAGE Types AS TYPE cursor_type IS REF CURSOR; END Types; Now create a stored procedure to return multiple rows . create or replace PROCEDURE getAllCity(p_recordset OUT types.cursor_type) AS BEGIN OPEN p_recordset FOR select * from tbl_country; END getAllCity; Now put this code in your event. string strconn = myDynconnStr; OracleConnection conn = new OracleConnection(strconn); OracleCommand objCmd = new OracleCommand
    Posted to Oracle (Forum) by yeotumitsu@sify.com on 1/17/2009
  • Re: pass data to another domain using post method

    [quote user="sudhanva"]How can we implement this? I dont want to use querystring.[/quote] One of the methods could be "Post" the page to the other page in different domain. and read data using request - response model. Lets you have page1.aspx in domain1 and page2.aspx in domain2. you habe to pass the data from page1 to page2. Page1 - <form id="frm" name="frm" method="post" runat="server" action="http://domain2/page2.aspx">
    Posted to Security (Forum) by yeotumitsu@sify.com on 1/16/2009
  • Re: Keyboard values

    <script language="javascript" type="text/javascript"> function getCode(evt) { evt = (evt) ? evt : event; var charCode = (evt.charCode) ? evt.charCode : ((evt.keyCode) ? evt.keyCode : ((evt.which) ? evt.which : 0)); alert(charCode); } </script> <asp:TextBox ID="txtYear" runat="server" MaxLength="4" onkeypress="getCode(event)"></asp:TextBox>
Page 1 of 79 (782 items) 1 2 3 4 5 Next > ... Last »