Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: crystal reports Pin
monuSaini12-Aug-07 21:27
monuSaini12-Aug-07 21:27 
GeneralRe: crystal reports Pin
Imranlogi12-Aug-07 23:06
Imranlogi12-Aug-07 23:06 
QuestionObject reference problem in a windows application. Pin
Janu_M12-Aug-07 19:23
Janu_M12-Aug-07 19:23 
QuestionC# DataGridView - Deleting a new Row Pin
shubhabratam12-Aug-07 17:59
shubhabratam12-Aug-07 17:59 
AnswerRe: C# DataGridView - Deleting a new Row Pin
Michael Sync12-Aug-07 18:09
Michael Sync12-Aug-07 18:09 
AnswerRe: C# DataGridView - Deleting a new Row Pin
Imranlogi12-Aug-07 20:40
Imranlogi12-Aug-07 20:40 
GeneralRe: C# DataGridView - Deleting a new Row Pin
shubhabratam12-Aug-07 20:53
shubhabratam12-Aug-07 20:53 
GeneralRe: C# DataGridView - Deleting a new Row Pin
Imranlogi12-Aug-07 21:13
Imranlogi12-Aug-07 21:13 
I have used this code to add data to the table with respect to Text Boxes, u can try this for Datagrid with some changes.

string strInsert;
strInsert = "insert into JobEvaluationPlanData" +
"(Plan_Id, Com_Fact, Com_Fact_Def, CF)"
+ "values('" + this.TxtPlanId.Text + "','"
+ this.TxtCompFact.Text + "','" + this.TxtCompFactDef.Text + "','"
+ this.TxtFactor.Text + "')";

if (
this.TxtPlanId.Text != "" &&
this.TxtCompFact.Text != "" &&
this.TxtCompFactDef.Text != "" &&
this.TxtFactor.Text != "")
{

OleDbCommand command = new OleDbCommand(strInsert, datcJobEvaluationPlanData.con);
datcJobEvaluationPlanData.dAdapter4.InsertCommand = command;
//Do the Insert
datcJobEvaluationPlanData.dAdapter4.InsertCommand.ExecuteNonQuery();
MessageBox.Show("New Record Added...");
RefreshData();
TxtPlanId.ReadOnly = true;

}

Thanks

Imran

QuestionAfter passing file name in PrintQueue.AddJob(_,_,) folder is getting locked Pin
gvisgr812-Aug-07 17:53
gvisgr812-Aug-07 17:53 
QuestionHow to synchronize between GridView and DataTable? Pin
Michael Sync12-Aug-07 17:42
Michael Sync12-Aug-07 17:42 
Questioncovert string to particular pattern Pin
Amjath Rahman12-Aug-07 17:40
Amjath Rahman12-Aug-07 17:40 
AnswerRe: covert string to particular pattern Pin
Michael Sync12-Aug-07 18:05
Michael Sync12-Aug-07 18:05 
QuestionCreating a executable for a custom action Pin
steve_rm12-Aug-07 12:56
steve_rm12-Aug-07 12:56 
AnswerRe: Creating a executable for a custom action Pin
Jimmanuel13-Aug-07 7:46
Jimmanuel13-Aug-07 7:46 
Questionporting c code and crc32 Pin
dfn12-Aug-07 9:42
dfn12-Aug-07 9:42 
AnswerRe: porting c code and crc32 Pin
Luc Pattyn12-Aug-07 10:03
sitebuilderLuc Pattyn12-Aug-07 10:03 
AnswerRe: porting c code and crc32 Pin
Ravi Bhavnani12-Aug-07 12:13
professionalRavi Bhavnani12-Aug-07 12:13 
QuestionHow to delete message from Sim card Pin
Babubhai0712-Aug-07 9:29
Babubhai0712-Aug-07 9:29 
Questionreconnecting a client to socket server [modified] Pin
gizmokaka12-Aug-07 7:58
gizmokaka12-Aug-07 7:58 
Question.EXE file association Pin
Harkamal Singh12-Aug-07 6:55
Harkamal Singh12-Aug-07 6:55 
AnswerRe: .EXE file association Pin
Luc Pattyn12-Aug-07 7:28
sitebuilderLuc Pattyn12-Aug-07 7:28 
GeneralRe: .EXE file association Pin
Harkamal Singh12-Aug-07 21:29
Harkamal Singh12-Aug-07 21:29 
QuestionStringTokenizer (Urgent) [modified] Pin
ksaw12312-Aug-07 5:21
ksaw12312-Aug-07 5:21 
AnswerRe: StringTokenizer (Urgent) Pin
Luc Pattyn12-Aug-07 5:41
sitebuilderLuc Pattyn12-Aug-07 5:41 
GeneralRe: StringTokenizer (Urgent) [modified] Pin
ksaw12312-Aug-07 5:50
ksaw12312-Aug-07 5:50 

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.