25 April 2008

ASP.Net & DataSource Controls


Data Source Controls & Data Source Consumed Controls

Generally it is not recommended to use data source controls. This is because of a believe that we will be limited inside the datasource framework.This is not true, datasource controls gives an abstract way of data manipulation , we can handle the process with the help of events provided by data source controls.
DataGridView is the most useful control which consumes datasource controls,it gives the options like sorting, paging etc.. in all of these events gridview will automatically call data-source control to retrieve data, in manual coding we need to call all proper query for all these events.
In some situations the SqlDatasource control can't use properly , at these situation we can use ObjectDataSource which is the powerful of all data source controls. It allow us to query a bulk record for paging .
We can even create a complete project without a single line of coding with ds-controls not only listing (selecting) records from table but also all data manipulation operation (insert update and delete ) with the help of DS-Controls. FormView-Control is the DS-Consumed Control that allow all the data manipulation operations with a windows form like environment.
Most people will leave this technology because of the customization problems arise with this technology,but actually it is very easy to handle these difficulties if you think a little different way .....
I will some tips that help you customize the data source controls and data-source consumed controls to achieve some risks you may find with coding .

Data-Source Controls and Parameters
For generating dynamic result with datasource controls we can pass parameters (control parameter , Query-string Parameter etc..)
Suppose you need to create a Search result from user table with a search patter from a TextBox named "FilterTextBox" , and your query is like this
" Select * From Users Where UserName like '%'+@Search +'%' "
so the parameter is @Search , Add a Select(Filter) Parameter with Name @Search and type as Control-Parameter and control-name as FilterTextBox
.
Control-Parameter is easy way to pass parameters , you can add a asp:label with visible=false as the parameter to hide sensitive informations like userId and you can pass the userId to this asp:label at the page_Load() event.

Nested DataSource Controls
Another benefit of datasource control is that we can place DataSource & Consumed-Controls inside a DataSource-Consumed Controls. We can pass Control-parameters To this controls from the derived data values.

20 April 2008

Shyam Krishnan

Me Shyam Krishnan

i need my blog in google search by the keyword "Shyam Krishnan".
Let me check whether this post with label Shyam Krishnan give me that postion in google ...
also i giving my address here .

Shyam Krishnan
Angamaly , Ernakulam (dt)
Kerala India
Email : malayalammail@gmail.com

16 April 2008

SEO - The Search Engine Optimization Tips

Search Engine Optimization


The term Search Engine Optimization or SEO is now common in the world of web.
To list you site top in the search from any search egine is the objective of seo. As a big percent of queries are from search engine it is now important to list you site top.You need to design & develop your site in such a way that search engines can catch the content in a friendly way.There are lot of factors affecting in seo. some of then are mensioning here.
Search Engine Optimization Kerala


SEO & Title of Page

Title (Title tag) of each and every page is a majour factor for search engine .The Title Tag must be Compact ,Sensible , and must be very much related to the content of your page. Pls do not use short story with your title !!. make title compact and raise your index up.

SEO & Description Meta Tag


(Description Meta Tag) of each and every page is a majour factor for search engine .The Description Tag will help you list in google search.

SEO & Page Name

PageName is also a factor of seo, name your page with a relevant keywords like "Search-Engine-Optimization.html".Query (?id=123) have no importance in seo. Try to split your contend with more pages and you will get more options for optimization. I am repeating the same thing about the title "do not try to create a story with your page name".

SEO & Domain Name

Domain name is one of the important factor in seo ,consider a domain name "seokerala.com" have more importance in the keyword "seo kerala" ,but subdomains have no much importance except blog sites like blogspot.com.

SEO & Page Content

Page Content is the main factor that affect seo .try to add unique content in your page, Content inside flash can't read by search engines so a full flash site is difficult to get optimized.Keep your contend meaningful & unique (do not copy paste contend from other sites ) .Now contend for seo is created by contend writers optimized for seo.


SEO & Domain Age

Age of domain and page is also a big factor in seo , search engines give more importance for aged domain and pages.Google have high preference in domain age ,thats why Google optimization is a hard thing.Don't worry about this, domain age is just one of hundreds of factors affecting SEO.
SEO Kerala

SEO & HTML Standards


There are lot of standards in creating a html or xhtml page mainly W3 standards ,The html must be in w3 standars, errors from this standards will cause your index down.Eg: missing of alt tags , Proper closing of tags, etc..,For more about w3 standards for html or xhtml visit w3schools.com Keep w3 standards and make search engine friendly


SEO & Location Of Domain Hosted


This is a reality that a domain hosted in india will get more preference for search with a keyword india. Also it will help you to make you listed while searching in google.co.in and pages from india in google.