Click here to Skip to main content
15,909,737 members

Comments by pronning300 (Top 13 by date)

pronning300 12-Feb-11 5:25am View    
yes i have tried alot of settings .... like User.isauthencated
and i changed many time the web.config file and check it.Sometimes it login and successfully redirects and sometimes not....

<authorization>
<deny users="*">
<allow roles="member" />
<allow roles="provider" />

</authorization>
<rolemanager enabled="true">

<authentication mode="Forms">
<forms name="appNameAuth" timeout="30" loginUrl="Login.aspx" defaultUrl="Default.aspx" />
</authentication>


<membership defaultprovider="DBProvider">

<providers>
<clear>
<add requiresQuestionAndAnswer="false" requiresUniqueEmail="true"
enablePasswordRetrieval="false" enablePasswordReset="true" maxInvalidPasswordAttempts="999"
passwordAttemptWindow="999" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0"
passwordFormat="Hashed" connectionStringName="HealthProConnectionString"
name="DBProvider" type="System.Web.Security.SqlMembershipProvider" />
</providers>



This is what i have configured in my webconfig file.I have done it before but done know why it's not configuring this time.... :(
pronning300 12-Feb-11 4:38am View    
Please tell me what i am missing...
pronning300 7-Jan-11 6:51am View    
this is very good one . but i want to drag from one grid view to other grid view.

regards
pronning300 7-Jan-11 6:07am View    
thanks rijwan.
getElementbyid() is used for static id,but here the id of the li is dynamic.
pronning300 13-Oct-10 12:14pm View    
Code:
String sConnectionString =
"Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + file + ";" +
"Extended Properties=Excel 8.0;";


OleDbConnection objConn = new OleDbConnection(sConnectionString);

objConn.Open();

OleDbCommand objCmdSelect = new OleDbCommand("SELECT * FROM [Sheet1]", objConn);

OleDbDataAdapter objAdapter1 = new OleDbDataAdapter();

objAdapter1.SelectCommand = objCmdSelect;

DataSet objDataset1 = new DataSet();

objAdapter1.Fill(objDataset1);

objConn.Close();

Error:
The Microsoft Jet database engine could not find the object 'Sheet1'. Make sure the object exists and that you spell its name and the path name correctly.