|
Hey,
Yeah you're approach is fine by all means. I don't know how you are planning to dissect the text in anyway but I presume it's not difficult or you know how to do it. Yeah save the data to a database if it's successful and then get the web page to query that table using a dataset object to just bind it to a grid.
I suggest making a table for successful and unsuccessful results so if it doesn't go to the database it's not just thrown in the bin and never seen again.
Cheers,
Michael
|
|
|
|
|
Thanks Michael,
Since I have very little experience with asp.net, but is it possible to do everything with just asp.net or should I still use C# for one component and asp.net for another.
Here is a breakdown to my approach
1) C#, a collection agent, where I collect rss feed and feed it to the database (using ADO.NET??!?!), where I can do further breakdown within the database.
2) ASP.NET, a webpage, that takes the data from the database (ADO.NET?!??!) and display that data on the screen.
Here are my questions.
1) Can I use ADO.NET for both ASP.NET and C#?
2) Do I need IIS install in my computer for the webpage?
3) ASP.NET, do I create that using VS.NET 2005 Web control? (see, I have no idea on asp.net)
4) After I am done with all this, is there any web service provider that will allow me to upload the collection agent and run it on their server?
If anyone can charm in, it would be great.
T
|
|
|
|
|
avengerzx9 wrote: 1) C#, a collection agent, where I collect rss feed and feed it to the database (using ADO.NET??!?!), where I can do further breakdown within the database
If you want to use the RSS feed in your website, you should probably use the opensource RSS tool called RSS.NET instead writing your own one.
avengerzx9 wrote:
2) ASP.NET, a webpage, that takes the data from the database (ADO.NET?!??!) and display that data on the screen.
Yeah. It can't be done with ADO.NET.
avengerzx9 wrote:
1) Can I use ADO.NET for both ASP.NET and C#?
Yes.
avengerzx9 wrote: 2) Do I need IIS install in my computer for the webpage?
If you are "NOT" using VS 2002 or 2003, you don't need to install the IIS .
avengerzx9 wrote: 3) ASP.NET, do I create that using VS.NET 2005 Web control? (see, I have no idea on asp.net)
I'm not sure what you are asking. If you have no idea about ASP.NET, I suggest you to read the Book or QuickStart before start developing the application.
avengerzx9 wrote: 4) After I am done with all this, is there any web service provider that will allow me to upload the collection agent and run it on their server?
Yes. DiscountASP.NET is the best ASP.NET hosting service provider.
|
|
|
|
|
Hi,
I've was given an old ADO.NET websystem project. They built this project in old ASP (using recordsets such and so forth) and they want me to convert all the ASP code to ASP.NET if they won't work together. When I included some ASP pages into my new ASP.NET project I got this error.
Error 1 'Let' and 'Set' assignment statements are no longer supported. C:\Documents and Settings\mhomsey\My Documents\Visual Studio 2005\WebSites\MyWebSite\dbconnection.asp 15
Does this mean, this old code doesn't work anymore and I have to rebuild that file or is there a way around this sort of error?
I appreciate all your help as I hope someone out there in this world knows a quick easy solution to this problem rather than rebuilding it all.
Michael - Cheers
FYI - I'm using VS2005 and I'm trying to convert it to ASP.NET 2.0
|
|
|
|
|
Michael101 wrote: 'Let' and 'Set'
I think this is the old way of writing the property in VB. so, you can just change it as a property in ASP.NET.
|
|
|
|
|
Okay, this is probably a dumb question... but here it is...
I need to do a bunch of processing on an image after it is uploaded to a web site. I looked around for a NET 2.0 solution, and Atalasoft DotImage looks great -- but I can't afford it. I didn't see anything else which would do what I wanted.
However, I already have an existing image library I created, that took years of work, written in C++ -- and it could accomplish everything I need.
So here is my dumb question...
From an ASP.NET class, written in C#, can I call a function in a native VC6 C++ type DLL, and have it do the work for me?
For example, if the DLL simply has a function like:
void ProcessTheImage( LPCSTR lpcstrFileName );
Can I call this from ASP.NET? And if so, how?
I already figured out that I can create a command line app, written in C++, put it in the (WebSite)/Bin directory, and call it passing the filename as a parameter ... but I figured that a DLL call would be more efficient (???) ... and I haven't figured how to do the DLL call yet. I assume P/Invoke must be involved somehow (but I've never used that feature before).
Thanks for any assistance or guidance you can offer.
BTW, I'm using Windows Server 2003, NET 2.0, ASP.NET 2.0, SQL Server 2005, C#, etc. on a dedicated server.
|
|
|
|
|
DotImage rocks. I use it.
Yes, you can call a native dll, p/invoke is the name of the technology you use to do this. www.pinvoke.net[^] has lots of examples
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I agree, DotImage looks great, but unless I'm missing something ... I have to pay $499 for the most basic SDK, then another $329 to use it on a server ... which is $828 ... for 1 person ... as the cheapest option. And when I look in my pants pockets, I can't find $828 in them. Telerik and CodeJock already got it.
The stuff that DotImage does though, I already have created, and have used for the last decade in MFC/C++ type code... including writing my own convolution filters, of different matrix sizes, by experimenting with Adobe Photoshop (as it has a feature to play around with that), etc.
In any case, thanks for the link to pinvoke.net. I'll check it out. Although my most basic question is how to get from something like this:
(WebSite)/App_Code/MyClass.cs
public class MyClass
{
public static void ProcessImage( String ImageFileName )
{
}
} And assuming ImageProc.dll exists as:
(WebSite)/Bin/ImageProc.dll
To do something that works. I assume there is some simple trick or technique for using P/Invoke to do this? Obviously there is going to be some sort of conversion problem between the C# String type and the Win32 LPCSTR type. Is there some sort of super easy bit of wisdom you can provide? And also, as to how I can call the function in the first place?
If not, thank you. I will check out pinvoke.net further. Your help is appreciated greatly however. Regards.
|
|
|
|
|
hi guys, i have loaded a table which contains a list of products into a dataset but now i want to select various items and put them in a cart(list) can someone please give us some ideas? thanks
|
|
|
|
|
|
hi all
i have a grid view with some field like
CategoryID, CategoryName, NoOfSubCategory
1st Row: 101 Business 10
2nd Row: 102 Computer 12
Now I want to do something like, On NoOfSubCategory click event will show another grid view under that selected row
how can i do it, any instruction will be really helpful
thanks in advace
Sarfarj Ahmed
|
|
|
|
|
|
thanks for your quick reply
what im looking for is
on click event it will show another grid view under the row selected
thanks in advance
Sarfarj Ahmed
|
|
|
|
|
Check this out
http://forums.asp.net/t/1071521.aspx[^]
A cool little JavaScript onClick should be easy to implement over there.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
i have database oracle and i want to make connection from my web site to oracle database ??
and what is the best ??
working with oracle data base or sql server database ?
|
|
|
|
|
|
all dears,
iam developer vb.net2005 and i want to learn asp.net2005?
if you have any media or books not deep but beter for learning send to me
sadagc2002@yahoo.com
thanks for all
saad badr
|
|
|
|
|
|
hi,
I am trying to use AJAX for my two dropdown lists for my project using ASP.NET. On selecting an item in one dropdown(say dropdown1), the items for other dropdown(say dropdown2) should populate. Dropdown1 items are retrived from database using C#. My question is I need the selected item value of dropdown1. If I use dropdown1.SelectedItem.Value in C# side means error occurs. I need the selected item value.How can I get it using either javascript or C#.
Just now I am populating all the items in dropdown2. But I need the selected item value of dropdown1, so that I can able to filter and populate items in dropdown2 corresponding to dropdown1 item.
Can anyone help me. Please..........
nask
|
|
|
|
|
This should work just fine. Are you using AJAX, or the ASP.NET AJAX library ? The book AJAX in Action has a good article on how to do what you're trying to do. Or, post some code so we can see where the error is.
Arun Senthil Kumar wrote: If I use dropdown1.SelectedItem.Value in C# side means error occurs.
What error ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
If you are using Microsoft Ajax Framework you may use the CascadingDropDown[^] extender which does exactly what you are trying to achieve. Maybe it will be easier?
|
|
|
|
|
Guys,
We have a major problem here at work.
We installed a new product on our servers (Win 2000 server, 2Gb memory) last week, with an increase of users. (read, a couple of hundreds, not thousands)
At first sight it seems to work fine, but occasionally it crashes. other services stop as well.
My boss thinks that our code does not dispose of the connections we create, but I'm certain it does.
Also the cpu seems to be fine (so not constantly @ 100%) and memory does seem to saturate, but applications crash before that time.
My two cents go out to one of these two:
1 -> Network traffic problems
2 -> # of Oracle connections exceeded
Any tips and/or tricks or ideas somebody can give us would be great. We're kinda stuck.
I went over some possibilities already, but I always come down to the two mentioned above.
many thanks !!
|
|
|
|
|
Troubleshooting a production webserver is an involved process. You may need to go through a very systematic procedure like:
1) Analyzing the file system logs
2) System Eventlogs
3) Database Performance
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
hey thanks for the reply.
Stupid question maybe, but what's the difference between 1 and 2?
We did 2 already and it only gave some "unhandled Http request" error. nothing really specific.
thanks.
|
|
|
|