how can i know column have identity true in runtimes
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
Hi all.
I have stuck at a strange point.in Database some master table have
identity column and some havenot. Then How can i know at runtimes that
which table have identity column.
According to this i have to write query string.
I got dataset from table.
and
write
ds.Tables[0].Columns[0].AutoIncrement
which always gives false.
If youmhave any idea please share with me
Thanks
Neeraj
.
Relevant Pages
- Re: Data in table through dataset or bindingsource
... DataTable match the columns in your database table. ... When adding rows to the DataTable, set the primary key value to ... and EmployeeID column is Identity column with Identity Seed = 1 and Identity ... modify the DataTable Identity column after data adapter fills dataset? ... (microsoft.public.dotnet.framework.adonet) - Re: Insert text containing and
... rows of text data from a semicolon-delimited flat file in 3 seconds flat. ... Die, die Binär verstehen, bzw. ... If you have an IDENTITY column in the database, ... (microsoft.public.sqlserver.programming) - Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ... (alt.photography) - Re: How to lock an MSSQL server recordset for read?
... I have a database which has several tables. ... I need to get the first available OrderNo from this table, ... In most cases if you open the recordset using a server-side keyset cursor, ... the value of the identity column will be available in the recordset after ... (microsoft.public.data.ado) - Re: Object flow of operation
... > Thanks Grant but I am familiar with Guid. ... > like Y2004PUBxx and set it to an IDENTITY column and it will automatically ... >>> Check Database to see if tempID exists. ... >>> id, check its existence in the database, if it exists duplicate the ... (microsoft.public.dotnet.framework.aspnet) |
|