<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9128705620290580508</id><updated>2011-07-31T04:19:04.571-07:00</updated><category term='xmlquery'/><category term='validating checkboxlist'/><category term='Entity framework in .net'/><category term='rowdistinct'/><category term='.net3.5'/><category term='xml in sql'/><category term='.net 3.5'/><category term='modalpopup with javascript'/><category term='xml data reterive'/><category term='Panel to right'/><category term='.net 3.5 entity framwork'/><category term='DataTable'/><category term='Moss and .net'/><category term='query'/><category term='Pannel control'/><category term='cookie'/><category term='Javscript'/><category term='Exten web appllication  in share point server 2007'/><category term='javascript modalwindow'/><category term='Asp.net 3.5'/><category term='libirary in sharepoint server 2007'/><category term='create list in sharepoint'/><category term='validate page session'/><category term='run window application in window service'/><category term='xml column'/><category term='create site  in sharepoint2007'/><category term='Panel in asp.net'/><category term='.net'/><category term='Events'/><category term='Sql server backup'/><category term='Culture in .net'/><category term='libirary inoos 2007'/><category term='cross tab'/><category term='Ado.net entity frameWork'/><category term='Enterprise Libaray'/><category term='DataView'/><category term='html5.0'/><category term='button event asp.net'/><category term='libaray'/><category term='java'/><category term='single event for a cntrol'/><category term='.query'/><category term='aovid concurrent sp'/><category term='distinct rows in datable'/><category term='create pop window in asp.net.modalpopup with out ajax'/><category term='collabration in moss'/><category term='different session id in asp.net'/><category term='subsite in sharepoint2007'/><category term='Panel to left'/><category term='EDM'/><category term='cuture spefic html design'/><category term='crystal report'/><category term='SharepointServer'/><category term='custom colum in grid view'/><category term='DataViewRowState'/><category term='MouseEvent'/><category term='asp.net3.5'/><category term='Panel'/><category term='new session on new window'/><category term='Convert row in to colums in sql server'/><category term='session'/><category term='custom colume in gridview'/><category term='Moss'/><category term='.net 3'/><category term='checkbox list'/><category term='.net enterpise libaray'/><category term='EDRM'/><category term='Custom web control in .net2.0'/><category term='session expired'/><category term='Xml File parsing'/><category term='get parameter value from stored procedure'/><category term='Events in javscript'/><category term='eleement in html 5.0'/><category term='session timout'/><category term='sharepoint server web application'/><category term='javascript'/><category term='State Management'/><category term='Xquery'/><category term='Moss service'/><category term='redirection to login page'/><category term='User control in asp.net 2.0'/><category term='Delete duplicate record'/><category term='web application in Moss2007'/><category term='new features asp.net 3.5'/><category term='runnung process in window service'/><category term='Duplicate record'/><category term='Remove Duplicate record'/><category term='Ajax'/><category term='xml in sql server 2005'/><category term='javascript modalpopup'/><category term='checkkbox list validation'/><category term='portal in sharepoint'/><category term='authentication in asp.net'/><category term='distinct rows'/><category term='Custom web control in asp.net2.0'/><category term='Query xml data'/><category term='collabration'/><category term='RowFilter'/><category term='subsite in MOOS2007'/><category term='checkboxlist validation in javascript'/><category term='web parts'/><category term='Asp.net'/><category term='Portal in Moss2007'/><category term='RowSorting in Asp.net'/><category term='html tags'/><category term='0'/><category term='.net framework'/><category term='Entity data model in .net framwork'/><category term='RowStateFilter'/><category term='move a Pannel'/><category term='customecontrol .net'/><category term='single event for multiple button asp.net'/><category term='features in asp.net 3.5'/><category term='UserControl'/><category term='collabration in sharepointserver'/><category term='popupwindow in .net'/><category term='javscriptXML'/><category term='File Upload control'/><category term='statemanagement'/><category term='DataRow'/><category term='Keypress Event'/><category term='List in Moss 2007'/><category term='dot net framework'/><category term='tags'/><category term='checkboxlist validation'/><category term='docment libirary moss2007'/><category term='Moss purpose'/><category term='Authentication'/><category term='XML javascript'/><category term='SqlServer2005'/><category term='.net 2.0'/><category term='RowFiltering asp.net'/><category term='custom colum'/><category term='HTML layout'/><category term='site in moss2007'/><category term='select distinct rows'/><category term='Categoary of culture'/><category term='chechboxvalidation in asp.net'/><category term='validation checkboxlist'/><category term='window service in .net'/><category term='Access Xml with javscript'/><title type='text'>Ashfaq Hussain</title><subtitle type='html'>.net Software Developer &lt;a href="http://www.polarislab.com/"&gt;(Polaris)&lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ashfk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-8062314352782355156</id><published>2010-09-22T04:18:00.000-07:00</published><updated>2010-09-22T04:21:59.448-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Duplicate record'/><category scheme='http://www.blogger.com/atom/ns#' term='Delete duplicate record'/><category scheme='http://www.blogger.com/atom/ns#' term='Remove Duplicate record'/><title type='text'>Remove Duplicate Record Form a Table in SQL</title><summary type='text'>
Use Partial Clause to remove duplicate records
delete from
(Select Colum1 , column2,

rownumber() over(  partion by  column1, column2 

                 order by column1, Colum2
                )Rowsnumbers   
from DuplicatrecordTable) AliasTable        

where AliasTable.Rowsnumbers&gt;1   

Reference:
sqlservercentral




