how to know tables name in the connected database in c# [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
i have database which is already created from sql and i make connection on it is there is any way by which i can know the names of the tables in this database from c# as i know the tables in it but i won't to display tables names using code and programming and c#

You could read schema and metadata information with ADO.NET. Here's an example.

Related

Difference between a container and a database? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am trying to understand the difference between a container such as a Dictionary or List and a SQL Database.
I am sorry if this is a stupid question but I am trying to understand when each one is necessary.
A collection (the most common name for an object/value container) usually stores objects/values in memory while a database persists information to a disk drive, storing it until it's removed.

webpages_xxx tables in database [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
In a newly created MVC4 project'd database tables, I don't know how can I insert the data for default built-in tables like webpages_OAuthMembership webpages_Roles and webpages_UsersInRoles.
When I register a new account, only the other two tables not mentioned above are in use; I wonder if I have to manually edit the rest 3 tables while inside webpages_OAuthMembership, I don't understand what Provider means.
You can also check this article
http://weblogs.asp.net/jgalloway/archive/2012/08/29/simplemembership-membership-providers-universal-providers-and-the-new-asp-net-4-5-web-forms-and-asp-net-mvc-4-templates.aspx

How to implement SQLite in C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Hi guys, my project is about exams, So i Have to ask questions and store all exam done by user, I wanna to use SQLite but i'm wondering dose the user have to install any tool
to read from DB ? and if not how can i implement the DB and use it and what library i have to use ?
Thanks lot
PS:Any Suggestion for my project will be useful.
You can use http://sqlite.phxsoftware.com/ to interface with SQLite from c#
SQLite manager is a good tool to create/view/edit/etc your database: https://addons.mozilla.org/en-us/firefox/addon/sqlite-manager/

MS access MDB to Sqlite in c#/.net [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
By any chance can i export the MSAccess MBD file (one table only) to Sqlite( entity framework) by using c#/.net only. I want to do it pragmatically only.
Sure, use OLE DB provider for MS Access and Entity Framework for SQLite. Here's an example for the Access part and this is one for SQLite

Login and logout history in c# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how can i make a login and logout history in c#
recording who's the username and the time and date in c#
This would probably be best done with a new database table that records the username/id, the action (login/logout), and the time. Which each future action, your login/logout logic writes another entry to this table, saving it for future requests.

Categories