This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Is there a video on how to use LightSpeed 3 in a very simple Web Application? Say populating a datagrid from the Northwind database. Thanks |
|
|
If you watch the Getting Started vid, with the demo of CRUD operations you should be able to a SELECT linq query to get a strongly typed object back. Then do a: DataGridView.DataSource = stronglyTypedObject For ASP.Net apps you'll need to follow the above line of code with a DataGridView.DataBind
When you say simple web app, I'm assuming you talking WebForms not MVC or perhaps MVP webforms? Jeremy |
|
|
I'd be also interested in video tutorial with asp.net. For example how to define in design time LS object to GridView/Combobox and so on? Additionally would like to ask what 199$ price includes 1 y. update? Thanks, Igor |
|
|
Hello once more, situation is that would like to switch off DevExpress XPO and use EF or LS for this (still using DX asp.net controls). |
|
|
[quote user="MeaningOfLights"] When you say simple web app, I'm assuming you talking WebForms not MVC or perhaps MVP webforms? [/quote] Yes, I mean regular ASP.NET WebForm. Thanks
|
|
|
Something like: take Northwind database, drop some combo boxes, one grid view. That will really help customers to decide then:) |
|
|
[quote user="Igor"] Something like: take Northwind database, drop some combo boxes, one grid view. That will really help customers to decide then:) [/quote] Exactly like that. Using Northwind... A dropdown filtering a Gridview in VS 2010 RC Web App would a tremendous help. Please...
|
|
|
Hi Guys, Thanks for posting your request for a screencast :-) I'll have a look at creating something using a Gridview with ASP.NET WebForms against LightSpeed 3.0 and the Northwind database. It may take me until later this week to have it up however. Igor, yes, the $199 price includes 12 months worth of updates. Appreciate the feedback, John-Daniel Trask |
|
|
Thanks John You're going to make a lot of new Web developers happy. Especially me!! |
|
|
Hi everyone, I have created a small sample application that uses a gridview. It does the following: - Implements custom sorting on each column It is fairly straight forward but I wanted to seek some feedback from you all before I create a video so that I can be sure you will all get something from it. You will need to reference your LightSpeed assemblies before you can run the attached sample. There is a light weight readme included. Let me know what you think. John-Daniel Trask |
|
|
Thanks John The VS Solution runs fine on my PC with Windows 7, VS 2008 and SQL Server Express 2005. I must have had an old copy of the Northwind database because at first I got errors of there being no ID column in the Customer table. Sure enough I did not have that field. But I recreated a new Northwind database from the scripts you provided and that fixed it. Thanks! GridView, Sort, Edit and dropdowns all work great! If your pending video showed how you created this solution, I am sure I could figure out other things on my own or from other videos and the forum. Thanks again. Rick Hubka |
|
|
Bump |
|
|
Hi Rick, I haven't forgotten about you! I was hoping the other two posters might chip in their thoughts before I kicked off the screencast but I'll stop waiting. I'm fairly busy this week, but will hopefully have it done this coming weekend. Out of interest, is there any part of the code that seems particularly confusing? I didn't use any designers or anything like that with this sample so it will likely be a screencast where I segment features (like paging, or deletion) and walk through the code and what it is doing. Kind regards, John-Daniel Trask |
|
|
[quote user="john-daniel"] is there any part of the code that seems particularly confusing?[/quote] Hi John-Daniel The code you provided is not confusing. I think my initial basic need was to find a getting started example of MindScape data enabling an ASP.Net page with a few simple controls in a video, tutorial or help file. I could not find ASP.NET help, just .Net console and Winforms help. A (getting started) with a ASP.Net Web app is missing. As you already know, in ASP.NET we have a different set of GUI controls as well as a Web.config file and session state etc. When confronted with a new technology, experienced developers and especially new developers go straight to the getting started or how-to areas and appreciate having their hands held for a quick example. Lately, since youtube, mini tutorial video's have become increasingly popular. Since you have great video tutorials already, nothing would be better than seeing it happen and using that to get started. |
|
|
Hello again One Question... In your Web Example from this thread, there are 3 class files that I believe may have been auto generated. How did you create these files? I spent a few hours and wrote my own, but yours sure look auto generated. I gave up on a LightSpeed Web app 11 months ago. but have a new ASP.NET 4 Web database app to build now and want to try to get LightSpeed to work for me on the Web again. Thanks
|
|
|
Hi Rick. Not auto-generated sorry. It's more likely that the Resharper code formatting kept pretty strict rules when I wrote the classes and it has high consistency. If you have a specific issue with your web app with LightSpeed please do post here so we can help out. John-Daniel |
|