</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8062314352782355156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8062314352782355156'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2010/09/remove-duplicate-record-form-table-in.html' title='Remove Duplicate Record Form a Table in SQL'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-2804492030637741206</id><published>2010-04-16T10:55:00.000-07:00</published><updated>2010-04-19T05:59:47.329-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='distinct rows'/><category scheme='http://www.blogger.com/atom/ns#' term='distinct rows in datable'/><category scheme='http://www.blogger.com/atom/ns#' term='rowdistinct'/><category scheme='http://www.blogger.com/atom/ns#' term='select distinct rows'/><title type='text'>Retrieve Distinct Rows of Table from Data View or Data Table</title><summary type='text'>
string[] str = new string[2];// string array is passed with column name of table
str[0] = "ColumnName1";
str[1] = "ColumnName2";
Datatable dt = //your tableobject  
dt.DefaultView.ToTable(true, str);// return table of distinct rows


</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/2804492030637741206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/2804492030637741206'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2010/04/retrieve-distinct-row-from-data-view.html' title='Retrieve Distinct Rows of Table from Data View or Data Table'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-4133967118947057904</id><published>2010-02-05T09:39:00.000-08:00</published><updated>2010-02-05T09:45:09.898-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='aovid concurrent sp'/><title type='text'>Avoid concurrent Execution of SP</title><summary type='text'>Use sp_getapplock, sp_releaseapplock
EXECUTE sp_addmessage 

@msgnum   = 51001, 

@severity = 16, 

@msgtext  = N'Resource NOT Available', 

@lang     = 'us_english',

@replace  = REPLACE

Return to Top

CREATE PROCEDURE dbo.Employees_U_LastName

(  @EmployeeID   int,

@LastName     varchar(20)

)

AS

BEGIN

SET TRANSACTION ISOLATION LEVEL REPEATABLE READ

BEGIN TRANSACTION

DECLARE @LockResult </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4133967118947057904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4133967118947057904'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2010/02/avoid-concurrent-execution-of-sp.html' title='Avoid concurrent Execution of SP'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-2668592863344055109</id><published>2009-10-01T11:52:00.000-07:00</published><updated>2009-10-01T12:20:51.416-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='libaray'/><category scheme='http://www.blogger.com/atom/ns#' term='.net enterpise libaray'/><category scheme='http://www.blogger.com/atom/ns#' term='Enterprise Libaray'/><title type='text'>Enterprise Libaray Overview</title><summary type='text'>Microsoft Enterprise Libaray 

