Click here to Skip to main content
15,894,720 members
Home / Discussions / C#
   

C#

 
GeneralRe: Icon Change for Components Pin
Abhijit Jana15-Nov-07 20:23
professionalAbhijit Jana15-Nov-07 20:23 
QuestionGetting the icon from an ftp-file Pin
Johan Martensson15-Nov-07 13:44
Johan Martensson15-Nov-07 13:44 
AnswerRe: Getting the icon from an ftp-file Pin
mav.northwind15-Nov-07 19:15
mav.northwind15-Nov-07 19:15 
GeneralRe: Getting the icon from an ftp-file Pin
Johan Martensson16-Nov-07 0:33
Johan Martensson16-Nov-07 0:33 
QuestionDelete from a database Pin
Steauaclau15-Nov-07 13:33
Steauaclau15-Nov-07 13:33 
AnswerRe: Delete from a database Pin
Not Active15-Nov-07 14:41
mentorNot Active15-Nov-07 14:41 
AnswerRe: Delete from a database Pin
Xmen Real 15-Nov-07 15:20
professional Xmen Real 15-Nov-07 15:20 
AnswerRe: Delete from a database Pin
KennyPatel15-Nov-07 21:59
KennyPatel15-Nov-07 21:59 
Rose | [Rose] Hi.

To delete the row from table by pressing button with selected value from GridView:

protected void btDelete_Click(object sender, EventArgs e)
{
GridViewRow gvr = GridView1.SelectedRow;
con.Open();
cmd = new SqlCommand("<stored procedure="" name="">", <sqlconnection object="">);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Add(new SqlParameter("@xID <procedure parameter="">", SqlDbType.VarChar));
cmd.Parameters[0].Value = gvr.Cells[<cell id="">].Text;
cmd.ExecuteNonQuery();
}
Thanks Wish Helps U. Poke tongue | ;-P

Good Thing Goes With Good Guys.........

QuestionTreeView and SelectedItemChanged Pin
Jeffrey Walton15-Nov-07 12:02
Jeffrey Walton15-Nov-07 12:02 
AnswerRe: TreeView and SelectedItemChanged Pin
Luc Pattyn15-Nov-07 12:14
sitebuilderLuc Pattyn15-Nov-07 12:14 
GeneralRe: TreeView and SelectedItemChanged Pin
Jeffrey Walton15-Nov-07 13:38
Jeffrey Walton15-Nov-07 13:38 
GeneralRe: TreeView and SelectedItemChanged Pin
Luc Pattyn15-Nov-07 14:05
sitebuilderLuc Pattyn15-Nov-07 14:05 
GeneralRe: TreeView and SelectedItemChanged Pin
Anthony Mushrow15-Nov-07 14:09
professionalAnthony Mushrow15-Nov-07 14:09 
GeneralRe: TreeView and SelectedItemChanged Pin
Luc Pattyn15-Nov-07 14:46
sitebuilderLuc Pattyn15-Nov-07 14:46 
QuestionHelp - using legacy OCX controls with C#.NET Pin
wmc_mit15-Nov-07 10:55
wmc_mit15-Nov-07 10:55 
QuestionMessageBox Pin
kingletas15-Nov-07 10:15
kingletas15-Nov-07 10:15 
AnswerRe: MessageBox Pin
Guffa15-Nov-07 10:39
Guffa15-Nov-07 10:39 
GeneralRe: MessageBox Pin
kingletas15-Nov-07 11:14
kingletas15-Nov-07 11:14 
AnswerRe: MessageBox Pin
Giorgi Dalakishvili15-Nov-07 19:46
mentorGiorgi Dalakishvili15-Nov-07 19:46 
QuestionIs strongly typed database code worth it? It's giving me a headache! Pin
MattPenner15-Nov-07 8:56
MattPenner15-Nov-07 8:56 
AnswerRe: Is strongly typed database code worth it? It's giving me a headache! Pin
Judah Gabriel Himango15-Nov-07 9:35
sponsorJudah Gabriel Himango15-Nov-07 9:35 
GeneralRe: Is strongly typed database code worth it? It's giving me a headache! Pin
led mike15-Nov-07 9:52
led mike15-Nov-07 9:52 
JokeRe: Is strongly typed database code worth it? It's giving me a headache! Pin
Judah Gabriel Himango15-Nov-07 10:29
sponsorJudah Gabriel Himango15-Nov-07 10:29 
GeneralRe: Is strongly typed database code worth it? It's giving me a headache! Pin
led mike15-Nov-07 11:34
led mike15-Nov-07 11:34 
GeneralRe: Is strongly typed database code worth it? It's giving me a headache! Pin
Pete O'Hanlon15-Nov-07 10:06
mvePete O'Hanlon15-Nov-07 10:06 

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.