.NET Logo
Welcome Guest Search | Active Topics | Members | Log In | Register

เกิดปัญหาตรง Add New Data Source Options · View
lllwilll
Posted: Monday, September 15, 2008 11:05:51 AM
Rank: มือสมัครเล่น
Groups: Member

Joined: 1/10/2008
Posts: 14

คือเราสร้างตาราง เพศ ขึ้นมา เพื่อเก็บค่า ชายหญิง แล้วจะดึงค่าจากตารางมาใช้ โดย Add new Data Source ค่ะ

แล้วทีนี้พอเราแอด Data Source แล้ว ก็ Next แล้วก็ Next ต่อไป แล้วเลือก Table ที่เราต้องการใช้แล้ว จะกด Finish มันขึ้นแบบนี้ค่ะ เกิดจากอะไรค่ะ

ดังภาพค่ะ

 

img222.imageshack.us/my.php

img158.imageshack.us/my.php

ลองทำหน้าโปรเจ็คใหม่แล้วก็เป็นค่ะ  รบกวนด้วยค่ะ

lllwilll
Posted: Monday, September 15, 2008 2:21:49 PM
Rank: มือสมัครเล่น
Groups: Member

Joined: 1/10/2008
Posts: 14

ถามต่อค่ะ

คือเราแอดข้อมูลเข้า SQL Server management แล้วไม่เป้นภาษาไทยต้องแก้ตรงไหนค่ะ  รบกวนด้วยค่ะ มันเป็นตัว ????? ในตาราง Database ค่ะ

แต่ตอนเราพิมพ์ในโปรแกรม มันเป็นภาษาไทย พอแอดลงแล้วเป็นภาษานี้ค่ะ ????

nuttaponp
Posted: Monday, September 15, 2008 2:42:50 PM
Rank: มือพระกาฬ
Groups: Member

Joined: 9/9/2008
Posts: 62


จาก error ผมเข้าใจว่าคุณมี data source อยู่แล้ว แล้วคุณพยายามจะ Add data source เพิ่มอีกตัวหนึ่ง แต่ทว่าคุณยังใช้ DataSet ตัวเดิมอยู่

ลองแก้ด้วยการสร้าง DataSet มาอีกตัวหนึ่งเพื่อใช้กับ data source ตัวใหม่นี้


ส่วนเรื่องภาษา ผมไม่แน่ใจว่าคุณได้ตั้งภาษาสำหรับอ่าน non-unicode ในเครื่อง Serverให้เป็นภาษาไทยหรือเปล่า

 

lllwilll
Posted: Monday, September 15, 2008 3:19:25 PM
Rank: มือสมัครเล่น
Groups: Member

Joined: 1/10/2008
Posts: 14

คือยังไม่ได้สร้างง Data Source เลยค่ะ สร้างแล้วานจะได้แค่ ทางด้านขวาขึ้นมา แต่ใน DataSource ซ้ายมือที่เราต้องการใช้ มันไม่มาด้วยอ่าค่า

เช็คในโฟลเดอร์แล้วลองลบให้หมด แล้วสร้างใหม่ก็ไม่ได้ค่ะ

 

nuttaponp
Posted: Monday, September 15, 2008 4:03:34 PM
Rank: มือพระกาฬ
Groups: Member

Joined: 9/9/2008
Posts: 62

 

ถ้างั้นผมขอดูรายชื่อ field ในตารางทั้งหมดที่คุณจะ Add นะครับ โดยเฉพาะตาราง ProfileStudent

 

lllwilll
Posted: Tuesday, September 16, 2008 1:14:39 PM
Rank: มือสมัครเล่น
Groups: Member

Joined: 1/10/2008
Posts: 14

คือลองเอาโปรเจ็คตัวนี้ไปทำที่เครื่องที่บ้าน แล้ว เอาฐานข้อมูลไปด้วย ก็ Add DataSouce ได้ค่ะ แต่ เครื่องที่นี่แอดไม่ได้ เลยไม่รู้ว่ามันเป็นเพราะอะไรค่ะ รบกวนทีค่ะ

 

Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.


Sponsored by