I am a newbie in NHibernate.I am facing problem in mapping file.I have 2 tables Fetures and Priority.
Feature FeatureID(PK),FeatureName,PriorityID(FK)
Priorty PriorityID(PK),PriorityName
I want to bind a grid to Feature table but but grid should contain PriorityName rather than PriorityID.
I have tried one-to-one,many-to-one and ba...
I heard good things about Softsys Hosting and so I decided to move my ASP.NET MVC solution over to them. But it would not run on them. I was able to pinpoint the problem to my BeginRequest event handlers. If I had them I'd get an error. Here is my code.
protected void Application_Start()
{
RegisterRoutes(RouteTable.Routes);
...
Hi,
Can anyone please suggest how to integrate yahoo music api in asp.net website?
thanks
...
Hi,
Platform: C# ASP.NET 3.5
I have a ListView which builds a Rate field which is decimal, if I simply have <% #Eval("Rate") %> it shows 4.5000 rather than 4.5 if I use <% #Eval("Rate","{0:#.##}") %> it shows 4.5 but doesn't display 0
any suggests on how to bind the decimal field but still show 0
Thanks
Lee
...
I'm going to start trying to build a facebook app soon for one of my sites, and have no clue where to start. Was wondering if anyone had any links to a step by step guide?
...
Hi,
I am developing an ASP.Net web app that needs to run in a Kiosk/Touch screen environment.
The existing ASP.Net web controls are not too touch-screen friendly as they seem better suited for a mouse/touchpad.
The hot potato dropped in my lap when the powers-that-be decided we need some sort of composite control similar to the ASP.Net...
I'm looking to take advantage of SharePoint's document management features for an intranet portal. Portal users, find SharePont rather cumbersome so I would like to build most of the site in ASP.NET, and integrate SharePoint document libraries so that i don't have to create a document management system.
How can I do this?
...
I have a wizard control on a page which has numerous steps with a button to save the options entered on the wizard. When this save button is clicked I'm adding the ActiveStepIndex to sessionstate, then skipping the wizard to the penultimate page (which has StepType="Complete") to show a message saying that the data has been saved. On t...
Hi,
I have to create a new ASP.NET 3.5 site (Not MVC!), and I am required to build a Plugin Architecture for the same.
I am thinking of using UserControls, but DLL of the UserControl must be placed in "bin" directory in order for it to work :(. I can't do that becauase I will have lots of Dlls and want to load the DLLs dynamically when...
Well, just to keep it simple: I have a webform. On it a button called "Restart". I click on this button and IIS will restart itself.
Now, what would be the C# code that I would need to write behind the OnClick event of this web button? (If it's even possible?)
Then a second button is added. It's called "Reset" and should just reset the...
I am running VS 2008 SP1 on a pretty high-powered Win XP machine. My startup project is a web project that was written by another developer (I'm not that well versed in web development). Start Options = launch specific page, Server = default Web server, debuggers = ASP.NET.
When I push F5, my browser opens a new tab in Firefox (my def...
Does anyone know how to integrate the vbulletin forums users with an existing .net site that it has its own users and login, and to maintain the session between the two sites, so when a user logs in, he stays logged in when browsing the forum?
...
I'm considering using memcached (at some point) in my application i'm currently developing.
Eventually, i'm planning on hosting this on Amazon EC2 -
i was just wondering, would it be possible to have a linux server (aws instance) running memcached, and use the windows server (aws instance) for the app, but set it to use the linux serve...
I have to build a tree using the following data which comes from a DB:
ID Name ManagerID
180002 john 180001
180003 Michel 180002
180005 smith 180003
john
|_Michel
|_ smith
Specifically, I need to make an ASP.NET TreeView control. The depth of the TreeView is not fixed.
...
Hi All,
My SQL database has a a column in a table that has the datatype of datetime and allows nulls (because I need it to either be a datetime value or blank) and I need to be able to read this value and then display it in a textbox. The problem is that on inserting and updating, the autogenerated tableadapter (when dragged from the se...
I'm trying to code a page where you can post a comment without reloading the whole page. The comments are displayed using a Repeater control. The template looks like this:
<asp:UpdatePanel runat="server" ID="commentsUpdatePanel" UpdateMode="Conditional">
<ContentTemplate>
<!-- Comments block -->
<div class="w...
G'day,
I'm a long time Unix and Linux person with about 30 years and 14 years experience in those technologies, respectively. But wanting to expand my toolbox, I was trawling SO for hints on learning Sharepoint and I was wondering about Jon Skeet's answer to the question "How to begin as a .net and SharePoint developer" where he suggest...
I would like to display an exchange calendar on our intranet using SharePoint or ASP.NET. It seems that it can be done using exchange web services, but to write it from scratch must involve reinventing wheels. Does anyone know of a simple way to display an exchange calendar without writing an application from scratch?
...
I have a table, named ReportingPeriods, that I want to be populated entirely automatically. In another table, there are attributes CreationDate and ReportingPeriodLength which together will determine the the results of this row. Upon adding a row for this table, we will add a row in ReportingPeriods with the first StartDate as the crea...
We are launching a website which will be used for online counseling of students for engineering entrance . The load will be for 15 days & no. of students accessing site will be more than 1 lakh . These students will access the list of colleges which will be close to 500 & will select 50 college each.
After 3 days all selected options wi...