Code Generator Program


Posted Date:     Total Responses: 0    Posted By: Rakesh Thakur   Member Level: Gold   Points/Cash: 150   


Hi,
Download the zip file and unzip it . Now Change the Web config and run the application .After running application you will see a drop down list, which will show all the tables of the database whose name you passed in web config.Select the table and click on button .The Data Layer code (DAL) and Business Logic (BAL will ) be created in the solution .In case of two tier a single file will be created in the separate folder .Copy these class file in to your project.These classes will run successfully. Enjoy the application.
Note : Use Visual studio 2008 to open.
Happy Coding..
Rakesh Thakur..

Attachments

  • Generate Code (482-41321-CodeGeneratorProgram.rar)

  • Project Feedbacks

    Author: Member Level: BronzeRevenue Score: 2 out of 52 out of 5
    good job rakesh ...
    it is wokring fine with me
    but it's a published code, i will not be able to use it, coz i need some customization.


    Author: Member Level: BronzeRevenue Score: 5 out of 55 out of 55 out of 55 out of 55 out of 5
    Hi,

    I am getting below error please look into this please let me know the solution
    Server Error in '/CodeGeneratorProgram' Application.
    --------------------------------------------------------------------------------

    Invalid object name 'information_Schema.columns'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'information_Schema.columns'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [SqlException (0x80131904): Invalid object name 'information_Schema.columns'.]
    System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +925466
    System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +800118
    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +186
    System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1932
    System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +31
    System.Data.SqlClient.SqlDataReader.get_MetaData() +62
    System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
    System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1005
    System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
    System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
    System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +122
    System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +12
    System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +7
    System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +141
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +86
    Home.ColumnName() +187
    Home.Button1_Click(Object sender, EventArgs e) +203
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746





    Author: Member Level: BronzeRevenue Score: 2 out of 52 out of 5
    Hello Rakesh,

    Its very good. However, it gives me compilation error for
    using CodeSmith.Engine namespace.

    Should I install it on my machine?


    Author: Member Level: BronzeRevenue Score: 2 out of 52 out of 5
    Hi Rakesh,
    Its good. Can you please send me the code to my email pavanpabolu@rediffmail.com

    I have some idea to do, but.. I'll intouch with u soon.

    Tanx,


    Author: Member Level: BronzeRevenue Score: 2 out of 52 out of 5
    Hi Rakesh,
    Its good. Can you please send me the code to my email pavanpabolu@rediffmail.com

    I have some idea to do, but.. I'll intouch with u soon.

    Tanx,


    Author: Member Level: BronzeRevenue Score: 2 out of 52 out of 5
    Hi All,
    I have used this code...its working gud..its really a nice Code Generator..Good Job!
    Thanks,

    Er. .....



    Author: Member Level: BronzeRevenue Score: 3 out of 53 out of 53 out of 5
    Hi,
    Its really nice. I would like learn such type of things.
    Can you please send me the project files to my mailId skirankumar15@yahoo.co.in.

    It will be greatful for me to send the files.

    Thanks Rakesh,
    Kiran Kumar


    Author: Member Level: BronzeRevenue Score: 3 out of 53 out of 53 out of 5
    Hi,



    Author: Member Level: BronzeRevenue Score: 2 out of 52 out of 5
    Hi Rakesh,
    It is really nice. Can you please send me the code to my email skirankumar15@yahoo.co.in. Thanks

    Kiran Kumar


    Author: Member Level: BronzeRevenue Score: 2 out of 52 out of 5
    Hi,

    Can you give me some steps to use this Code Generator Program? I am not able to figure out how to start and use?


    Author: Member Level: BronzeRevenue Score: 2 out of 52 out of 5
    Hi,

    Nothing is there in u r code. please upload the code or email me vmamilla@msn.com, there is no classes nothing. please download this code and check what is there.

    Thanks,
    Venkat.


    Author: Member Level: GoldRevenue Score: 2 out of 52 out of 5
    Hi,
    Its really nice. I would like learn such type of things.

    It will be greatful for me to send the files.

    Thanks Rakesh,
    Siva Sreenath


    Post Feedback
    You must Sign In to post a feedback.
    Next Project: A Complete Computer Asset Manager in VB.Net Winforms
    Previous Project: Online Advertising Agency

    Return to Project Index

    Post New Project


    Related Projects


    Top Contributors
    Today
      Last 7 Daysmore...

      Awards & Gifts

      Online Members

      Murugesan.P
      More...
       
      Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India