suppose we using gridview contrl,with sqldatasource.in that
for birth date how can we take validation contrl for
dd/mm/yy formator how we assign regular expression for same

Answer Posted / gt

its is very simple just u go to the sql database,change the
related database table like

SELECT col1,col2 Format(Now(),dd/mm/yy) as PerDate
FROM Table

and provide the parameters

(Asper my knowledge(iam not sure))

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the major difference between classic ADO and ADO.NET?

726


What is difference between datareader and dataadapter?

777


What are the different row versions available in table?

721


How do you merge 2 datasets into the third dataset in a simple manner?

760


How can we perform transactions in .net?

783


What is typed dataset ?

877


What do you know about ado.net's objects?

706


What are the Features of a dataset

874


Can datareader hold data from multiple tables?

861


What are all components of ADO.Net data provider?

798


What are two types of transaction supported by ado.net?

745


What are the key events of sqlconnection class?

841


How to add a javaScript function in a datagrid?

790


What is ole2 format?

667


What is difference between datatable and dataset?

730