udjamaflip
04-21-2008, 05:35 PM
Hi everyone,
I have been tasked to learn ASP.NET/C# to a level where I can write an website which enables you to enter an RSS feed url and it will then display the feed.
The problem I have is that I cannot figure out how to make a function which will let me do anything to a database by typing functionname(sql, connection) and returns a datatable or something when its a SELECT.
Don't give me RTFM, just some commands I should be googling for or even tutorial urls :) I have spent a good hour googling for function snippets or tutorials to help me get on my way with no joy.
Thanks everyone!
I am using db.mdf as my database within the App_Data folder
I have been tasked to learn ASP.NET/C# to a level where I can write an website which enables you to enter an RSS feed url and it will then display the feed.
The problem I have is that I cannot figure out how to make a function which will let me do anything to a database by typing functionname(sql, connection) and returns a datatable or something when its a SELECT.
Don't give me RTFM, just some commands I should be googling for or even tutorial urls :) I have spent a good hour googling for function snippets or tutorials to help me get on my way with no joy.
Thanks everyone!
I am using db.mdf as my database within the App_Data folder