Hi
Vishu,
You are missing right parentheses in following variable:
string cmdstring1
Please use following line instead of your.
string cmdstring1 = string.Format(@" select convert(varchar, getdate(), 103) From {0}" ,YourFieldPath.GetFileName(filename));
Please do let me know, if you have any doubt.
Please provide "
Vote":thumbsup: if this would be helpful, and make "
Accept Answer":rose: if this would be correct answer.
Thanks,
Imdadhusen