It is collection of reusable sotware component(appln block) design to assist the software developer with common enterprising Development cross-cutting concern
Logging,validation,Data Access,exception Handling and so on 
Application block are type of guidance;they provideed as source code ,test case,documentation  tha can be used "as is,"extend ,or extended,or </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/2668592863344055109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/2668592863344055109'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2009/10/enterprise-libaray-overview.html' title='Enterprise Libaray Overview'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-567869000017963701</id><published>2009-08-08T19:11:00.000-07:00</published><updated>2009-08-08T19:19:09.024-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net3.5'/><category scheme='http://www.blogger.com/atom/ns#' term='.net3.5'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net 3.5'/><category scheme='http://www.blogger.com/atom/ns#' term='new features asp.net 3.5'/><category scheme='http://www.blogger.com/atom/ns#' term='features in asp.net 3.5'/><title type='text'>Features of Asp.net 3.5</title><summary type='text'>
Asp.net Ajax is integerated in to dot netframwork
Asp.net Ajax control extender can be added to toolbox vs2008
Listview and datapager are new controls are added
New Data source control is added called as Linq DataSource
LINQ(language Integrated query) add native date query capapbilty to c#.net
WCF Support for RSS, JSON, POX and Partial Trust
Asp.net 3.5 include  a new mergertool(aspnet_merge.exe</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/567869000017963701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/567869000017963701'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2009/08/feature-of-aspnet-35.html' title='Features of Asp.net 3.5'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-2583235120634355469</id><published>2009-08-03T09:28:00.000-07:00</published><updated>2009-08-10T07:28:35.795-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dot net framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Ado.net entity frameWork'/><category scheme='http://www.blogger.com/atom/ns#' term='.net framework'/><title type='text'>Framework</title><summary type='text'>
A set cooperating classes that make reusable Desingn to specfic application 
A skeleton of an application in which developer plug in ther code and provides most of the commaon functionality
A framework is set  of common and preferabicated  software building block that programmer can be used extends  or customise specfic computing solution 
FrameWork is a skeleton of code  for developing a </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/2583235120634355469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/2583235120634355469'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2009/08/framework.html' title='Framework'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-3963864828069831904</id><published>2009-07-22T09:00:00.000-07:00</published><updated>2009-07-22T09:17:40.763-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tags'/><category scheme='http://www.blogger.com/atom/ns#' term='html5.0'/><category scheme='http://www.blogger.com/atom/ns#' term='eleement in html 5.0'/><category scheme='http://www.blogger.com/atom/ns#' term='html tags'/><title type='text'>HTML 5.0 SUPPORTED AND UNSUPPORTED TAGS</title><summary type='text'>
New Html 5.0 tags
&lt;article&gt;-Define an article
&lt;aside&gt;-Define content aside from page contents
&lt;audio&gt;-Define Sound Content
&lt;command&gt;-Define command button,like radio button,a checkbox,a button
&lt;datagrid&gt;-Define a data in tree list
&lt;datalist&gt;-Define a Dropdownlist
&lt;datatemplate&gt;-Define a data template
&lt;dialog&gt;-Define a dialog(conversion)
&lt;embed&gt;-Define a external interactive contents or plugin
&lt;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/3963864828069831904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/3963864828069831904'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2009/07/html-50-supported-and-unsupported-tags.html' title='HTML 5.0 SUPPORTED AND UNSUPPORTED TAGS'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-1208664503901923408</id><published>2009-07-18T09:54:00.000-07:00</published><updated>2009-07-18T10:32:58.468-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Entity data model in .net framwork'/><category scheme='http://www.blogger.com/atom/ns#' term='Entity framework in .net'/><category scheme='http://www.blogger.com/atom/ns#' term='Ado.net entity frameWork'/><category scheme='http://www.blogger.com/atom/ns#' term='.net 3.5 entity framwork'/><category scheme='http://www.blogger.com/atom/ns#' term='EDM'/><category scheme='http://www.blogger.com/atom/ns#' term='EDRM'/><title type='text'>Ado.net Entity Framwork</title><summary type='text'>
It is a object-relational mapping(ORM) framework for .Net Framwork  
It genarate one to one mapping between the database schema(physical schema) and the conceptual schema(logical schema) 
The Mapping  betweeen logical schema and physical schema represent by ENTITY DATA MODEL(EDM) 
EDM specifies conceptual model of data by ENTITY-RELATIONSHIP DATA MODEL(ERDM)
ERDM deals with Entities &amp; </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/1208664503901923408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/1208664503901923408'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2009/07/adonet-entity-framwork.html' title='Ado.net Entity Framwork'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-5788346821581025785</id><published>2009-07-12T01:47:00.000-07:00</published><updated>2009-07-12T01:55:42.282-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='button event asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='single event for multiple button asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='single event for a cntrol'/><title type='text'>How to call single click_ event for all buttons on a page</title><summary type='text'>
First Drag  a button on a .aspx page and double click on the button then click event in generated in .cs page
Copy eventname (MyButton_click) 
Drag another button on to a page goto properties windows for the button.
click on  event list of the properties window go to click event property paste eventname (MyButton_click) 
In this we can call the same event of for all buttons
You can do same for </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5788346821581025785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5788346821581025785'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2009/07/how-to-call-single-click-event-for-all.html' title='How to call single click_ event for all buttons on a page'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-564404800349405045</id><published>2009-05-10T00:22:00.000-07:00</published><updated>2009-05-10T00:48:45.210-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Panel to left'/><category scheme='http://www.blogger.com/atom/ns#' term='Pannel control'/><category scheme='http://www.blogger.com/atom/ns#' term='Panel in asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Panel to right'/><category scheme='http://www.blogger.com/atom/ns#' term='move a Pannel'/><category scheme='http://www.blogger.com/atom/ns#' term='Panel'/><title type='text'>Dynamically moving a  Panel Control  in Asp.net</title><summary type='text'>1)Create a Panel control,placed required control on  a panel in a page
2)To move a panel to Left
 Pseudo code

   Units left = new Units(Panel.Style[left]);
   left= new Units((double)left.value+10,left.Type);
   Panel.Style["left"]= left.ToString();

3)To move a panel to Right 
Pseduo Code

   Units left = new Units(Panel.Style[left]);
   left= new Units((double)left.value-10,left.Type);
   </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/564404800349405045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/564404800349405045'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2009/05/dynamically-moving-panel-control-in.html' title='Dynamically moving a  Panel Control  in Asp.net'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-7377360781007784614</id><published>2009-03-23T03:05:00.000-07:00</published><updated>2009-03-23T03:52:23.679-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='validation checkboxlist'/><category scheme='http://www.blogger.com/atom/ns#' term='chechboxvalidation in asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='validating checkboxlist'/><category scheme='http://www.blogger.com/atom/ns#' term='checkboxlist validation in javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='checkboxlist validation'/><category scheme='http://www.blogger.com/atom/ns#' term='checkkbox list validation'/><category scheme='http://www.blogger.com/atom/ns#' term='checkbox list'/><title type='text'>Validation of  CheckboxList Items</title><summary type='text'>Here validating a checkboxlist item.(Atleast one checkbox  should be selected)
call JavscriptFunctionCode on any javascript Events or from codebehind as required 

Javasript Function Code

