Beklo Home - Create your own free Blog. Upload Songs,Make Albums - Click Here to Signup
Tutorials Related to Sql ,Dotnet and Dotnet Faqs

Creating the Backup for WSS project in share point?

Posted on 2008-Nov-14 at 11:13 in sharepoint

Creating the Backup for WSS project in share point?

1) open the command prompt

2)type  cd\    -ENTER

3)c:\cd  “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN”            -ENTER

4)then type the following command

 Stsadm –o backup –urlyoursiteurl(“http:/test:970”) -filename “e:\test\backwsss.dat

Then the backup will be created in the test folder with the name of backwss.dat

If u want to create the restore the use the RESTORE instead of BACKUP

What is blog in WSS? How to Create blog in WSS?

Posted on 2008-Nov-11 at 11:29 in sharepoint

A blog is a website that enables you or your organization to quickly share ideas and information.

To create a blog in wss3.0 SharePoint..Follow the following steps.

1)go to CREATE click on Sites and Workspaces

2)there give the Title your blog  and in the URL ..type your name of blog

Like  http://microsft.1008/.....................

3)In select template…………choose  the blog option

 

Then your new blog will be created in the wss

What is WSS3.0 in sharepoint?

Posted on 2008-Nov-5 at 03:02 in sharepoint

What is WSS3.0 in SharePoint?

Windows SharePoint Services (WSS) is the basic part of Microsoft SharePoint, offering collaboration and document management functionality by means of web portals, by providing a centralized repository for shared documents, as well as browser-based management and administration of them. It allows creation of Document libraries, which are collections of files that can be shared for collaborative editing. SharePoint provides access control and revision control for documents in a library.

It also includes a collection of web parts, which are web widgets that can be embedded into web pages to provide a certain functionality. SharePoint includes web parts such as workspaces and dashboards, navigation tools, lists, alerts (including e-mail alerts), shared calendar, contact lists and discussion boards. It can be configured to return separate content for Intranet, Extranet and Internet locations. It uses a similar permissions model to Microsoft Windows, via groups of users. Active Directory groups can be added to SharePoint groups to easily tie in permissions. Alternatively, other authentication providers can be added through HTML Forms authentication.

 

What is sharepoint?

Posted on 2008-Nov-5 at 11:26 in sharepoint
1)SharePoint is a web-based collaboration and document management platform from Microsoft. It can be used to host web sites that can be used to access shared workspaces and documents, as well as specialized applications such as wikis, blogs and many other forms of applications, from within a browser. SharePoint functionality is exposed as web parts, such as a task list or discussion pane. These web parts are composed into web pages, which are then hosted in the SharePoint portal. SharePoint sites are actually ASP.NET 2.0 applications, which are served using IIS and use a SQL Server database as data storage backend.

2)SharePoint is an enterprise information portal, from Microsoft, that can be configured to run Intranet, Extranet and Internet sites.  Microsoft Office SharePoint Server 2007 allows people, teams and expertise to connect and collaborate.  A SharePoint enterprise portal is composed of both SharePoint Portal and Windows SharePoint Services, with SharePoint being built upon WSS.  WSS is typically used by small teams, projects and companies.  SharePoint Server is designed for individuals, teams and projects within a medium to large company wide enterprise portal. 

 

SDLC :Software Development Life Cycle

Posted on 2008-Jan-21 at 10:57 in Dotnet Interview Tips and Faqs

SDLC :Software Development Life Cycle

 

SDLC Contains six stages,
They are,
.Requirment Colection & analysis
---->software requirment specfication
.Planning
------Estimation
------Lines of code
------Source
------output
------total number of employees & all estimations
.Designing
-----1>HLD(High level Designing)
-----2>LLD(Low Level Designing)
.Coding
-----Proper Coding Standards from corresponding company
.Testing
----White Box Testing
----Block Box Testing
.Implementation
----Purity Testing

 

What is new in asp.net 2.0

Posted on 2007-Dec-27 at 02:38 in ASP.NET

What is New in ASP.NET 2.0

 

Cross Page Posting - ASP.NET 2.0 allows you to post back from one page to another and you can obtain the source page values from the target page.

 Wizard Control
- The wizard control allows you to easily add multi-step form entry scenarios to your pages.

Validation Groups
- Validation groups allow multiple forms on a page to be separately validated.
Focus API - The Focus API enables you to set focus to any control on the page, specify default buttons to submit for input controls, and more.

Compilation Build Providers
- ASP.NET 2.0 includes support for compiling declarative file formats when they are placed in the App_Code directory.

No Compile Pages
- Pages in ASP.NET 2.0 can be excluded from the compilation process, to be interpreted at runtime instead.

