|
JAS GIRI wrote: How to remove Browser comparability
What do you mean ? Can you reframe your question ?
|
|
|
|
|
I am looking for code wherein I can create and delete an appointment from asp.net code
|
|
|
|
|
I assume you want to create and delete appointments for the user of your website, not on the server ? Impossible. ASP.NET generates HTML and javascript, neither of which can do that. If you target IE only, you may be able to do it with VBScript, IF the user gives your site permission to run ( they will be warned not to ). Overall, I'd suggest you read an ASP.NET book and don't bid on jobs before you know if you can do them or not.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks for ur reply
I am looking for code where i can integrate the outlook with asp.net
I want to create an appoint from asp.net in outlook
here is the code for that
Imports System.Reflection
Imports Outlook = Microsoft.Office.Interop.Outlook
Module Module1
Sub Main()
' Create an Outlook application.
Dim oApp As Outlook.Application = New Outlook.Application()
' Create a new AppointmentItem.
Dim oAppt As Outlook.AppointmentItem = oApp.CreateItem(Outlook.OlItemType.olAppointmentItem)
' Set some common properties.
oAppt.Subject = "Created using OOM in VB .NET"
oAppt.Body = "Hello World"
oAppt.Location = "Room 1201"
oAppt.Start = Convert.ToDateTime("05/31/2004 9:00:00 AM")
oAppt.End = Convert.ToDateTime("05/31/2004 1:00:00 PM")
oAppt.ReminderSet = True
oAppt.ReminderMinutesBeforeStart = 5
oAppt.BusyStatus = Outlook.OlBusyStatus.olBusy
oAppt.IsOnlineMeeting = False
' Save to Calendar.
oAppt.Save()
' Clean up.
oApp = Nothing
oAppt = Nothing
End Sub
End Module
but i am not able to delete that appoint from asp.net
Can u please help
|
|
|
|
|
This looks like VB code to me. Refer to my first answer. You can't create appointments on your clients machine, only on the server. Buy a book.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hi
i want to redirect to user to login page if he/she
is not login in the system.
after successful login he/she can visit the site or view the pages?
regards
keyur satyadev
|
|
|
|
|
Create a session variable when one logs in to the system and then check for the session variable to every page. You can use base class of the page to get it done or you can place the checking inside the master page. Just if the session variable is not present, Response.Redirect to the login page.
Thats all..
|
|
|
|
|
Hi
i stored Password as key using one way hashing function SHAI now how i verify the enterd Password with stored password . i did coding like below but it is not working. any idea.
protected void ValidatePassword(object source, System.Web.UI.WebControls.ServerValidateEventArgs args)
{
string sqlCmd =
"SELECT Password FROM User_Profile WHERE Password = " +
Util.Quote(Password.Value.Trim());
OdbcCommand command = new OdbcCommand(sqlCmd, con);
OdbcDataReader reader = command.ExecuteReader();
if (reader.Read())
{
string storedHashedPassword = (string)reader["Password"];
string givenHashedPassword = FormsAuthentication.HashPasswordForStoringInConfigFile
(Password.Value.ToString(),"SHA1");
if(storedHashedPassword == givenHashedPassword)
{
args.IsValid = true;
reader.Close();
}
}
}
in on button click
if (!(IsValid))
{
return;
}
Response.Write("Entered Password is correct ");
Guide me where iam doing wrong
Best Regards
|
|
|
|
|
Define 'not working'. If the stored password is hashed, you obviously need to ash it in order for your SQL to work. What you've got, can't work, if the stored password is hashed.
Rameez Raja wrote: "SELECT Password FROM User_Profile WHERE Password = " +
Util.Quote(Password.Value.Trim());
Rameez Raja wrote: string storedHashedPassword = (string)reader["Password"];
string givenHashedPassword = FormsAuthentication.HashPasswordForStoringInConfigFile
(Password.Value.ToString(),"SHA1");
Yep - that's it. You're saying that you want the unhashed password returned if it exists, then you compare it to the hashed one.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Hi
i am working with visual source safe and not able to delete the file from source safe.
its showing the error "vss Datavase\data\o\okebaaaa.a not found"
i m login with admin login although error should be thier?
any one have idea abt this visual source safe?
|
|
|
|
|
If you are admin, run SS Analyze and Fix Database. If still have problem, mark the file in Windows Explorer as read/write and create a new textfile named test.vbp with some junk inside it. Then copy that file into the vss Datavase\data\o\okebaaaa.a directory if you can, then there is no problem ... .otherwise it is throwing this error from the operating system because of rights to the folder.
|
|
|
|
|
How is this an ASP.NET question ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i think you are not developer in the company.
so asking that type of question and making the comment on others?
if u dont know keep mum? do not make comment ok dear?
Regards
Keyur Satyadev
|
|
|
|
|
I have created Custom Control of Button and I want to Attach ConfirmButtonExtender of Ajax. It Give me Error.
Extender control 'ConfirmButtonExtender1' cannot extend 'btnSave'. Extender controls of type 'AjaxControlToolkit.ConfirmButtonExtender' cannot extend controls of type 'ERPControls.ERPButton'.
ERPControls is Namespace and ERPButton is Tag prifix of Custom Control. Button Id is btnSave.
|
|
|
|
|
Hi, In my project l have drop down list box and a text box. If i select a item in drop down that item will be displayed in the Text box. I can do it using a seperate command Button. How it is possible using Drop down list? Can any one give idea?
|
|
|
|
|
You're probably going to have to write some javascript to do this.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
protected void Button1_Click(object sender, EventArgs e)
{
TextBox1.Text = DropDownList1.SelectedItem.Value;
}
|
|
|
|
|
hi all
i want to create a bar,pie chart using report control in asp.net.
i have found some article on it..but my problem is i have dynamic query to reterive data from the database.
if possible please send the source code.
thanks in advance
Jagwinder Singh
Er. Jagwinder Singh
|
|
|
|
|
I'm having trouble understanding the issue. The report control is tied to static SQL ? That seems kind of useless.
Nonu Walia wrote: possible please send the source code.
What source code ? How about you post some of the code you've written so we can see where the issue is ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Check this article for source code.
http://www.aspfree.com/c/a/ASP.NET/Binding-Data-to-the-ReportViewer-Control-Dynamically-in-ASPNET-20/
I have created the Bar chart report with the help of this article.
But Now my problem is when i generate the bar chart all the bars are coming of same size but i want the bar size of my field value.
i hope u understand now??
Er. Jagwinder Singh
|
|
|
|
|
Hi ,
May i know how do i check whether ASPNET account is already added to Administrator group or not thru c#....
|
|
|
|
|
This is not an ASP.NET question. You also didn't need to ask twice.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
May i know How to add ASPNET as a member of Administrators under Local Users and Groups/Users/ASPNET(in Computer management) thru programatically in c#....
Please let me know....
|
|
|
|
|
Hi,
I have installed .NET Framework 3.5 SP1, but I m not getting 'ASP.NET MVC Web Application' project template? Plz let me know how to get the same? Is there anything else required?
|
|
|
|