C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






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.
Happy Coding..
Rakesh Thakur..

Attachments

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

  • Project Feedbacks

    Author: BalramMember 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: sarabjeetMember 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: Viraj MulikMember 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: venkatMember 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.


    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



    dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use