function validateChklist()
   {
      var list = document.getElementById('&lt;%=CheckBoxList1.ClientID%&gt;');
       var child ="";
        for(i = 0; i &lt;  list.childNodes.length; i++)
        { 
        //checkbox </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/7377360781007784614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/7377360781007784614'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2009/03/validation-of-checkboxlist-items.html' title='Validation of  CheckboxList Items'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-597489806543000624</id><published>2009-02-24T21:30:00.000-08:00</published><updated>2009-02-24T22:15:42.310-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Authentication'/><category scheme='http://www.blogger.com/atom/ns#' term='redirection to login page'/><category scheme='http://www.blogger.com/atom/ns#' term='session expired'/><category scheme='http://www.blogger.com/atom/ns#' term='validate page session'/><category scheme='http://www.blogger.com/atom/ns#' term='session timout'/><category scheme='http://www.blogger.com/atom/ns#' term='authentication in asp.net'/><title type='text'>Authetication for pages and validate pages</title><summary type='text'>
 Authentication is the process of obtaining identification credentials such as name and password from a user and validating those credentials against some authority. If the credentials are valid, the entity that submitted the credentials is considered an authenticated identity. Once an identity has been authenticated, the authorization process determines whether that identity has access to a </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/597489806543000624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/597489806543000624'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2009/02/authetication-for-pages-validate-pages.html' title='Authetication for pages and validate pages'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-710093267510616192</id><published>2009-01-16T23:55:00.000-08:00</published><updated>2009-01-18T10:45:01.764-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Query xml data'/><category scheme='http://www.blogger.com/atom/ns#' term='xml in sql'/><category scheme='http://www.blogger.com/atom/ns#' term='xml data reterive'/><category scheme='http://www.blogger.com/atom/ns#' term='xmlquery'/><category scheme='http://www.blogger.com/atom/ns#' term='query'/><category scheme='http://www.blogger.com/atom/ns#' term='xml in sql server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Xquery'/><category scheme='http://www.blogger.com/atom/ns#' term='xml column'/><category scheme='http://www.blogger.com/atom/ns#' term='.query'/><title type='text'>Query XML  Data in Sql 2005</title><summary type='text'>que
Sql Server 2005 includes subset of the XQuery language
Xquery is a language for query data stored using  Xml Data Type
DDL operation on xml column
  Syntax to retrieve a date from a column of xml data type&lt;
    Select  columnname .query (‘/nodename’)  from  TableName
    Select  columname .query (‘/nodename/childnodename’)  from  TableName
  Note: other clause of  select such as ’ where’ </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/710093267510616192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/710093267510616192'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2009/01/query-xml-data-in-sql-2005.html' title='Query XML  Data in Sql 2005'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-5760257850093476773</id><published>2008-12-17T03:50:00.000-08:00</published><updated>2008-12-21T19:56:21.147-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Xml File parsing'/><category scheme='http://www.blogger.com/atom/ns#' term='XML javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Access Xml with javscript'/><category scheme='http://www.blogger.com/atom/ns#' term='javscriptXML'/><title type='text'>Accessing a Xml File on Server using JavaScript</title><summary type='text'>
Create  a XML file static or dynamic in Server
Write a  javascript function  as shown JavscriptFunctionCode shown below .
Call  a method loadXMLDoc("XML filename")
Parse XMl as shown Pseduo Codefor futher ways to parse XML document visit http://www.w3schools.com/dom/  

Javasript Function Code (ref:w3schools)

function loadXMLDoc(dname) 
{
try //Internet Explorer
  {
  xmlDoc=new ActiveXObject("</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5760257850093476773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5760257850093476773'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/12/accessing-xml-file-on-server-using.html' title='Accessing a Xml File on Server using JavaScript'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-8360128299753156213</id><published>2008-12-05T20:17:00.000-08:00</published><updated>2008-12-05T21:33:48.187-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RowSorting in Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='DataViewRowState'/><category scheme='http://www.blogger.com/atom/ns#' term='DataTable'/><category scheme='http://www.blogger.com/atom/ns#' term='RowFilter'/><category scheme='http://www.blogger.com/atom/ns#' term='RowStateFilter'/><category scheme='http://www.blogger.com/atom/ns#' term='RowFiltering asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='DataRow'/><category scheme='http://www.blogger.com/atom/ns#' term='DataView'/><title type='text'>Sorting  &amp; Filtering Data Using DataView In Asp.net 2.0</title><summary type='text'>Steps:

Create Dataview Object pass DataTable object to constructer of Dataview class (Assume datatable object is Created)
To sort Data use property called 'Sort' in Dataview object as peseduoCode shown below .
To Filter Data use RowFilter or RowStateFilter.as peseduoCode shown below
RowFilter is use as where clause in sql statment use all operaters use in
    where clause  
RowState Filter </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8360128299753156213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8360128299753156213'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/12/sorting-filtering-data-using-dataview.html' title='Sorting  &amp; Filtering Data Using DataView In Asp.net 2.0'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-3834132171682092483</id><published>2008-11-26T01:21:00.000-08:00</published><updated>2008-11-26T02:15:46.967-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='custom colum in grid view'/><category scheme='http://www.blogger.com/atom/ns#' term='custom colume in gridview'/><category scheme='http://www.blogger.com/atom/ns#' term='custom colum'/><title type='text'>Create a Custom colums in GridView</title><summary type='text'>
Add CustomBoundField file to your project (c# libaray project for creation of dll or in web application directly access it)
To acces file in your code behind follow the Pseudo code below .If you are using as dll add refence then access in your application

Pseduo code

DataSet ds = new DataSet();
ds.Tables.Add();
ds.Tables[0].Columns.Add("UserName");
// ds.Tables[0].Columns.Add("xyz");
ds.Tables</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/3834132171682092483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/3834132171682092483'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/11/create-custom-colum-in-gridview.html' title='Create a Custom colums in GridView'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-1547697690889215151</id><published>2008-11-23T21:48:00.000-08:00</published><updated>2008-11-23T21:55:08.790-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Convert row in to colums in sql server'/><category scheme='http://www.blogger.com/atom/ns#' term='crystal report'/><category scheme='http://www.blogger.com/atom/ns#' term='cross tab'/><title type='text'>Converting rows into colums In Sql Server for Cross Tab Report</title><summary type='text'>Sometimes it is necessary to rotate results so that [the data in] columns are presented horizontally and [the data in] rows are presented vertically. This is known as creating a PivotTable®, creating a cross-tab report, or rotating data.
   visit : http://www.sqlservercentral.com/articles/T-SQL/63681/ .It require registration .Enjoy learning</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/1547697690889215151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/1547697690889215151'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/11/converting-rows-into-colums-in-sql.html' title='Converting rows into colums In Sql Server for Cross Tab Report'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-3799837816785339008</id><published>2008-11-15T07:37:00.000-08:00</published><updated>2008-11-15T08:10:50.352-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='libirary inoos 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='docment libirary moss2007'/><category scheme='http://www.blogger.com/atom/ns#' term='libirary in sharepoint server 2007'/><title type='text'>Creating Document library in Moss2007</title><summary type='text'>1)Click on site setting select libirary setting
2)Enter Name ,Description ,Navigation,Document version history
3)Select Document tempelate as per requirment
4)Once document libirary created At top you find option (New ,Upload,Action,Setting)
5)New -&gt;to create a document and save it
6)Upload -&gt; To upload single doc or multiple docments
7)Action-&gt;Edit Datasheet ,Open window explore to drag drop </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/3799837816785339008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/3799837816785339008'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/11/creating-document-library.html' title='Creating Document library in Moss2007'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-5268517494065183468</id><published>2008-11-01T09:59:00.000-07:00</published><updated>2008-11-01T10:23:56.058-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Custom web control in asp.net2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='UserControl'/><category scheme='http://www.blogger.com/atom/ns#' term='Custom web control in .net2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='customecontrol .net'/><category scheme='http://www.blogger.com/atom/ns#' term='User control in asp.net 2.0'/><title type='text'>Different Custom Controls in Asp.net2.0</title><summary type='text'>They are 3 primary custom control in Asp.net2.o

