Showing posts with label sample. Show all posts
Showing posts with label sample. Show all posts

Monday, March 26, 2012

Suggestion on code sample for daily.weekly.monthly calendar

I would like to make a calendar that can be use to enter appointments, in a hour basis, and i will look to have a day, weekly and monthly view, could you suggest a online sample code ?

Hi!

You should have a look at this:http://www.codeproject.com/aspnet/daypilot.asp

Tuesday, March 13, 2012

Survey Module?

Hi
Anyone know where I can find a sample ASP.Net survey module?
Do any of the starter kits or community sites have one?
Thanks very much
h xHelen,
There is a Survey Module in DotNetNuke: -
http://www.dotnetnuke.com/Default.aspx?tabid=467
Hth,
Phil winstanley
Microsoft ASP.NET MVP
http://www.myservicescentral.com
Thanks Paul, perfect.
I'm a winforms developer, new to asp.net. This dotnetnuke looks like a
goldmine. Are there any other must-see resources I should know about? The
Rainbow portal looks very useful too. And IBuySpy of course.
Is DotNetNuke the resource of choice for ASP.Net developers?
h
"Phil Winstanley [Microsoft MVP ASP.NET]" <phil@.winstanley.name> wrote in
message news:cb4nir$kjr@.odbk17.prod.google.com...
> Helen,
> There is a Survey Module in DotNetNuke: -
> http://www.dotnetnuke.com/Default.aspx?tabid=467
> Hth,
> Phil winstanley
> Microsoft ASP.NET MVP
> http://www.myservicescentral.com
>
there are several starter kits at www.asp.net
"Helen B" <helen@.nospam.com> wrote in message
news:exdSwW3VEHA.2928@.tk2msftngp13.phx.gbl...
> Thanks Paul, perfect.
> I'm a winforms developer, new to asp.net. This dotnetnuke looks like a
> goldmine. Are there any other must-see resources I should know about? The
> Rainbow portal looks very useful too. And IBuySpy of course.
> Is DotNetNuke the resource of choice for ASP.Net developers?
> h
>
> "Phil Winstanley [Microsoft MVP ASP.NET]" <phil@.winstanley.name> wrote in
> message news:cb4nir$kjr@.odbk17.prod.google.com...
>

Survey Sample (hopefully this copy of my previous post will allow replies!)

Hi

I downloaded the Survey Sample and Survey Admin Sample from MSDN's Code Centre two years ago and have been using it regularly since with Windows 2000 Server, IIS 5.0 and the .NET Framework 1.0. However, I am unable to port the Survey solution to a new production Web server, running Windows Server 2003, IIS 6.0 and the .NET Framework 1.1, due to a error when setting the Nested property of a DataRelation to true in the AdjustQuestionPrimaryKey() sub-routine ("A column named 'Answer' already belongs to this DataTable: cannot set a nested table name to the same name"). There are a few reports of a similar issue elsewhere on the Web but I have yet to find any that refer to a satisfactory resolution. Given that the Survey and Survey Admin samples appear to have disappeared relatively recently from MSDN, I was wondering whether anyone can offer an explanation for this occurrence or, alternatively (and preferably!), has a solution to the problem. I should add that I have yet to apply service pack 1 for the .NET Framework 1.1 but did not notice any documented connection between the issues that it addresses and the difficulty I have reported.

Regards

GazHi Gaz,

Yeah, I had it removed as too many people were having problems with it, and I didn't have the time to go through the code and fix all of the migration issues. There was one fix I did that may work for you, however. In the response.xsd file, change the definition of Answer from:

<xs:element name="Answer" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Id" form="unqualified" type="xs:int" />
<xs:attribute name="Text" form="unqualified" type="xs:string" />
</xs:complexType>
</xs:element
to a complex type with a different name. Actually, here's the whole file:
<?xml version="1.0" ?>
<xs:schema id="NewDataSet" targetNamespace="http://tempuri.org/SampleResponse.xsd"
xmlns:mstns="http://tempuri.org/SampleResponse.xsd"
xmlns="http://tempuri.org/SampleResponse.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
attributeFormDefault="unqualified" elementFormDefault="unqualified">
<xs:complexType name="AnswerType">
<xs:attribute name="Id" form="unqualified" type="xs:int" />
<xs:attribute name="Text" form="unqualified" type="xs:string" />
</xs:complexType>
<xs:element name="SurveyResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="Question" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Answer" minOccurs="0" maxOccurs="unbounded" type="AnswerType" />
</xs:sequence>
<xs:attribute name="Id" form="unqualified" type="xs:int" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Id" form="unqualified" type="xs:string" />
</xs:complexType>
<xs:key name="SurveyResponseQuestionKey" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Question" />
<xs:field xpath="@.Id" />
</xs:key>
<xs:key name="SurveyResponseAnswerKey" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Answer" />
<xs:field xpath="@.Id" />
</xs:key>
<xs:key name="SurveyResponseKey1" msdata:PrimaryKey="true">
<xs:selector xpath=".//Question" />
<xs:field xpath="@.Id" />
</xs:key>
<xs:key name="SurveyResponseKey2" msdata:PrimaryKey="true">
<xs:selector xpath=".//Answer" />
<xs:field xpath="@.Id" />
</xs:key>
</xs:element>
<xs:element name="BaseResponseDataSet" msdata:IsDataSet="true" msdata:EnforceConstraints="False">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="SurveyResponse" />
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema
Alternately, you might want to look at nSurvey, which is a full featured survey application.

Surveys

hello Everyone,

I am a new programmer, I will be writing surveys. Does anyone know where I can get sample code or survey templates to get started on how to write surveys?

Thanks is advance.Check out these 2 resources:

NSurvey
http://www.nsurvey.org/

WebSurvey Control
http://www.sycbp.com/controls/websurvey/
Hello, surveys are nothing but webforms, where users can fill data in a form, and then you send the data to an email or database.
So, what is your level of information in how to create a webform ?
You can use the following as a starting point:
W3Schools.com
ASP.NET Quick Tutorials
ASPXtreme

regards.