Showing posts with label writing. Show all posts
Showing posts with label writing. Show all posts

Saturday, March 24, 2012

Sum of XML data

I am reading an XML file and writing its contents to a Repeater control using the following code:

Dim dstTS As DataSet

dstTS = New DataSet()
dstTS.ReadXml( MapPath( "cw052004.xml" ) )

rptTS.DataSource = dstTS
rptTS.DataBind()

It works fine. However, I would also like to calculate the sum of a the "item_cost" from each node in the XML file and place it in a variable.

Can anybody suggest the best way to go about this?do some searching for examples on the itemdatabound event. this is fired everytime an item is bound and you can use this to sum up your grids and such.
Awesome, thanks!

Thursday, March 22, 2012

survey

How can i design a public survey in asp.net writing with c#??Hi !!

Can you expand more and explain what you want it to include or how the application should behave? (more explanation please, i might be able to help)
There is a free survey product for ASP.NET:NSurvey.

FYI: Your question is so broad its not much different than asking "how do you write a Word Processor"? You need a lot of knowledge and programming skills to build complete solutions like this. Its the kind of thing you generally hire experts to handle.
I will prepare it in asp.net with c# first..It will include 3 parts..Questions, answers and answer's options...How can i model these parts in database first?Some people told me to use normalization...but i dont know how??please help me...
It genuinely sounds like you need an education in database design.

asp.net forums is not hear as a classroom to teach you. We cannot start writing entire courses of subjects. We cannot guess what you know so we can tune our tutorial to you.

If you cannot find a course, seek out books on the subject. Also search the web for articles. After all, there are people who have written educational articles on many subjects. (Please don't ask me to direct you to the articles. I expect you to search the web because that's how I do find things on the web.)

asp.net forums can give you short answers that move you forward. If I told you "normalization is a way to reduce the size of records by extracting their common parts into a new table", how far will that get you with your current level of inexperience?

People have high paying jobs creating databases and software applications. Frankly, its a little frustrating for others to demand we mentor in these forums instead of getting a real education.

Going back to my original response: there is a FREE survey package available for ASP.NET: nsurvey.

Tuesday, March 13, 2012

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.