Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have Sql lite .dcf format files in my system,
On upload method I have to select one of the .dcf file and need to read data and show it in Table. how can i do the task in asp.net MVC

What I have tried:

How to read selected sql lite file in asp.net Mvc
Posted
Updated 28-Sep-20 6:52am
Comments
Richard MacCutchan 25-Sep-20 6:08am    
Probably by using SQLite.
Member 11779727 25-Sep-20 6:10am    
How to connect to Selected SQLite file from Asp.net MVC?
Richard MacCutchan 25-Sep-20 6:43am    
The same way you would connect to any file. You use the properties and methods of the classes that are available in the library that is used to access the file.
Sandeep Mewara 25-Sep-20 9:34am    
As Richard shared, it's same as any SQLite Db. Though this would mean you need to know details of the DB schema if you want some speific task with that data.

In case it can be any SQLlite db, then maximum you can retrieve tables in it and columns in it. Then some UI to select tables or columns to retrieve data.
RedDk 27-Sep-20 14:01pm    
[edit][/edit]

1 solution

Unless you use some kind of (simple) flat file DB, you'll probably need specialized library or tool for connecting, retrieving or changing data.
Do you understand basic principles of working with data in .Net(ADO.Net or .Net Core way)?

If you do, here are first 3 results from my google search :
ADO.Net provider
Code guru tutorial
Another tutorial
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900