Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
GeneralRe: Execution time.....?? Pin
Hum Dum27-Apr-09 2:51
Hum Dum27-Apr-09 2:51 
AnswerRe: Execution time.....?? Pin
Luc Pattyn27-Apr-09 3:16
sitebuilderLuc Pattyn27-Apr-09 3:16 
GeneralRe: Execution time.....?? [modified] Pin
Hum Dum27-Apr-09 20:48
Hum Dum27-Apr-09 20:48 
GeneralRe: Execution time.....?? Pin
Luc Pattyn28-Apr-09 0:18
sitebuilderLuc Pattyn28-Apr-09 0:18 
GeneralRe: Execution time.....?? Pin
Hum Dum28-Apr-09 1:56
Hum Dum28-Apr-09 1:56 
GeneralRe: Execution time.....?? Pin
Luc Pattyn28-Apr-09 2:31
sitebuilderLuc Pattyn28-Apr-09 2:31 
GeneralRe: Execution time.....?? Pin
Hum Dum28-Apr-09 19:08
Hum Dum28-Apr-09 19:08 
Questionproblem in inserting a record in data base tale Pin
Mangesh Tomar27-Apr-09 0:23
Mangesh Tomar27-Apr-09 0:23 
hi
in my project i convert excel file in xml and then upload the file in data base . here i use SQL Server 2005. In my excel file consist one record D'Souza when such name comes program throw run time exception as Incorrect syntax near 'Souza
i use following query for insert a record

string istr = "insert into sheet1(Personnel_Area,EE_Grp,Employee_Group,ESgrp,Employee_Subgroup,Cost_ctr,Cos

t_Center,PSubarea,Personnel_Subarea,Peres_no,Personel_Number,Designation,D

esigna,Pos,Age_of_Employee,Birthdate,Complete_name)values('" + Convert.ToString(dataGridView1.Rows[i].Cells[0].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[1].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[2].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[3].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[4].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[5].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[6].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[7].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[8].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[9].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[10].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[11].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[12].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[13].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[14].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[17].Value.ToString()) + "','" + Convert.ToString(dataGridView1.Rows[i].Cells[18].Value.ToString()) + "')";

AnswerRe: problem in inserting a record in data base tale Pin
Mangesh Tomar27-Apr-09 0:26
Mangesh Tomar27-Apr-09 0:26 
Answerrepost Pin
N a v a n e e t h27-Apr-09 0:29
N a v a n e e t h27-Apr-09 0:29 
AnswerRe: problem in inserting a record in data base tale Pin
musefan27-Apr-09 0:45
musefan27-Apr-09 0:45 
GeneralRe: problem in inserting a record in data base tale Pin
Mangesh Tomar27-Apr-09 0:53
Mangesh Tomar27-Apr-09 0:53 
GeneralRe: problem in inserting a record in data base tale Pin
musefan27-Apr-09 2:17
musefan27-Apr-09 2:17 
GeneralRe: problem in inserting a record in data base tale [modified] Pin
Mirko198027-Apr-09 2:19
Mirko198027-Apr-09 2:19 
Questionis it possible to run the user-edit code... Pin
Seraph_summer27-Apr-09 0:15
Seraph_summer27-Apr-09 0:15 
AnswerRe: is it possible to run the user-edit code... Pin
Eddy Vluggen27-Apr-09 2:03
professionalEddy Vluggen27-Apr-09 2:03 
QuestionLooping with IP address range ... Pin
mamatosh27-Apr-09 0:06
mamatosh27-Apr-09 0:06 
AnswerRe: Looping with IP address range ... Pin
Christian Graus27-Apr-09 0:14
protectorChristian Graus27-Apr-09 0:14 
GeneralRe: Looping with IP address range ... Pin
mamatosh27-Apr-09 0:17
mamatosh27-Apr-09 0:17 
QuestionC# sample project Pin
BabyOreo27-Apr-09 0:01
BabyOreo27-Apr-09 0:01 
AnswerRe: C# sample project Pin
Christian Graus27-Apr-09 0:13
protectorChristian Graus27-Apr-09 0:13 
AnswerRe: C# sample project Pin
DaveyM6927-Apr-09 0:16
professionalDaveyM6927-Apr-09 0:16 
GeneralRe: C# sample project Pin
Pete O'Hanlon27-Apr-09 2:20
mvePete O'Hanlon27-Apr-09 2:20 
QuestionImport Excal file to datagrid using C#,.net2005 Pin
naim khan26-Apr-09 23:55
naim khan26-Apr-09 23:55 
AnswerRe: Import Excal file to datagrid using C#,.net2005 Pin
Christian Graus26-Apr-09 23:56
protectorChristian Graus26-Apr-09 23:56 

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.