‏إظهار الرسائل ذات التسميات SQl2005. إظهار كافة الرسائل
‏إظهار الرسائل ذات التسميات SQl2005. إظهار كافة الرسائل

السبت، ٨ نوفمبر ٢٠٠٨

From Excel to SQl من أكسل للسكوال

أذا كنت تبحث عن كيفية نقل بيانات من ملف اكسل لخادم اس كيو ال فها هى الطريقة.

Dim xconStr As String = "provider=microsoft.jet.oledb.4.0;Data source=" & Server.MapPath("Excel" & "\" & "StudentSheet.xsl") & _
--server.MapPath("مكان ملف الاكسل على الخادم")
";Extended properties=Excel 8.0"
Dim xcon As New OleDbConnection(xconStr)
Dim xcom As New OleDbCommand("Select * from [Sheet1$]", xcon)
--sheet1 هو اسم الجدول داخل ملف الاكسل
--important يجب وضع علامة الدولار
Dim xadaptor As New OleDbDataAdapter(xcom)
Dim dsxcel As New DataSet
xadaptor.Fill(dsxcel)


الاثنين، ٣ نوفمبر ٢٠٠٨

Microsoft SQL Server 2005 Setup The cabinet file 'Sql.cab' required for this installation is corrupt and cannot be used

MSSql2005 اذا قابلتك هذه الرسالة اثناء تنصيب
فقم بتغيير الاسطوانة لان هذا عيب فى البيانات الخاصة بالتنصيب.