Click here to Skip to main content
16,004,854 members
Home / Discussions / C#
   

C#

 
QuestionRe: Post Request Pin
Support12326-Sep-06 23:41
Support12326-Sep-06 23:41 
QuestionGreat, now one more thing and then its perfect... Pin
Support12327-Sep-06 0:16
Support12327-Sep-06 0:16 
QuestionRichTextbox Pin
izakfick26-Sep-06 22:16
izakfick26-Sep-06 22:16 
AnswerRe: RichTextbox Pin
Nader Elshehabi27-Sep-06 1:18
Nader Elshehabi27-Sep-06 1:18 
QuestionHow to set windows default sound card devices in c#.NET Pin
YogeshRT26-Sep-06 22:12
YogeshRT26-Sep-06 22:12 
Questionassigning string to dataset Pin
saqib8226-Sep-06 21:49
saqib8226-Sep-06 21:49 
AnswerRe: assigning string to dataset Pin
_AK_26-Sep-06 23:16
_AK_26-Sep-06 23:16 
QuestionBulk Insertion to DB Pin
meeram39526-Sep-06 21:41
meeram39526-Sep-06 21:41 
Hi,

I have a problem. I have a dataset contains 8 tables. Each table contains 25,000-30,000 records. I want to insert all the records at a time. There is no primary key or foreign key constarints or no conditions to check. Just dumping to database. That's all. For that I used the below code. But no insertion is happening. Can anybody help please?

SqlDataAdapter PEOQCAdap=new SqlDataAdapter();
SqlCommand inscommand=new SqlCommand();
inscommand.Connection=SqlCon;

inscommand.CommandType=CommandType.StoredProcedure;
inscommand.CommandText="INSERT_NOISSUELEVEL";

inscommand.Parameters.Clear();
inscommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@VALUE1",System.Data.SqlDbType.VarChar,50,"VALUE"));
inscommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ASTNDA",System.Data.SqlDbType.BigInt,8,"AST_FOR_NDA_ID"));
inscommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@ANALAYST",System.Data.SqlDbType.VarChar,50,"CREATE_BY"));
inscommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@CREATEDATE",System.Data.SqlDbType.NVarChar,50,"CREATE_DATE"));
inscommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@NDAID",System.Data.SqlDbType.BigInt,8,"NDA_ID"));
inscommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@COMPANY",System.Data.SqlDbType.VarChar,50,"COMPANY_NAME_AT_OFFER"));

PEOQCAdap.InsertCommand=inscommand;
PEOQCAdap.Update(ds.Tables[0]);

Any sort of help is great!!!

Thanks

Raja Raman S
Reuters India Pvt.Ltd.
Bangalore

Questionhow to read .resx file Pin
Tamimi - Code26-Sep-06 21:13
Tamimi - Code26-Sep-06 21:13 
AnswerRe: how to read .resx file Pin
Stefan Troschuetz26-Sep-06 21:26
Stefan Troschuetz26-Sep-06 21:26 
GeneralRe: how to read .resx file Pin
Tamimi - Code26-Sep-06 22:04
Tamimi - Code26-Sep-06 22:04 
QuestionTransparent Label Pin
morteza5726-Sep-06 21:11
morteza5726-Sep-06 21:11 
GeneralRe: Transparent Label Pin
Guffa26-Sep-06 21:34
Guffa26-Sep-06 21:34 
AnswerRe: Transparent Label Pin
Nader Elshehabi27-Sep-06 1:28
Nader Elshehabi27-Sep-06 1:28 
QuestionHow to host multiple channels in an exe ??? .NET Remoting [modified] Pin
Waqas Nasir26-Sep-06 21:06
Waqas Nasir26-Sep-06 21:06 
Questionreturning values from webservice Pin
saqib8226-Sep-06 20:41
saqib8226-Sep-06 20:41 
AnswerRe: returning values from webservice Pin
Stefan Troschuetz26-Sep-06 21:33
Stefan Troschuetz26-Sep-06 21:33 
QuestionRead items from list box Pin
eswarattaluri26-Sep-06 19:30
eswarattaluri26-Sep-06 19:30 
AnswerRe: Read items from list box Pin
myfend_liang26-Sep-06 19:41
myfend_liang26-Sep-06 19:41 
GeneralRe: Read items from list box Pin
myfend_liang26-Sep-06 19:42
myfend_liang26-Sep-06 19:42 
QuestionHow to show popup window in loop Pin
YogeshRT26-Sep-06 19:03
YogeshRT26-Sep-06 19:03 
QuestionI want c# code with Windows Task manager (Networking) Pin
seasone cheng26-Sep-06 18:39
seasone cheng26-Sep-06 18:39 
JokeRe: I want c# code with Windows Task manager (Networking) Pin
lmoelleb26-Sep-06 23:04
lmoelleb26-Sep-06 23:04 
Questionimplementing multiple class in a project Pin
Harikrk26-Sep-06 18:15
Harikrk26-Sep-06 18:15 
QuestionInherting from master forms dynamically Pin
Harikrk26-Sep-06 18:08
Harikrk26-Sep-06 18:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.