Click here to Skip to main content
15,895,988 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: asp.net 2.0 project (Failed to update database ) Pin
sync_austin23-Jun-07 3:05
sync_austin23-Jun-07 3:05 
GeneralRe: asp.net 2.0 project (Failed to update database ) Pin
Peter Mead23-Jun-07 3:36
Peter Mead23-Jun-07 3:36 
GeneralRe: asp.net 2.0 project (Failed to update database ) Pin
sync_austin24-Jun-07 0:21
sync_austin24-Jun-07 0:21 
QuestionError in Deleting File... FileInfo Pin
dhulipudi23-Jun-07 1:55
dhulipudi23-Jun-07 1:55 
AnswerRe: Error in Deleting File... FileInfo Pin
Fred_Smith23-Jun-07 4:42
Fred_Smith23-Jun-07 4:42 
QuestionHow to avoid the Excel prompt window when exporting data to Excel 2007 [modified] Pin
Mohamed Arif23-Jun-07 1:50
Mohamed Arif23-Jun-07 1:50 
AnswerRe: How to avoid the Excel prompt window when exporting data to Excel 2007 Pin
sidbaruah25-Jun-07 0:57
sidbaruah25-Jun-07 0:57 
Questionfetching records from excel on the basis of date given by user. Pin
MissionSuccess23-Jun-07 1:35
MissionSuccess23-Jun-07 1:35 
Hello All

How can i fetch the records from an excel sheet for a particular date.

i want to pass the date from frontend and fetch only those records which satisfy the condition.
my code is:----------

strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + strFilePath + ";Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1"""
Dim cnCSV As New OleDbConnection(strConnectionString)
cnCSV.Open()
'Dim cmdSelect As New OleDbCommand("SELECT * FROM [sheet1$] where [Tube Dia]=22", cnCSV)
Dim cmdSelect As New OleDbCommand("SELECT * FROM [sheet1$] where [Invoice date]='14/04/2006'", cnCSV)

cmdSelect.CommandType = CommandType.Text
Dim daCSV As New OleDbDataAdapter
daCSV.SelectCommand = cmdSelect
Dim ds As New DataSet
daCSV.Fill(ds)

Oledb is treating my date as string
how to convert my string parameter('14/04/2006') to date.


Questionsimple,short question Pin
Amr M. K.23-Jun-07 0:42
Amr M. K.23-Jun-07 0:42 
AnswerRe: simple,short question Pin
kubben23-Jun-07 1:40
kubben23-Jun-07 1:40 
AnswerRe: simple,short question Pin
badgrs23-Jun-07 12:25
badgrs23-Jun-07 12:25 
AnswerRe: simple,short question Pin
Christian Graus23-Jun-07 13:37
protectorChristian Graus23-Jun-07 13:37 
Questionmulti usercontrol! Pin
synbad23-Jun-07 0:29
synbad23-Jun-07 0:29 
AnswerRe: multi usercontrol! Pin
honeyss29-Jun-07 3:08
honeyss29-Jun-07 3:08 
QuestionDynamic controles Pin
hadad22-Jun-07 23:06
hadad22-Jun-07 23:06 
AnswerRe: Dynamic controles Pin
Abolfazl Sheikhloo22-Jun-07 23:38
Abolfazl Sheikhloo22-Jun-07 23:38 
GeneralRe: Dynamic controles Pin
hadad22-Jun-07 23:48
hadad22-Jun-07 23:48 
GeneralRe: Dynamic controles Pin
WillemM23-Jun-07 10:33
WillemM23-Jun-07 10:33 
AnswerRe: Dynamic controles Pin
Vipin.d23-Jun-07 4:20
Vipin.d23-Jun-07 4:20 
QuestionAn extender can't be in a different UpdatePanel than the control it extends Pin
morteza5722-Jun-07 22:13
morteza5722-Jun-07 22:13 
AnswerRe: An extender can't be in a different UpdatePanel than the control it extends Pin
badgrs23-Jun-07 12:23
badgrs23-Jun-07 12:23 
GeneralRe: An extender can't be in a different UpdatePanel than the control it extends Pin
morteza5723-Jun-07 23:09
morteza5723-Jun-07 23:09 
GeneralRe: An extender can't be in a different UpdatePanel than the control it extends Pin
londhe.kunal17-May-10 21:00
londhe.kunal17-May-10 21:00 
GeneralRe: An extender can't be in a different UpdatePanel than the control it extends Pin
ashwani Gautam24-Sep-10 1:00
ashwani Gautam24-Sep-10 1:00 
Questionget values from iframe Pin
Imran Khan Pathan22-Jun-07 21:31
Imran Khan Pathan22-Jun-07 21:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.