Hello
I am using Visual Studio 2008 and SQL Server 2005.
I have a solution that includes an Office Excel 2007 Workbook project and a class library. When I run the Excel form comes up and I am trying to retrieve data from my local SQL Server on clicking a button.
The code I use is
[using...
Where exactly you mean? On logging out?
this is the log out button method
protected void lbLogOut_Click(object sender, EventArgs e)
{
Session.RemoveAll();
FormsAuthentication.SignOut();
FormsAuthentication.RedirectToLoginPage();
}
Hello
I'm working on a asp.net 2.0 website that uses forms authentication. In the login.aspx there is the following code that takes you to default.aspx
<asp:Login ID="Login1" runat="server" RememberMeSet="false" LoginButtonType="Link" TitleText="Login to the Ethic referal page"...
Hello
I am going to create a website for a client in .net and would like your advice.
He's got 20 business items and wants a different web page for each. I told him what we could do is build an admin template page, with which he can update the site. Do you agree with this?
If yes, shall I have...
Hello
I have a solution which consists of a few class libraries, a windows form project and a web form one.
I create a Setup Project for Windows Applications as described in this microsoft link.
http://msdn2.microsoft.com/en-us/library/ms227381(VS.80).aspx
When I finish, i double click on...
Hello
I have a very simple application that displays and edits employees. This app is divided in tiers; UI, BL and DAL.
My UI consists of webforms and the next task is to implement role-based authorization of the users. However, I am looking for a solution that would also work, had my UI been...
Hello
I am looking for a tool that compares 2 SQL Server 2000 databases and reports schema changes, i.e new stored procedures, deleted tables, added columns in tables etc.
Has anybody come across one?
Thanks
Hello
I have 2 user controls within a webform. I want to raise an event on one of them and be handled in the other one by subscribing to it.
So in the first one i have these declarations
public event EventHandler ImportUsers;
protected void OnImportUsers(EventArgs e)
{
if (ImportUsers !=...
Thanks for the reply.
I also found about the Visual Studio Tools for Office suite online and i'm trying to install it.
I cannot seem to do this and i posted a new thread...:(
Hello
I got Visual Studio 2005 installed, Professional edition, and i'm trying to install Visual Studio Tools for Office.
I got Office 2003 installed.
So i downloaded and ran the following from here...
Hello
I recently had to work with Microsoft word templates, changing VBA code.
I'm no good in VBA nor I find it enjoyable, so it was a horrible experience!
Is there any other way I can do with .NET 2.0? Are there any APIs/platforms that will allow me to do Microsoft word development in a...
Hello
I have an ASP.NET application that will soon go live in our environment.
When I open the SQL Server Enterprise Manager, under Management -> Current Activity -> Process Info
I see 2-6 connections with the UserID that is used in my applications web.config file.
At the moment I see 3...
Hello
I have a datagrid and one of its Templatecolumns contains a dropdownlist in its ItemTemplate.
When i try to export this in excel, the values of this column do not appear, i only see the headertext. Have you come across this problem before?
Here is the code i use in a button click...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.