AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 dropdownlist DataSource from ini file??
Posted by cheryl on  1/3/2008 2:32:24 AM Category: C#
Add to my favorites
Email to friend
Hi all,

Normally im using dropdownlist DataSource from SQL as below coding:

strSQL = "SELECT customer FROM Customer_table
ddlCustomer.DataSource = cnn.dataFill (strSQL).Tables[0].DefaultView;

But,now i need get the customer name from .ini file which already set path at D drive.Is anybody have idea on it?

Thanks a lot !

Post Your Reply Post New Question

 Viewer's Reply
Reading from INI File in Asp.Net
Answered By Moderator1 on 6/22/2010 1:17:09 AM
Hi,

INI files are the files that contains some information for OS or part of the application. There is no special technique to read this files. I think we need to read it as normal flat files. If you know any new technique, please post it below.
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Simply JavaScript - Free 150 Page Preview!
Take Advantage of Oracle's 2 Day DBA Course
The Beginner's Guide to Joomla