PC Review


Reply
Thread Tools Rate Thread

dataset help

 
 
=?Utf-8?B?QVZM?=
Guest
Posts: n/a
 
      12th Sep 2007
hi,
i need help on setting datatype of a table's column at runtime..
i'm loading a dataset from an xml file...
after loading, i want to set the datatype of one of the column as int32..

how can i acheive it..
is there any way to set the datatypes of the columns before loading the data
from xml file..
please help out

 
Reply With Quote
 
 
 
 
Cor Ligthert[MVP]
Guest
Posts: n/a
 
      13th Sep 2007
Hi,

You cannot set easily all existing columns in SQL server to another format.
And there where it is possible it is probably not in your interest.

However you can by just creating the Create statement and the
command.SqlNonQuery do a lot.

http://www.vb-tips.com/CreateSqlDatabase.aspx

Cor

"AVL" <(E-Mail Removed)> schreef in bericht
news:39EC1A65-8D77-42F6-BC2C-(E-Mail Removed)...
> hi,
> i need help on setting datatype of a table's column at runtime..
> i'm loading a dataset from an xml file...
> after loading, i want to set the datatype of one of the column as int32..
>
> how can i acheive it..
> is there any way to set the datatypes of the columns before loading the
> data
> from xml file..
> please help out
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to cast object of type 'System.Data.DataSet' to Typed DataSet Optimus Microsoft VB .NET 1 31st Jan 2006 06:26 AM
Ccopying a datatable content from an untyped dataset into a table which is inside a typed dataset Nedu N Microsoft ADO .NET 7 9th Dec 2003 02:50 PM
copying a datatable content from an untyped dataset into a table which is inside a typed dataset Nedu N Microsoft ADO .NET 2 31st Oct 2003 01:05 PM
copying a datatable content from an untyped dataset into a table which is inside a typed dataset Nedu N Microsoft ASP .NET 2 31st Oct 2003 01:05 PM
Ccopying a datatable content from an untyped dataset into a table which is inside a typed dataset Nedu N Microsoft ASP .NET 2 31st Oct 2003 02:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:59 AM.