Securing Non-ASP.NET content
- Under IIS 6, you can easily secure non-ASP.NET files such as static images or classic ASP pages from within an ASP.NET application.

Client-Script Features -
ASP.NET 2.0 includes several new features that take advantage of client-side script.

 

 

my articles in different sites

Posted on 2007-Dec-24 at 05:16 in General
\n

Create the setup for windows application

Posted on 2007-Dec-21 at 11:15 in classes

Creating the setup for windows application

 

 

Right Click on Solution of your project.


Click Add New Project.


Select Other Project Type ->Setup Project.


Write in Name that u want to give to setup project.


Click OK.

Select Setup Project. See the option above the Solution.


Go To Custom Action. you will see four folder.


Right Click on Install folder and Select Add Custom Action.



Double click on Application Folder.


Click on Add Output. Select Primary Output. And Press OK.



Now build the projects again.


The setup will be in Debug folder of your setup project.

 

 

 

Otherwise use the installer shield to create the setup for Microsoft windows application. Down load the one month free trailer version from net.

 

 my more articles are

comparing the two dates in c#

common elements from the two arrays

Exporting Datagrid to excel or worddoc using asp.net

Sending email using asp.net1.1

 

 

Validating the textbox with integers

Posted on 2007-Dec-20 at 05:49 in ASP.NET
\n

1Q)The textbox should accept only integers ..it should not accept any strings.

2Q)Validating the textbox for only integers

 

The solution for above problems is

 

1)

asp:CompareValidator id="CompareValidator1" runat="server" ErrorMessage="You have to write an integer value" ControlToValidate="Num1" Type="Integer" Operator="DataTypeCheck">

 

 

2)You can use either the comparevalidator or regularexpressionvalidator to do this.  Here is an example of regex.  It accepts numbers only and it can be left blank and maximum character can be 6.

 

<asp:RegularExpressionValidator ID="NumOnlyRegEx" runat="server" 
ControlToValidate="txtNum" 
ErrorMessage="Numbers only" Display="Dynamic" 
ValidationExpression="[0-9]{0,6}"  />

 

Database Synchronisation

Posted on 2007-Dec-19 at 03:13 in Sql Server
\n

Database Synchronisation

Database Synchronisation

Synchronization is the process of data uploading or mirroring between two or more databases. When you work with converters you can face some issues attempting to synchronize tables in your databases. Here you can find answers how to overcome them.

Insert Synchronization
Update Synchronization
Insert Synchronization and Update Synchronization together

1.Insert Synchronization


Having some new records in the table in your source database, you have an opportunity to add them in the table in your destination database with the help of our converters from Database Conversion Product Line. Additional records easily and quickly inserted from a source to a destination, in case there are no records with identical Primary key values
.

2.Update Synchronization
Changing table in your source database, you would like to adjust your table in a destination database to desired result. Converter will replace the altered records without any problems. It compares the value of records in order to establish identity between two tables.

3.Insert Synchronization and Update Synchronization together

You have modified your table in your source database. For example, you changed some data in existing records and inserted entirely new records in that table. You have to add these values in the table and renew data in your destination database
. Insert Synchronization and Update Synchronization together allow you flawlessly to accomplish complex synchronization.

The best article on Datbase synchronization is available at

http://dbconvert.com/synchronization.php

The best database synchronation tool for mysql database is available at

http://www.sitepoint.com/article/mysql-data-sqlyog-job-agent/

 

Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount

Posted on 2007-Dec-18 at 03:30 in ASP.NET

Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount..


How to Prevent This Error in asp.net

 

We will get this error when ever we are in the second page in the datagrid or grid view and clicking on the search button or performing any action like binding the data to grid.

 

I got this error recently (Invalid CurrentPageIndex value. It must be >= 0 and < the Page Count) and I soled like this.

 

 In the datagrid I was in the second page and I clicked on the search button…before binding the data to  datagrid ..i got the following error..

 

Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount

 

Means u r in the second page then..cuurrentpageindex=1

 

After clicking on the search button make the currentpageindex=0

Then bind the data to grid.

 

Like this

 

private void btnSearch_Click (object sender, System.EventArgs e)

                   {

                 datagrid.CurrentPageIndex=0;

                             BindGrid ();   

                   }

Read my more asp.net articles at

comparing the two dates in c#

 

common elements from the two arrays

 

Exporting Datagrid to excel or worddoc using asp.net

 

Sending email using asp.net1.1

 

common elements from the two arrays

Posted on 2007-Dec-17 at 10:10 in ASP.NET

Q1)intersection of two arrays