1)User control : A user Control is a template Control that provide extra behaviour to allow consitent control added to the user control in GUI .This control is added to the user control template file i.e ascx

2)Custom Web control : A custom web control is control that inherits from a web control.Write all the code for Rendering the control or </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5268517494065183468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5268517494065183468'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/11/different-custom-controls-in-aspnet20.html' title='Different Custom Controls in Asp.net2.0'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-8201487380763456758</id><published>2008-10-29T04:51:00.000-07:00</published><updated>2008-11-01T08:14:34.961-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='modalpopup with javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='popupwindow in .net'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript modalpopup'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript modalwindow'/><category scheme='http://www.blogger.com/atom/ns#' term='create pop window in asp.net.modalpopup with out ajax'/><title type='text'>Create a modal popup in javascript without ajax</title><summary type='text'>Here i am  create a popup window alternate to javascript popups
1)we have to create 2 html files
2)First html file name is  modalpopup page (you can have any name for page)
3)Second html file  is dialog page (you can have any name for page)
4)Uisng window .showModalDialog() method .we can diplay a  modal dialog 
5)Note for example purpose i used HTML pages you can proceed with other type files
6)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8201487380763456758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8201487380763456758'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/10/create-modal-popup-in-javascript.html' title='Create a modal popup in javascript without ajax'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-8106768214447657712</id><published>2008-10-22T09:38:00.000-07:00</published><updated>2008-10-22T09:45:15.021-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='subsite in sharepoint2007'/><category scheme='http://www.blogger.com/atom/ns#' term='subsite in MOOS2007'/><title type='text'>Create subsite in Moss2007</title><summary type='text'>create a subsite in sharepoint (Assume parent site created) 
1)Click on site setting tab
2)Under Web pages section click on sites and workspaces
3)Enter Title &amp; description &amp;  url and modifed permission if required
4)Select template</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8106768214447657712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8106768214447657712'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/10/create-subsite-in-moss2007.html' title='Create subsite in Moss2007'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-8521307325466073500</id><published>2008-10-20T23:09:00.000-07:00</published><updated>2008-10-21T00:17:33.414-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='new session on new window'/><category scheme='http://www.blogger.com/atom/ns#' term='different session id in asp.net'/><title type='text'>Creating different session ID on new window</title><summary type='text'>1)create object of SessionIDManager 
   /////
     System.Web.SessionState.SessionIDManager s1 = new   
   System.Web.SessionState.SessionIDManager();
  //////
2)Remove session id create a new session Id 
  ///////
    s1.RemoveSessionID(HttpContext.Current);
    s1.CreateSessionID(HttpContext.Current);
  ///////
3)Assign value to session
   //////
      Session["page1Session"] = "page1 session";</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8521307325466073500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8521307325466073500'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/10/creating-differnent-session-id-on-new.html' title='Creating different session ID on new window'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-5246663231427334293</id><published>2008-10-19T03:38:00.000-07:00</published><updated>2008-10-19T03:48:14.185-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='create list in sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='List in Moss 2007'/><title type='text'>Creation of list in  share point 2007   or MOSS 2007</title><summary type='text'>1)Click site action tab (Assume  a site is created)
2)Click on  create 
3)Under Customlists section
4)Select Custome list
5)Enter Display name &amp; Description 
6)If  want display list at  left side pane (quick launch ) of check  yes else no
7)By Default one colum is viewable i.e title 
8)To edit Title colum name click on settings tab select list setting 
9)Under Colum section click on title then </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5246663231427334293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5246663231427334293'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/10/creation-of-list-in-share-point-2007-or.html' title='Creation of list in  share point 2007   or MOSS 2007'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-4835738393423506275</id><published>2008-10-15T22:44:00.000-07:00</published><updated>2008-10-15T22:51:16.202-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Events in javscript'/><category scheme='http://www.blogger.com/atom/ns#' term='Events'/><category scheme='http://www.blogger.com/atom/ns#' term='MouseEvent'/><category scheme='http://www.blogger.com/atom/ns#' term='Keypress Event'/><title type='text'>Different type of events Available   in Javscript</title><summary type='text'>Events associated with Mouse: 

