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

Which ado.net object is very fast in getting data from the database?

646


What is difference between dataset and datatable?

511


Define data adapter?

509


What is the difference between Response.Expires and Reponse.ExpiresAbsolute?

538


What is meant by executenonquery?

527






How to Read, Add, Update and Delete record in Entity Framework ?

564


What is difference between ado.net and asp net?

512


Which architecture does Datasets follow?

586


What is data control techniques?

507


How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

582


What does executenonquery () method return?

498


How to work with disconnected data - the dataset and sqldataadapter?

504


Define table relations?

557


What property must be set and what method must be called in your code to bind the data from some data source to the Repeater control?

554


What is oledb connection?

507