Currently I am attempting to create an RSS feed for a blog website I build using ASP.Net MVC with C#. Currently I am simply creating a controller and index page on /feed of the site which does dynamically generate an RSS file but it doesn't work well since the document itself isn't actually an xml file but just a htm file made to look like an xml file.[URL] I attached the code I use to do this but is there a way to instead create an actual XML file so google and feedburner will treat it like a standard rss feed?
I am trying to generate a Grid view from database, in one of my database columns the values are 'y' and 'N'. and i need to show this values in a check box .I tried to keep a check box in item template and tried to bind it, but could get much success.
This table has data about all pages with sub sections and tab column indicates that it is tab on that page but not a new page I want to generate xml and generate a breadcrumb using this data, how can i achieve that using this data?
home/page1 gallery/image1 info/IT/contact home/page2 home/page3 gallery/image2 info/IT/map and so on.
I would like to arrange the above urls into a tree fashion as shown below (each item will be a url link). The final output would be a simple HTML List (plus any sub list(s))
thus:
home gallery info page1 image1 IT page2 image2 contact page3 map
Programming Language is C# , platform is asp.net
EDIT 1:
In the above example, we end up with Three Lists because in our example there is three main 'groups' eg: home, gallery, info.
I'm looking for guidance of how to do some things for my application, I cannot resolve how to do the following:I have users and categories in a database, then I have a Master Table where these users combine with the categories creating rows, in this table there are other columns too.So for instance,
Master Table
User1 | Category2 | Date | Cost john mainteinance nov1988 5000 along with more columns.
I managed to create the other tables so my application can capture this data, can add or erase users or categories, and everything still works great.The problem is that I need to generate reports from this Master Table, so for instance if I select john from a dropdownlist, I need to generate a report with all of its sells totals separated in categories, the thing is, I could just make a query asking for that, but the problem is that like I said you can add new users, new categories, or erase etc... so I just cannot get the logic to build something like a gridview and get what I want just passing the user name selected, and automatically getting me the total of all categories, no matter if later they add one, still comes back with the total of the new one, or if they erase one it will not display it etc...
If you could give me some general info of how to do it it would be appreciated, I'm thinking computed columns but I just don't know how to calculate ti.
Ok my website I built for fun effeduptxt.com I am trying to take all the posts that are displayed and have the keywords for the page be auto generated at page load.
Now I know how to add keywords from code behind I just never tried to scrape the data in the database for what would be the best keywords to use.
Has anyone ever done this and or know where something like this is on the web.
I can create the SQL Query and the C# code how to determine what is a bogus word that should not be included such as I could count how many times each word is shown and go for the most common words as the keywords but that would include words like "And", "Or", "It" etc... and that would not be good.
I have no problem with studying more detail about it and expect to do so I just need to get set onto the right path....
Is there any existing software for generating a UserControl from a table of a database?
For example, my table contain 3 fields : name , last name , age.
The software generates a user control that has 3 labels and textboxes with validation and submit button and a gridview for displaying information , etc..
I need to make data export/import from sql enterprise server to local sql compact. It has to be automatically, so I can't use programms like SQL Management Studio. how to make such export/import?
Give me a link that explains step by step to create a setup of both windows and webapplication along with database.For database while installing it should check whether SQL SERVER is installed and also check the version.
I am a beginner in ASP.NET using VB Code. I want to generate a Unique reference no by concortinating three column fields.Example:
Column unique reference no (System Generated) - 10 Column with Product Code (User Entry) - APPLE Column with Product Title (User Entry) - FRUITS Unique ref No = FRUITS/APPLE/10
I want to concatenate this three fields to the column Unique Ref No.
I am having a field called Semester, i will enter it as 1 initially. Then it should automatically increase 1 semester every six months till sixth semester in the database (sql server 2005) is it possible?
I have looked through the website and google about crystal reports and MVC. It seems that crystal reports does not goes well with MVC framework. Is that true? If that's the case, what is the best solution for me? I am assigned to generate graphs and reports by getting data directly from a database (Oracle) and populate them into a report document. Other than crystal report, what can i use.
Is crystal report capable of generating graphs? or do I need to download other add-ons in order to have a graph generation on my reports.
I've got a MS SQL (Express) database. its quite complex and uses a lot of tables. Is there a way to generate a SQL script for creating the complete database, but not the content of it.
I like to copy the database. Right now i copy the database. After that i need manually to clear all fields. There are also some relationships, so its a lot of work to clear all of it manually.
I am creating a ASP.Net application in MVC architecture. I have to connect to a database on MS Access and be able to enter data into it. All examples I see use SQL Server. When I try from prject explorer Add New Item -> Data -> I am unable to find Drivers for Access Database.
From the Data Connections in Server Explrere window I was able to make a successful connection to the database.
I am generating a unique Ref number using this sql statement: SELECT REPLACE(STR(CAST(CAST(NEWID() AS binary(5)) AS bigint),12),0,0) as REF Subsequently, I need to insert this REF into sql database table in stored procedure. Here is what I did in my stored procedure:
USE [iBankRecords] GO /****** Object: StoredProcedure [dbo].[stp_addPayee] Script Date: 07/05/2010 21:57:07 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROC [dbo].[stp_addPayee] ( @CUSTID char(10), @PAYEEACCNUM nvarchar(20), @PAYEEACCTYPE char(10) , @PAYEENAME char(20), @PAYERINITIAL char(20), ) AS DECLARE @ReturnValue int INSERT INTO PAYEE (CUSTID, PAYEEACCNUM,PAYEEACCTYPE,PAYEENAME,PAYERINITIAL, REF) VALUES (@CUSTID,@PAYEEACCNUM,@PAYEEACCTYPE,@PAYEENAME,@PAYERINITIAL, REF) IF @@ERROR<>0 BEGIN PRINT 'ERROR' SET @ReturnValue=1 RETURN @RETURNVALUE END ELSE BEGIN SET @ReturnValue=0 RETURN @RETURNVALUE END
May I know how do I have generating a unique ref num and inserting the REF into the above statement?
I had made a table to fill the unordered list but how to fetch that data into li and ul the table consists of home, organisation (with children as policy, employeesdetails), and so on.. How do i fill these ul and li's and children of li's with data from sqlserver2005 table?
I'm not supposed to use any asp.net built in controls like asp.net menu