onmousemove: 
If the user moves a button, then the events associated with onmousemove fire. 

onclick: 
onclick events fire when the mouse button clicks. 

ondblclick: 
The event ondblclick fires when the mouse button is double clicked. 

There are also some events associated with the mouse pointer position such as: 

onmouseout: 
onmouseout event fires if the </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4835738393423506275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4835738393423506275'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/10/different-type-of-events-avilable-in.html' title='Different type of events Available   in Javscript'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-2763800294327663822</id><published>2008-10-15T22:16:00.000-07:00</published><updated>2008-10-16T00:11:16.585-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='runnung process in window service'/><category scheme='http://www.blogger.com/atom/ns#' term='run window application in window service'/><category scheme='http://www.blogger.com/atom/ns#' term='window service in .net'/><title type='text'>Running Window Application using Window Service</title><summary type='text'>How to run window apllication in specfic interval from window service

1)Create window service application(Assume Creation of window service known)
2)Use Namespace system .Timer  add timer.start in start method of windowservice
3)Add  Time elapsed event  handler mechanism in start method of window service
4)In Timeelapsed event add following line code 
               Process proc;
               </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/2763800294327663822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/2763800294327663822'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/10/running-window-application-using-window.html' title='Running Window Application using Window Service'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-1233879487790370502</id><published>2008-10-12T02:46:00.000-07:00</published><updated>2008-10-12T03:35:26.420-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='create site  in sharepoint2007'/><category scheme='http://www.blogger.com/atom/ns#' term='site in moss2007'/><title type='text'>create a new site in share point 2007</title><summary type='text'>1)Assume web application is created
2)Open central  administrator 
3)Click on application management tab
4)Under sharepoint site management section click on create site collection
5)To change  a  defalut web application  click on web application link
6)Provide  tiltle,description ,url
7)Select template 
8)Provide user name i.e winows user</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/1233879487790370502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/1233879487790370502'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/10/create-new-site-in-share-point-2007.html' title='create a new site in share point 2007'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-8352410057926310877</id><published>2008-10-04T22:30:00.000-07:00</published><updated>2008-10-04T22:42:12.966-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint server web application'/><category scheme='http://www.blogger.com/atom/ns#' term='web application in Moss2007'/><category scheme='http://www.blogger.com/atom/ns#' term='Exten web appllication  in share point server 2007'/><title type='text'>Create a new or extend  web application  in Moss2007</title><summary type='text'>1)open centeral administrator tool 
2)Click on application tab
3)Click on create or extend web application 
4)select exist web application or creat anew web application
Step :create a new web application changes if required 
  1)Select existing web site or create anew website (change description if required)
  2)change port number if required 
Leave  default options  
 1)Authentication 2)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8352410057926310877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8352410057926310877'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/10/create-new-or-extend-web-application-in.html' title='Create a new or extend  web application  in Moss2007'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-3860211399481351830</id><published>2008-10-03T22:26:00.000-07:00</published><updated>2008-10-03T22:46:09.721-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Portal in Moss2007'/><category scheme='http://www.blogger.com/atom/ns#' term='portal in sharepoint'/><title type='text'>Portals in sharepoint</title><summary type='text'>Portal

1)Connect your people to information and expertise:To share critical bussines and experise information and make a better decision
2)Connect people for key bussiness application:To stream line devlopment new
   composite application
3)Connect your people to role specfic resource:Allow roles to create in your
     portal and acces revalance resources</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/3860211399481351830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/3860211399481351830'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/10/portals-in-sharepoint.html' title='Portals in sharepoint'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-5305840087085928929</id><published>2008-10-02T23:34:00.000-07:00</published><updated>2008-10-03T00:03:11.529-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='collabration'/><category scheme='http://www.blogger.com/atom/ns#' term='collabration in moss'/><category scheme='http://www.blogger.com/atom/ns#' term='collabration in sharepointserver'/><title type='text'>Collabration and Social computing in Moss2007</title><summary type='text'>Collabration:It provide enviroment to working togther in teams and communnity to share information in differnent platform
