StrataFrame Forum

FillTop100

http://forum.strataframe.net/Topic21348.aspx

By Felix M Avendano - 12/29/2008

I'm triyng to replicate the tutorial for web forms but with a table done by my own and it appears that the method FillTop100 is not created. There are others methods but not this.

It seems is not generating any methods in BOcampos. How can I check this out?

Regards

By Edhy Rijo - 12/29/2008

Hi Felix,

Custom methods to grab your data are not created for you by the BOM, you have to create all the methods you will need to get your data and name it anything you like to.

By Felix M Avendano - 12/29/2008

But in my case I have

 

[/quote]Option Strict On

Option Explicit On

Imports MicroFour.StrataFrame.Business

Imports MicroFour.StrataFrame.Security

Imports MicroFour.StrataFrame.UI.Windows.Forms

Imports System.Collections.Generic

Imports System.ComponentModel

Imports System.Data

Imports System.IO

Partial Public Class BOcampos

Region " Component Implementation "

Region " BusinessLayer Overriden Methods & Properties "

Region " Field Properties "

Region " Field Property Events  "

Region " Nested Types & Field Security "

Region " Item Property Implementation "

End Class

 

And in the example

 

 

Imports System.Data

Imports System.Data.SqlClient

Imports System.Runtime.Serialization

Serializable()

Public Class CustomersBO

    Inherits MicroFour.StrataFrame.Business.BusinessLayer

Region " Constructors "

Region " Data Retieval Methods "

Region " Event Handlers "

End Class [quote]

 

The diference is notorious

By Edhy Rijo - 12/29/2008

Felix,

The answer is basically the same as before. Smile

Sample applications will have some custom code to make them work and project what the developer wants to sample.  All you need to do is take what have been created for you by the framework, and add the custom code needed to work with your project, of course you can always copy/paste from the sample code that may fit your particular need.

For example the SF StrataFlix sample (a desktop application) shows a different approach on how to use SF tools and what can be done with it, and of course there are a lot of custom code provided to show the power in SF framework.

By Felix M Avendano - 12/29/2008

OK and Thanks. I'm of course in my first steps with SF.

RegardsSmile

By Edhy Rijo - 12/29/2008

Felix M Avendano (12/29/2008)
OK and Thanks. I'm of course in my first steps with SF.

Nothing to worry about, we are all here to help us each other and you will do just fine with SF.  This forum is really great and the support is very good.

Since you are new to SF, take a time to review previously posted messages, it will help you in long run and there is always a chance that you may find the answer you are looking for already posted.

Good luck, and don't be afraid to ask! Hehe

By Trent L. Taylor - 1/2/2009

Thanks, Edhy! Smile