IT Community - Software Programming, Web Development and Technical Support

Step By Step Procedure to create project?

This is a discussion on Step By Step Procedure to create project? within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, Could any one tell me, how to create a new project.. First tell me how to create a new ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-18-2008, 10:40 PM
poornima poornima is offline
D-Web Sr.Programmer
 
Join Date: Dec 2007
Posts: 189
poornima is on a distinguished road
Smile Step By Step Procedure to create project?

Hi,
Could any one tell me, how to create a new project..
First tell me how to create a new project without any conflict.How to create dll for that new project.I need to create new website too... I think this is the basis of creating any project by own with proper business logic..I need this in C#.Net not in VB.Net

Last edited by poornima : 03-18-2008 at 11:09 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-04-2008, 02:27 AM
poornima poornima is offline
D-Web Sr.Programmer
 
Join Date: Dec 2007
Posts: 189
poornima is on a distinguished road
Smile Re: Step By Step Procedure to create project?

Hi,
For Windows Application while creating Project,we can able to get dll created in default.How to create in WebApplication...
In webApplication,how to create a Project and DLL?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-04-2008, 03:17 AM
Kirubhananth Kirubhananth is offline
D-Web Programmer
 
Join Date: Feb 2008
Location: My native is Madurai but now in Chennai
Posts: 61
Kirubhananth is on a distinguished road
Send a message via AIM to Kirubhananth Send a message via Skype™ to Kirubhananth
Smile Re: Step By Step Procedure to create project?

Hi poornima,

The Steps to create a DLL file in Visual Studio is as follows.

Step 1: Open the Visual Studio Dvelopment environment.

Step 2: In the Visual C# category, select Class Libarary, give it a name as 'Arithmetics' and open it. A name space named 'Arithmetics' will be created automatically with the class class1.

Step 3: Change the name of the class class1 as 'operation'.

Step 3: Create a function within it for adding two given numbers as



public long Add(long val1, long val2)
{
return (val1 + val2);
}

Thus the namespace looks like this

using System;
using System.Collections.Generic;
using System.Text;

namespace Arithmetics
{
public class operation
{
public operation()
{
}
public long Add(long val1, long val2)
{
return (val1 + val2);
}

}
}

Step 5: Build this file. But you cannot execute this because it need a container to survive. The DLL file will be stored automatically in the
" \Arithmetics\Arithmetics\bin\Debug " directory of the location where you saved the project.


Step 6: Open a new C# webapplication in the Visual Studio .

Step 7: In the menubar goto Website -> Add Reference .

Step 8: In the dialogbox go to the Browse tab and select the DLL thet was created by us from the above said locatoin.

Step 9.: Then add the 'Arithmetics' name space in the page using the "using" keyword as follows

using Arithmetics;

Step 10 : Place two textboxes , 1 labelbox and a command button on the page.

Step 11: Then write the following code on the button's click even.

protected void Button1_Click(object sender, EventArgs e)
{
operationa = new operation();
long x = Convert.ToInt64(TextBox1.Text);
long y = Convert.ToInt64(TextBox2.Text);
long z = a.Add(x, y);
Label1.Text = z.ToString();
}

Thus you can create a DLL.
__________________
--Kirubhaa. Born to win--
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-07-2008, 02:45 AM
poornima poornima is offline
D-Web Sr.Programmer
 
Join Date: Dec 2007
Posts: 189
poornima is on a distinguished road
Smile Re: Step By Step Procedure to create project?

Hi Kirubananth,
Thanks for ur post.It really helped me to learn wat i want...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create store procedure? senraj Database Support 4 04-25-2008 06:26 AM
Need a step-by-step walkthrough Ameno Networking & Internet Connectivity 0 01-17-2008 06:34 AM
Microsoft Internet Explorer patch eliminates extra step senthilkannan Microsoft 0 11-12-2007 10:46 PM
Any simple step or sample code for transparency mobile..? mobilegeek Mobile Software Development 1 07-24-2007 06:43 AM
Step to check the Installation testing vadivelanvaidyanathan Software Testing 0 03-23-2007 01:03 AM


All times are GMT -7. The time now is 08:00 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0