Click here to Skip to main content
11,642,216 members (64,257 online)
   

C#

 
GeneralRe: pls help learn c# need someone to guide me thru Pin
becky suinner5-Oct-12 9:58
memberbecky suinner5-Oct-12 9:58 
GeneralRe: pls help learn c# need someone to guide me thru Pin
Eddy Vluggen5-Oct-12 10:03
memberEddy Vluggen5-Oct-12 10:03 
GeneralRe: pls help learn c# need someone to guide me thru Pin
becky suinner5-Oct-12 10:01
memberbecky suinner5-Oct-12 10:01 
GeneralRe: pls help learn c# need someone to guide me thru Pin
Eddy Vluggen5-Oct-12 10:08
memberEddy Vluggen5-Oct-12 10:08 
GeneralRe: pls help learn c# need someone to guide me thru Pin
Richard MacCutchan5-Oct-12 22:19
mvpRichard MacCutchan5-Oct-12 22:19 
GeneralRe: pls help learn c# need someone to guide me thru Pin
Pete O'Hanlon5-Oct-12 22:28
protectorPete O'Hanlon5-Oct-12 22:28 
Questionhow can i delete data from sql database on select the item from listbox in window form in asp.net Pin
Ranjeet69315-Oct-12 7:23
memberRanjeet69315-Oct-12 7:23 
AnswerRe: how can i delete data from sql database on select the item from listbox in window form in asp.net Pin
kamalkss5-Oct-12 8:00
memberkamalkss5-Oct-12 8:00 
There is no need to data Adapter , see this :

 
System.Data.SqlClient.SqlConnection sqlConnection1 = 
    new System.Data.SqlClient.SqlConnection("YOUR CONNECTION STRING ");
 
System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand();
cmd.CommandType = System.Data.CommandType.Text;
cmd.CommandText = "delete from Inquiry_management where Inquiry_ID='" +listBox1.SelectedIndex + "'";
cmd.Connection = sqlConnection1;
 
sqlConnection1.Open();
cmd.ExecuteNonQuery();
sqlConnection1.Close();
 

GeneralRe: how can i delete data from sql database on select the item from listbox in window form in asp.net Pin
Ranjeet69315-Oct-12 8:15
memberRanjeet69315-Oct-12 8:15 
QuestionPrinting Persian Words Pin
mohammadkaab5-Oct-12 2:19
membermohammadkaab5-Oct-12 2:19 
AnswerRe: Printing Persian Words Pin
Eddy Vluggen5-Oct-12 5:01
memberEddy Vluggen5-Oct-12 5:01 
GeneralRe: Printing Persian Words Pin
Keith Barrow5-Oct-12 6:17
mentorKeith Barrow5-Oct-12 6:17 
GeneralRe: Printing Persian Words Pin
Eddy Vluggen5-Oct-12 9:43
memberEddy Vluggen5-Oct-12 9:43 
AnswerRe: Printing Persian Words Pin
Keith Barrow5-Oct-12 6:08
mentorKeith Barrow5-Oct-12 6:08 
GeneralRe: Printing Persian Words Pin
mohammadkaab5-Oct-12 7:18
membermohammadkaab5-Oct-12 7:18 
GeneralRe: Printing Persian Words Pin
Keith Barrow5-Oct-12 9:06
mentorKeith Barrow5-Oct-12 9:06 
QuestionOleDbException : SQL: Column 'Q0P2' is not found [update dbf free tables from oledbdataadapter] Pin
Paramu19735-Oct-12 0:45
memberParamu19735-Oct-12 0:45 
AnswerRe: OleDbException : SQL: Column 'Q0P2' is not found [update dbf free tables from oledbdataadapter] Pin
Eddy Vluggen5-Oct-12 1:34
memberEddy Vluggen5-Oct-12 1:34 
GeneralRe: OleDbException : SQL: Column 'Q0P2' is not found [update dbf free tables from oledbdataadapter] Pin
Paramu19735-Oct-12 2:10
memberParamu19735-Oct-12 2:10 
GeneralRe: OleDbException : SQL: Column 'Q0P2' is not found [update dbf free tables from oledbdataadapter] Pin
Eddy Vluggen5-Oct-12 2:13
memberEddy Vluggen5-Oct-12 2:13 
GeneralRe: OleDbException : SQL: Column 'Q0P2' is not found [update dbf free tables from oledbdataadapter] Pin
Paramu19735-Oct-12 2:23
memberParamu19735-Oct-12 2:23 
GeneralRe: OleDbException : SQL: Column 'Q0P2' is not found [update dbf free tables from oledbdataadapter] Pin
Eddy Vluggen5-Oct-12 2:24
memberEddy Vluggen5-Oct-12 2:24 
QuestionAssistence required with this spacific Program Pin
Cihangir Giray Han4-Oct-12 22:01
memberCihangir Giray Han4-Oct-12 22:01 
AnswerRe: Assistence required with this spacific Program Pin
Richard MacCutchan4-Oct-12 23:04
mvpRichard MacCutchan4-Oct-12 23:04 
AnswerRe: Assistence required with this spacific Program Pin
V.5-Oct-12 0:41
memberV.5-Oct-12 0:41 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150731.1 | Last Updated 2 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid