Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

Dec 11, 2012

Consuming a web service using ASP .NET

To know about basics of web service read this article. To know about creating a web service using ASP .NET read this article. Background: In the previous article we have learned about creating a web service. Now in this article, we will learn how to consume a web service using asp .NET. Real Time...

Creating Web Service using ASP .NET

To know about basics of web service read this article. 1.   Create an ASP .NET web service application using Microsoft Visual Studio. 2. Take a scenario that we have to convert Celsius to Fahrenheit and vice versa. 3.   Below is the code for our scenario: using System; using...

Jul 1, 2012

Visual Studio Workflow in SharePoint

Part II To know about the Basics and Advantages of using Visual Studio Workflow read this article. In this article, we will how to Create a Simple Sequential Workflow Console Application. Steps: 1. Open Microsoft Visual Studio -> File -> New Project -> Select Visual C# -> SharePoint...

Jun 8, 2012

Internal Column Name in SharePoint List

In this article, we will know how to find the Internal Column Name in a SharePoint list. Steps: 1. Suppose that we have created a list with a column named “Continent” as shown below: 2. Go to Settings-> List Settings -> Click on the Column listed in the Lists to which you have to find...

Jun 4, 2012

Creating and Deploying Custom Web Part in SharePoint

In this article, we will learn how to create a Custom Web Part in SharePoint using Visual Studio. After reading this article, you will learn the following:   Ø  Creating custom web part using visual studio   Ø  How to use Labels, Rich text box and Buttons (with events) and validation...

May 23, 2012

Error: The language-neutral solution package was not found.

While using Visual Studio, you may get the following error “The language-neutral solution package was not found.” Solution: There are three ways you can fix this problem: 1. This may be caused due to the CACHING issue in the Visual Studio and hence restarting the Visual Studio will help you in fixing the issue. 2. Sometimes the solution you are trying to update will not get updated properly. Hence...

May 16, 2012

Chart Controls in ASP.Net

I was looking at creating chart controls for implementing in the .Net web applications. I didn’t like to use the 3rd party tools or any freeware tools. Well, while browsing found a cool feature provided by MICROSOFT for the same. In this article, we will have a look at the CHART CONTROLS in .Net applications. Pre-requisites Ø  Visual Studio 2008 SP1, Link to download Ø  .NET Framework...

May 3, 2012

Programmatically get SharePoint Users with Group Name

In this article, we will come to know how to list all the users from the SharePoint site using c#. Scenario: We have to retrieve all the Users from the SharePoint site with the Group Name using object model. Solution: I have created a console application which will group the users with the Group Name and also display the User details. Code (.cs): 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 using...

May 1, 2012

RegisterForEventValidation can only be called during Render()

To know about creating a Grid view with Paging and Exporting the view to Word and Excel documents read this article. The following is the screen shot which you get due to this error: This error occurs whenever we are trying to render control to response. To fix this problem I...

Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server

To know about creating a Grid view with Paging and Exporting the view to Word and Excel documents read this article. The following is the screen shot which you get due to this error: This error occurs whenever you are trying to export the grid view data to excel or word. This occurs due to...

Grid View with Paging into Excel and Word in ASP.Net

After reading this article, you will come to know the following:    1.   Using grid view control in the ASP.Net applications    2.   Creating and connecting the SQL database in the ASP.Net applications    3.   Creating PAGING in the grid view    4.   Tabbed navigation in the ASP.Net application with single GRIDVIEW  ...