473,664 Members | 3,035 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

datatablecollec tion and missing schema

hey all,
i noticed if i use the missing schema to fill a datatablecollec tion the
table names are generic (Table, Table1, Table2)

is there anyway to change that? i tried on the sql side to use an alias for
the table name but i don't think that work when i tried to debug.

thanks,
rodchar
Mar 26 '08 #1
3 1604
On Mar 26, 10:05*am, rodchar <rodc...@discus sions.microsoft .com>
wrote:
hey all,
i noticed if i use the missing schema to fill a datatablecollec tion the
table names are generic (Table, Table1, Table2)

is there anyway to change that? i tried on the sql side to use an alias for
the table name but i don't think that work when i tried to debug.

thanks,
rodchar
What you mean with the missing schema?
Of course if the dataadapter do not have a schema it will not be able
to know the names, etc
you can always rename the tables afterwards though.
Mar 26 '08 #2
yes that's what i mean, the dataadapter missing schema. thanks for the help.
rod.

"Ignacio Machin ( .NET/ C# MVP )" wrote:
On Mar 26, 10:05 am, rodchar <rodc...@discus sions.microsoft .com>
wrote:
hey all,
i noticed if i use the missing schema to fill a datatablecollec tion the
table names are generic (Table, Table1, Table2)

is there anyway to change that? i tried on the sql side to use an alias for
the table name but i don't think that work when i tried to debug.

thanks,
rodchar

What you mean with the missing schema?
Of course if the dataadapter do not have a schema it will not be able
to know the names, etc
you can always rename the tables afterwards though.
Mar 26 '08 #3
On Mar 26, 3:35*pm, rodchar <rodc...@discus sions.microsoft .comwrote:
yes that's what i mean, the dataadapter missing schema. thanks for the help.
rod.

"Ignacio Machin ( .NET/ C# MVP )" wrote:
On Mar 26, 10:05 am, rodchar <rodc...@discus sions.microsoft .com>
wrote:
hey all,
i noticed if i use the missing schema to fill a datatablecollec tion the
table names are generic (Table, Table1, Table2)
is there anyway to change that? i tried on the sql side to use an alias for
the table name but i don't think that work when i tried to debug.
thanks,
rodchar
What you mean with the missing schema?
Of course if the dataadapter do not have a schema it will not be able
to know the names, etc
you can always rename the tables afterwards though.- Hide quoted text -

- Show quoted text -
Well, then just rename the table and you are ready :)
Mar 26 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1704
by: Alberto Grosso Nicolin | last post by:
We have the following XML schema: there's a root element (Response) with of a single child element (Result). ---------------------------------------------------------------------------------------------- <?xml version="1.0" encoding="utf-8"?> <xs:schema id="TaskRequest" targetNamespace="http://xyz.com/TaskResponse/1.0" elementFormDefault="qualified" xmlns="http://xyz.com/TaskResponse/1.0"
0
1977
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project by serveraddresss?wsdl, it gives me following error: Custom tool error: Unable to import WebService/Schema. Unable to import binding 'MyRemoteObjectBinding' from namespace...
0
4830
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import WebService/Schema. Unable to import binding 'MyRemoteObjectBinding' from namespace 'http://schemas.microsoft.com/clr/nsassem/RemoteServer/RemoteServer%2C%20Version%3D1.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull'. Unable to import...
3
5327
by: CindyRob | last post by:
I am using .NET framework 1.1 SP1, .NET framework SDK 1.1 SP1, with hotfix 82202, Visual studio .NET 2003 with hotfix 823639. I have generated a proxy class using wsdl.exe from a schema that has an xsd:date element called XYZ_IncDate. <xsd:attribute name="XYZ_IncDate" type="xsd:date" use="required"> If I change the xsd:date element to be optional, then wsdl.exe generates two attributes for the date field in the proxy class:
4
1544
by: Mike | last post by:
I'm creating a new asp.net (c#) web app and on my HTML page some values are missing> such as: when i do: <td > when i hit spacebar I dont' see, width, bgcolor, border, etc in the drop down. I only see around 10 or so values in the drop down. What's missing in my install? I can still type them but I get
6
3082
by: Hemant Shah | last post by:
Folks, Today, I was exporting a table in one database and then importing it in another database. The table in destination database was missing one column (my mistake while creating the table), but import did not complain about it. Source table: Column Type Type
3
2818
by: Fred Chateau | last post by:
Still working on my XML DataSet... Having moved on past difficult and complex problems, resolved with the assistance of everyone here, I find myself facing yet another problem. My XML document breaks the schema. There are missing tags everywhere, on purpose I'm told, because we don't need them. I'm getting a "System.Data: There is no row at position <row number>" error. Hopefully I can workaround this issue. I need to find a way to...
4
4224
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, this is what i thought would make sense to me but got the infamous "Object not instantiated" error: DataTable dt; dt = mySprocDt; DataTableCollection dtColl = null; dtColl.Add(dt);
5
2881
by: Frank Millman | last post by:
Hi all This is not strictly a Python question, but as I am writing in Python, and as I know there are some XML gurus on this list, I hope it is appropriate here. XML-schemas are used to define the structure of an xml document, and to validate that a particular document conforms to the schema. They can also be used to transform the document, by filling in missing attributes with default values.
0
8437
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8348
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8549
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7375
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5660
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4185
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4351
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2764
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1759
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.