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...
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 !=...
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...
Hello
Whenever I try to use AVG to scan for viruses, my computer shuts down before the scan is complete.
It also restarts when i'm watching video, it gets really hot and then shuts down.
How can you explain this behaviour? Is it because of the battery?
thanks for any help
Hello
I have a number of users for my application, and when they log in I store in a session variable their role.
When a user logs out I call this method "Session.RemoveAll()". Does this deletes the other users' session objects too?
Thanks
Hello
I have created an Error.aspx and I want to show this page whenever a server error occurs. Do you know how to set this up?
Can I use the web.config for this?
Thanks
Hello
I've built an application locally that has a sort of "autosave" feature.
Using the JavaScript function window.setTimeout I do an AJAX call which updates a datatable stored in a Session variable, just before a user's session ends.
I uploaded this code on a live server and found out that...
Hello
I have started using caching to perform custom paging with a datagrid.
How can I use the editing abilitis of the datagrid to update the cached dataset (without connecting to the database)?
Can you point me to some code samples?
Thanks a lot
Hello
I want to add an HtmlTable, which I create in code, into ViewState, but the error I get is that it's not serializable.
So I created a class where I created an htmltable in the constructor and exposing it through a property. In the same class I have 2 methods that serialize/deserialize an...
Hello
This is how my gridview looks like
<asp:GridView ID="GridView_t_SLA" runat="server" AutoGenerateColumns="False" AllowPaging="True"
ShowFooter="true" OnRowCommand="GridView_t_SLA_RowCommand" DataKeyNames="sla_id">
<Columns>...
Hello
I have a dropdownlist on a page whose selected item I'm struggling to retain after a postback.
After I select an item from the list and click a button, when the postback finishes I always see the first item in the list selected.
In the dropdownlist i have not set the "selected" property...
Hello
When I open my VS 2005 I click File -> New -> Website and on the window that comes up, under Templates there are:
Windows Application, Console Application, Class Library, Crystal Reports Application, Windows Control Library and Device Application.
I see nothing about websites, have I...
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.