Q2)getting the common elements from two arrays

    here i explained with examples..

strolditems=first arraylist consists of 1,2,4,6,8;

strnewitems=second arraylist consists of 2,6,9,8

i got the commoon items using the following code..it is working fine

 'for(int i=0;i'<'STROLDITEMS.LENGTH;i++)
{
strTest[i]=strOldItems[i];
or(int j=0;j {
if(strTest[i]==strNewItems[j])
{
if(strCommon.Length>0)
{
strCommon=strCommon+","+ strTest[i];
//Response.Write(strTest[i]+",");
}
else
{
strCommon=strTest[i];
}
}


0/p is 2,6,8

Read my more asp.net artciles at

comparing the two dates in c#

 

common elements from the two arrays

 

 

comparing the two dates in c#

Posted on 2007-Dec-3 at 05:40 in ASP.NET

1)how to compare the two dates in c#

 

2)how to use the CompareTo  method in c#

 

 

  DateTime d1 = Convert.ToDateTime ("05 - 04 - 2007");


  DateTime d2 = Convert.ToDateTime ("05 - 04 - 2007");

 

 String a= d1.CompareTo (d2).ToString();

if d1>d2 then it returns 1


  if d1'<'d2 then it returns -1


if d1=d2 then it returns  0

Sql Joins with Examples

Posted on 2007-Dec-3 at 05:36 in Sql Server

Joins:

1)These are used to retrieve the data from more than one table.

2)To retrieve the data from more than one table the datatypes of fields which related to different tables need not be same while using the joins

Types of joins:

1):Inner Join

2):Cross Join

3)OuterJoin

     a)Left Outer Join

    b)Right Outer Join

    c)Full Outer Join

4)Natural Join

5)Equi Join

Examples and Description:

1:Emp

         EmployeeID  EmployeeName               
    1                Ramesh
    2                Sukumar
    3                Ravi                                                       
    4                Kalyani           

                                         

2.Products:

   ProductID            EmployeeID        Productname
  1 1                                  2                     Pen
  12                                   3                    Pencil
  1 2                                  3                    Eraser
  1 3                                  6                   Book

1):Inner Join:This join returns all the rows from the both the tables where there is a match.The result set consists of only matched rows.

Syntax:

select E. Employeeid,E.EmployeeName,P.ProductName from Employees E inner join Products on E.EmployeeID=P.EmployeeID

Result:

1)       EmployeeID   EmployeeName          Productname     
    2                  Sukumar                       Pen
    3                   Ravi                             Pencil                          
    3                   Ravi                             Eraser                            

2)Cross Join:Cross join is nothing but retrieving the data from more than one table with out using the condition.

Here two cases are there:

a)select E.EmployeeID,E.EmployeeName,P.Productname from Employees E,Products P

Note:(here we are using the cross join defaultly.Means we have not mentioned the any condition here.)

b)select E.EmployeeID,E.EmployeeName,P.Productname from Employees E cross join Products P

Note:this is the syantax of cross join..both queries(a &b)returns the same result) only the difference is Synatx but the o/p is same.

3)Outer Join:In outer join the resulting table may have empty columns.

a)Left Outer Join:Here left means first table.it reurns all the rows from the first table even though it does not have the matchs in Second table.But it returns only the matched rows from the second table.

Syntax:

select E. Employeeid,E.EmployeeName,P.ProductName from Employees E left join Products on E.EmployeeID=P.EmployeeID

Result:

1)       EmployeeID   EmployeeName          Productname     
    2                  Sukumar                       Pen
    3                   Ravi                             Pencil                          
    3                   Ravi                             Eraser        

           1                  Ramesh                        null

           4                  Kalyani                          null

a)Right Outer Join:Here Right means Second table.it returns all the rows from the second table even though it does not have the matchs in First table.But it returns only the matched rows from the First table.

Syntax:

select E. Employeeid,E.EmployeeName,P.ProductName from Employees E right join Products on E.EmployeeID=P.EmployeeID

Result:

1)       EmployeeID   EmployeeName          Productname     
    2                  Sukumar                          Pen
    3                   Ravi                                Pencil                          
    3                   Ravi                                Eraser        

            6                   null                                  Book   

5)Natural JOIN:it eliminates the duplicate values from the output.

6)Equi JOIN:An inner join is called equi-join when all the columns are selected with a *, or natural join otherwise


Last Page | Page 1 of 2 | Next Page

Links

- Home
- My Profile
- Archives
- Site Feed
- Friends
- My Photo Album
-Technorati Profile
-Blogarama
-
eXTReMe Tracker
>
Add to Technorati Favorites

Friends