Click here to Skip to main content
15,903,012 members

Comments by Phan7om (Top 18 by date)

Phan7om 23-Jun-12 6:17am View    
and how does it solves my problem ?
Phan7om 23-Jun-12 6:17am View    
just for your info I've searched in the whole solutions and found only single instance of datareader which is closed. why can't people see LINQ tag, I'm using LINQ
Phan7om 22-Jun-12 3:01am View    
Hi Mewara,

I've checked this link before. But I'm not using DataReader anywhere in the whole project and only LINQ is used.

thanks for your time :)
Phan7om 5-Jul-11 8:46am View    
Thanks shahriar
I came across these links in my RnD but in all the examples out there on the internet, the types corresponding to a table were defined but in my case the tables will arrive later on and I cannot define the table-class mapping at dev time. So I cannot determine what would be the type of the table.

Till now I think it cannot be done using LINQ, and I have to move to ADO.NET
Phan7om 1-Apr-11 8:00am View    
Its not working with SqlBulkCopy. What I did is to first set IDENTITY to ON (to explicityly set the ID value you have to set it to "ON") and then tried the bulk copy but got the following error:

Explicit value must be specified for identity column in table 'eDelivery_MailInfo' either when IDENTITY_INSERT is set to ON or when a replication user is inserting into a NOT FOR REPLICATION identity column.

and one more thing I gave datatable as the argument to writetoserver() method of the sqlbulkcopy