Social Computing:It helps us creating or recreating social convention social context online through the use of software &amp; technology
Purpose of Collabration and Social computing in Moss2007
1)Empower team with collabrative workspace:Moss provide to create own workspace to </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5305840087085928929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5305840087085928929'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/10/collabration-and-social-computing-in.html' title='Collabration and Social computing in Moss2007'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-247451031726340724</id><published>2008-09-28T23:38:00.000-07:00</published><updated>2008-09-29T02:55:19.654-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Moss purpose'/><category scheme='http://www.blogger.com/atom/ns#' term='Moss and .net'/><category scheme='http://www.blogger.com/atom/ns#' term='Moss service'/><title type='text'>What is Moss2007  its purpose</title><summary type='text'>Moss :Microsoft office share point server
Moss is a new server program that is part of office 2007
Moss provide services
1)Collabration:Allow team work together effectively ,collabrate on and publish
document.maintain task list ,implement worflow and share information
through the use of wiki and blog
2)Portals:Create my personal site portal to share information with other and
personalize the user</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/247451031726340724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/247451031726340724'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/what-is-moss-its-purpose.html' title='What is Moss2007  its purpose'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-4586799811047139201</id><published>2008-09-27T09:46:00.000-07:00</published><updated>2008-09-27T10:39:34.726-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Categoary of culture'/><category scheme='http://www.blogger.com/atom/ns#' term='Culture in .net'/><title type='text'>Different  catetgories of  Culture in .net</title><summary type='text'>1)Invarient Culture
This culture categoary is cultur -insensitive.This Culture is to used essentialy a default culture when consitency is desired.It used to create trial application with harde code expiration date .As Invarient Culture is not based on any language .It simply the task of comparing dates
2)Neutral Culture 
A Neutral culture is associated with a language but has no relationship with</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4586799811047139201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4586799811047139201'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/different-catetgories-of-culture-in-net.html' title='Different  catetgories of  Culture in .net'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-8891422728731008444</id><published>2008-09-26T07:46:00.000-07:00</published><updated>2008-09-26T07:51:39.952-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cuture spefic html design'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML layout'/><title type='text'>GuideLines of Best HTML layout of Variety of culture</title><summary type='text'>1)Avoid using absolute postioning and sizes  for control
2)Use Entire width anf height of the Forms
3)Sixe of elements to the overall size of the form
4)Use seperate  table cell for each control
5)Avoid enabling the nowrap property in table
6)Avoid Secify the align property table</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8891422728731008444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8891422728731008444'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/guidelines-of-best-html-layout-of.html' title='GuideLines of Best HTML layout of Variety of culture'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-4407544852850685131</id><published>2008-09-26T01:38:00.000-07:00</published><updated>2008-09-26T02:17:18.561-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='File Upload control'/><category scheme='http://www.blogger.com/atom/ns#' term='Javscript'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Upload file to server using javsvcript in Asp.net</title><summary type='text'>1)Add Datagrid to a page use Item template
2)Add inline frame in a page
3)Upload.aspx page contain a file control going upload file into server
4)gridupload .aspx on rowdatabound call javascript function browserup1()
5)browserup1() internally call file control &amp; upload file to a server


gridupload.aspx




&lt;html xmlns="http://www.w3.org/1999/xhtml" &gt;
&lt;head runat="server"&gt;
&lt;title&gt;Untitled Page&lt;/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4407544852850685131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4407544852850685131'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/upload-file-to-server-using-javsvcript.html' title='Upload file to server using javsvcript in Asp.net'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-4963248682526516785</id><published>2008-09-22T22:59:00.000-07:00</published><updated>2008-09-22T23:14:59.895-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Difference Between .Net &amp; Java</title><summary type='text'>Java  Java is developed by Sun MicrosystemsJava is a light weight language and can be run on almost all the OS(it require less hardware)Java you need to confirm it that all the objects are destroyed before application quits.Java has no standard tool is available. Although, many third party IDEs are availableJava is a programming language designed to be run on many different platforms, and so uses</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4963248682526516785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4963248682526516785'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/difference-between-net-java.html' title='Difference Between .Net &amp; Java'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-2660403492049208062</id><published>2008-09-20T23:14:00.000-07:00</published><updated>2008-09-23T03:30:28.045-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cookie'/><category scheme='http://www.blogger.com/atom/ns#' term='State Management'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='session'/><category scheme='http://www.blogger.com/atom/ns#' term='statemanagement'/><title type='text'>State Managment In Asp.net 2.0</title><summary type='text'>State Management: It maintain the information about the client towards the server is called State Management
They are 2 Type
1) Client side State Management : It Store Information at client Computer by embedding information in the
Web page
I)View State:It use track value of the control .Stores information in hidden field
II)Control State:It use in custom control to run view state properly.
III)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/2660403492049208062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/2660403492049208062'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/statemanagment-in-aspnet20.html' title='State Managment In Asp.net 2.0'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-6608917258065413835</id><published>2008-09-20T21:58:00.000-07:00</published><updated>2008-09-29T03:03:15.851-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql server backup'/><category scheme='http://www.blogger.com/atom/ns#' term='SqlServer2005'/><title type='text'>SqlServer Database  BackUp and  Restore</title><summary type='text'>1) Copy 2 files. from SouceSystem Databasename.mdf , Database.ldf from installed sql server
folder (path:c:\program files]microsoftSql server\Data\datbasname.mdf)
2) Create a Database in Destination system .
3) Past 2 file in installed sql server location
(path:c:\program files]microsoftSql server\Data\datbasname.mdf)
4) Right click on destination database then click to attach datbase/files
5) </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/6608917258065413835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/6608917258065413835'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/backup-sqlserver-database.html' title='SqlServer Database  BackUp and  Restore'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-7060333710806247385</id><published>2008-09-12T22:19:00.000-07:00</published><updated>2008-09-13T10:05:16.452-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ajax'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Calling Server side Event handler function Uisng Ajax Update pannel</title><summary type='text'>1)Add Script manger to a page

2)Add Update panel in your page

3)Add any Server side standard Control .

4)In update panel call trigger tag .Inside trigger tag call asp:AysncPostBackTrigger control tag

5)Provide control id &amp; eventname in above tag

6)Example below is assign Textbox value on buttin click


pseduocode

aspx code

//Asume one button control id="bttnAjax" and one textbox in content</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/7060333710806247385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/7060333710806247385'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/calling-server-event-handler-function.html' title='Calling Server side Event handler function Uisng Ajax Update pannel'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-4509479901811577334</id><published>2008-09-11T00:03:00.000-07:00</published><updated>2008-09-11T01:47:04.237-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ajax'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Calling code behind function using Ajax</title><summary type='text'>1)Drag scriptmanger in your web page add attribute EnablePageMethods="true"
2)Create functions in javascript section (method name are similar example)
      I)CallPageMethod()
     II)CallParmeterPageMethod()
     III)onSucceeded(result,userContext,MethodName)
     IV))OnFailed(error,user)
