₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,327,072 members, 8,429,252 topics. Date: Thursday, 18 June 2026 at 04:05 PM

Toggle theme

C# And SQL Server 2012 For Data Cleansing - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingC# And SQL Server 2012 For Data Cleansing (1470 Views)

1 Reply (Go Down)

C# And SQL Server 2012 For Data Cleansing by BigStar1(op): 9:37am On May 05, 2013
I salute all the programmers in the house. I need your help on how to build an application that can analyse data from different sources, identify and remove the duplicates and give the combined and cleansed database as output. I wish to use C# and SQL server 2012.
Re: C# And SQL Server 2012 For Data Cleansing by blenyo11(m): 12:18pm On May 05, 2013
Knowing the sources you are considering will make helping a bit easy.
Web service?
XML?
...?
...?
Text file?
Re: C# And SQL Server 2012 For Data Cleansing by BigStar1(op): 9:55pm On May 05, 2013
Thanks for willing to help. The source will be majorly from other DB and excell. Thanks
Re: C# And SQL Server 2012 For Data Cleansing by blenyo11(m): 11:25pm On May 05, 2013
ADO.net is what you need.
You can connect to database (e.g. MySQL) and datasheets (e.g. excel)
and perform CRUD (Create, Update and Delete) operation on them
I dint debug this, but this code should give you insight on working with excel. Its assumed that you are having an excel file called MyExcel.xls on your drive C

      string conStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data" + 
" Source=C:\\MyExcel.xls;Extended Properties=\"Excel 8.0;HDR=Yes;IMEX=1\";";
OdbcConnection conn = new OdbcConnection(conStr);
conn.Open();
OdbcDataAdapter adp = new OdbcDataAdapter("select * from [Sheet1$]", conn);
DataSet ds = new DataSet();
adp.Fill(ds);
dataGridView1.DataSource = ds.Tables[0];
conn.Close();
1 Reply

List Of All States With Local Governments In Nigeria In JSON, PHP And SQL FormatVb.net Code To Display Image In Picturebox From Sql Server234

Vacancies For Programmers [abuja]My First Guess Game Gui In JavaI Need A Tutor On Programming