6
Answers

Convert sqldatetime to string at the footer

Photo of Becky Bloomwood

Becky Bloomwood

14y
13.5k
1
Hi experts,
may I know is this the way to convert sqldatetime to string at the grid view footer? Cause there is an error for this word: .RowIndex


DateTime
startDate = Convert.ToDateTime(gvContract.DataKeys[e.RowIndex].Value.ToString());

Thanks:D

Answers (6)

0
Photo of Laxmidhar Sahoo
NA 2.3k 1.4k 7y
sir I think 
 
driver.get('URL');
 
The above get method use the url as a variable where u use as a text constant.
 
The datails is not displayed