3)Create static and return string function in Code behind (method name are similar example)
    I)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4509479901811577334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/4509479901811577334'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/calling-code-behind-function-using-ajax.html' title='Calling code behind function using Ajax'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-5201457122700880043</id><published>2008-09-10T03:06:00.001-07:00</published><updated>2008-09-19T22:04:29.754-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>Reterving &amp; assigning values of Server control using javascript</title><summary type='text'>1)Create a function in javascript section of web page
2)Using document object call appropriate control id to retrive &amp; assign value
3)Both control should be server control .
4)Call javascript function using Clientscript.RegisterStartupscript()


pseudo code
Javascript
function fun1()
{
//Assume one Dropdown &amp; TextBox
var s = document.getElementById("ddllist").Value;//or .innerText (to get all </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5201457122700880043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/5201457122700880043'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/reterving-assigning-values-of-server.html' title='Reterving &amp; assigning values of Server control using javascript'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-6583227733701238955</id><published>2008-09-05T02:48:00.000-07:00</published><updated>2008-09-19T21:56:34.691-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net 3'/><category scheme='http://www.blogger.com/atom/ns#' term='.net 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='.net 3.5'/><category scheme='http://www.blogger.com/atom/ns#' term='0'/><title type='text'>Differencce between .net 2.0 ,3.0,3.5</title><summary type='text'>.NET 2.0

CLR VERSION 2.0
FRMEWORK LIBRARIES : .NETfx 2.0
LANGUAGE : C# 2.0 VB 8.0
• A new hosting API for native applications wishing to host an instance of the .NET runtime
• Full 64-bit support for both the x64 and the IA64 hardware platforms.
• Language support for Generics built directly into the .NET CLR.
• Many additional and improved ASP.NET web controls.
• New data controls with </summary><link rel='enclosure' type='' href='http://aspnet.4guysfromrolla.com/articles/112107-1.aspx' length='0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/6583227733701238955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/6583227733701238955'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/differencce-between-net-20-3035.html' title='Differencce between .net 2.0 ,3.0,3.5'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-1902281244548074527</id><published>2008-09-01T04:11:00.000-07:00</published><updated>2008-09-10T04:32:20.069-07:00</updated><title type='text'>Get Cursor position  in Asp.net</title><summary type='text'>1)Add Refernce of System.windows.form
2)using  System.Windows.Form
3) Call Cursor object
  
  
puesdo code
    cursor.postion.x //To retrive x cordinate
  cusor.postion.y//To reterive y
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/1902281244548074527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/1902281244548074527'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/09/get-cursor-position-in-aspnet.html' title='Get Cursor position  in Asp.net'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-8408530963649115633</id><published>2008-08-19T20:48:00.000-07:00</published><updated>2008-08-19T21:07:09.704-07:00</updated><title type='text'>Creating Folder in root or parent  of Web application using  asp.net</title><summary type='text'>1)Using namespace System.io
2) create folder in root directory specify location in Server.mappath(".") assign variable to
string variable (or) Create a folder in parent directory .use Server.mappath("..") assign varaiable to string variable .(In web application folder suppose there are 2 folder i.e folder 2 is nest inside folder1 .I want create another nest folder3 in folder1 .Folder 1 is parent </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8408530963649115633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/8408530963649115633'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/08/creating-folder-in-root-or-parent-in.html' title='Creating Folder in root or parent  of Web application using  asp.net'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-7194641063474791317</id><published>2008-08-15T03:14:00.000-07:00</published><updated>2008-09-19T22:00:27.556-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharepointServer'/><category scheme='http://www.blogger.com/atom/ns#' term='Moss'/><category scheme='http://www.blogger.com/atom/ns#' term='web parts'/><title type='text'>Connecting Web parts using Filter in MOSS</title><summary type='text'>step to connect web part
Assume :Creation of list should known(list nothing but webpart in share point)
1)Click On the Site action Tab on the site and select Edit page
2)Add web part to desired location Right or Left
3)The web page dialogue is open select appropriate list or libaries web part Assume 2 list contain same colum in each list i)Employee list web part contain (eno) as one coloum ii)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/7194641063474791317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/7194641063474791317'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/08/connecting-web-parts-using-filter-in.html' title='Connecting Web parts using Filter in MOSS'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-9128705620290580508.post-1857185535812112642</id><published>2008-08-09T02:04:00.000-07:00</published><updated>2008-09-10T04:33:34.210-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='get parameter value from stored procedure'/><title type='text'>Getting parameter value  from store procedure using Enterprise library</title><summary type='text'>1)Create object of Database class using dbfactory class and provide connectionstring in constructer
2)Create object DbCommand by calling the GetstoreProc... method from Database class object
3) Call AddInparm..... methods from database class object 
4)To Reterive value from a parameter call a getParameter method from database class object
convert to corresponding datatype


example
bool succes=</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/1857185535812112642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9128705620290580508/posts/default/1857185535812112642'/><link rel='alternate' type='text/html' href='http://ashfk.blogspot.com/2008/08/calling-parameter-value-from-store.html' title='Getting parameter value  from store procedure using Enterprise library'/><author><name>Ashfaq Hussain</name><uri>http://www.blogger.com/profile/11743373198124260446</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hTpdvUb4tlo/SmX4DKXP6eI/AAAAAAAAAP8/XE5uv_kR0Gk/S220/DSC04492.JPG'/></author></entry></feed>
