Andra Pradesh RelianceGSM
AP Reliance GSM Message center number :- +919014000500
AP Reliance GSM GPRS settings for Android OS:-
Name:- netconnect
APN:- rcomnet
MCC :- 405
MNC:-01
Authenticaton Type :- None
APN Type:- internet
All remaning shoud not be set.
Monday, June 13, 2011
Friday, June 10, 2011
STSADM command for Backup and Restore
Backup a Site Collection
In the cmd window navigate to the “C:\Program files\common files\microsoft shared\web server extensions\12\bin” directory.
Type stsadm -o backup -url “http://theurlofthesitecollection” -filename “C:\MyFirstBackup.bak” -overwrite
To Restore a Site Collection
In the cmd window navigate to the “C:\Program files\common files\microsoft shared\web server extensions\12\bin” directory.
Type stsadm -o restore -url “http://theurlofthetargetsitecollection” -filename “C:\MyFirstBackup.bak” -overwrite
you can also restore site at same plce
In the cmd window navigate to the “C:\Program files\common files\microsoft shared\web server extensions\12\bin” directory.
Type stsadm -o backup -url “http://theurlofthesitecollection” -filename “C:\MyFirstBackup.bak” -overwrite
To Restore a Site Collection
In the cmd window navigate to the “C:\Program files\common files\microsoft shared\web server extensions\12\bin” directory.
Type stsadm -o restore -url “http://theurlofthetargetsitecollection” -filename “C:\MyFirstBackup.bak” -overwrite
you can also restore site at same plce
Thursday, June 9, 2011
Full form of Sharepoint Terminologies
cmp - Contenet migration package
MOSS - Microsoft Ofice Sharepoint server
wss - windows sharepoint services
wsp - windows sharepoint package/ webpart solution package??
MOSS - Microsoft Ofice Sharepoint server
wss - windows sharepoint services
wsp - windows sharepoint package/ webpart solution package??
Run stsadm.exe command from any command prompt
Type in the following command in command prompt:
C:/>@set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH%
Now Run your Command
C:/>@set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH%
Now Run your Command
Use STSADM command to import/export sharepoint site
EXPORT SUBSITE
To export the subsite use the following syntax at the Command Prompt. Open the Command Prompt on the SharePoint server as an administrator if necessary.
C:\>stsadm -o export -url http://www.seattlepro.com/demos -filename DemoSiteBackup -includeusersecurity
IMPORT SUBSITE
Now to import the subsite to a different site use the following syntax at the Command Prompt. Open the Command Prompt on the SharePoint server as an administrator if necessary.
C:\>stsadm -o import -url http://www.techgalaxy.net/demos -filename DemoSiteBackup.cmp -includeusersecurity
To export the subsite use the following syntax at the Command Prompt. Open the Command Prompt on the SharePoint server as an administrator if necessary.
C:\>stsadm -o export -url http://www.seattlepro.com/demos -filename DemoSiteBackup -includeusersecurity
IMPORT SUBSITE
Now to import the subsite to a different site use the following syntax at the Command Prompt. Open the Command Prompt on the SharePoint server as an administrator if necessary.
C:\>stsadm -o import -url http://www.techgalaxy.net/demos -filename DemoSiteBackup.cmp -includeusersecurity
Thursday, June 2, 2011
Quering Data Table
Datatable can be sorted using DataTable.Select()
Importing DataTable.Select() method results into another DataTable
Putting the results from a Select() query into another DataTable is often a requirement say for instance if you wanted to bind your results to a control. As mentioned above the Select() method returns an array of DataRows and since DataRows are the main building blocks of DataTables the process is very easy. Steps outlined are:
//copy the schema of source table
DataTable above24 = dt.Clone();
//get only the rows you want
DataRow[] results = dt.Select(”age > 24″);
//populate new destination table
foreach (DataRow dr in results)
above24.ImportRow(dr);
Can’t I just use a DataView instead of calling DataTable.Select()?
You can and DataViews are directly bindable to many controls too, however it is not always the best solution due to the generally accepted believe among many developers that .Select() is much faster than using the DataView equivalent of RowFilter (property). I regularly interchange between the two for a lot of small database projects, however for the projects where I need to be processing a mega amount of data I pretty much stick with .Select() 100% of the time as I reckon it provides real speed (as in seconds, not PC invisible micro time) advantages compared to DataViews
In our particular case with a datatable of 75K rows, the using a dataview with a complex filter was nearly twice as fast as the equivalent select.
Importing DataTable.Select() method results into another DataTable
Putting the results from a Select() query into another DataTable is often a requirement say for instance if you wanted to bind your results to a control. As mentioned above the Select() method returns an array of DataRows and since DataRows are the main building blocks of DataTables the process is very easy. Steps outlined are:
//copy the schema of source table
DataTable above24 = dt.Clone();
//get only the rows you want
DataRow[] results = dt.Select(”age > 24″);
//populate new destination table
foreach (DataRow dr in results)
above24.ImportRow(dr);
Can’t I just use a DataView instead of calling DataTable.Select()?
You can and DataViews are directly bindable to many controls too, however it is not always the best solution due to the generally accepted believe among many developers that .Select() is much faster than using the DataView equivalent of RowFilter (property). I regularly interchange between the two for a lot of small database projects, however for the projects where I need to be processing a mega amount of data I pretty much stick with .Select() 100% of the time as I reckon it provides real speed (as in seconds, not PC invisible micro time) advantages compared to DataViews
In our particular case with a datatable of 75K rows, the using a dataview with a complex filter was nearly twice as fast as the equivalent select.
Sunday, October 18, 2009
lock Your private folder..................
* First select Your folder which you want to lock. Suppose paint is my private folder and it stored into E:\ drive.
* In the same drive ( eg. E:\) you need to create two bat file. Create a new text file there & Open it in note pad. Type in:
Quote:
ren paint paint.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Save it in as lock.bat
* Again open another text file and type
Quote:
ren paint.{21EC2020-3AEA-1069-A2DD-08002B30309D} paint
Now save this as a unlock.bat .
Now you can see 2 batch files lock and unlock.Double click on Press lock.bat and the folder paint's icon will change to control panel and you cannot view its contents.
Double click on unlock.bat and you will get back your original folder.
Try it!!!
* In the same drive ( eg. E:\) you need to create two bat file. Create a new text file there & Open it in note pad. Type in:
Quote:
ren paint paint.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Save it in as lock.bat
* Again open another text file and type
Quote:
ren paint.{21EC2020-3AEA-1069-A2DD-08002B30309D} paint
Now save this as a unlock.bat .
Now you can see 2 batch files lock and unlock.Double click on Press lock.bat and the folder paint's icon will change to control panel and you cannot view its contents.
Double click on unlock.bat and you will get back your original folder.
Try it!!!
Subscribe to:
Posts (Atom)
SharePoint document metadata not updating
I faced a weird issue today, Metadata for document which has lookup column was not updating even after saving the item. There was no erro...
-
It is a permission issue. DateTimeControl field uses the iframe calender page to render the actual calender. The location of iframe...
-
Use below function to clear the people picker control values from page on client side. Code:
-
I sat for 70-576 – PRO: Designing and Developing Microsoft SharePoint 2010 Applications exam last Saturday and it went very well. I clea...