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

C#

 
GeneralRe: opening pdf file in windows application using c# Pin
Ed.Poore3-May-08 1:24
Ed.Poore3-May-08 1:24 
GeneralRe: opening pdf file in windows application using c# Pin
Ed.Poore3-May-08 1:26
Ed.Poore3-May-08 1:26 
AnswerRe: opening pdf file in windows application using c# Pin
Ed.Poore3-May-08 1:34
Ed.Poore3-May-08 1:34 
GeneralRe: opening pdf file in windows application using c# Pin
maruthi3-May-08 1:46
maruthi3-May-08 1:46 
QuestionHow to create new VPN Connection through C#.net Pin
Seema Gosain2-May-08 20:14
Seema Gosain2-May-08 20:14 
AnswerRe: How to create new VPN Connection through C#.net Pin
Christian Graus2-May-08 21:12
protectorChristian Graus2-May-08 21:12 
AnswerRe: How to create new VPN Connection through C#.net Pin
zeyad_aamer27-Jan-13 4:49
zeyad_aamer27-Jan-13 4:49 
Questionnot able 2 update in database Pin
sow_mj2-May-08 18:22
sow_mj2-May-08 18:22 
hi frnds,

i tried the foll code 4 updatin in db its gettin updated but the current value is not gettin updated in datagrid only the old value is present in txtbox.. please help..im attachin the followin code.


private void Update_DataGrid(object source, DataGridCommandEventArgs e)
{
TextBox tb;
TextBox tb1
tb = (TextBox) e.Item.Cells[1].Controls[1]; // if i put 1 in controls only then its wrkin in .NET 03(is it bcoz of tat??)
empname = tb.Text;
tb1 = (TextBox) e.Item.Cells[2].Controls[1];
city = tb1.Text;
SqlCommand myCommand = new SqlCommand("sp_update",conn);
command.CommandType = CommandType.StoredProcedure;
command.Parameters.Add(new SqlParameter("@empname",SqlDbType.VarChar,20));
command.Parameters.Add(new SqlParameter("@city",SqlDbType.VarChar,20));
command.Parameters["@empname"].Value = empname;
command.Parameters["@city"].Value = city;
connection.Open();
command.ExecuteNonQuery();
conn.Close();
Datagrid1.EditItemIndex = -1;
BindData();
}
AnswerRe: not able 2 update in database Pin
Christian Graus2-May-08 21:10
protectorChristian Graus2-May-08 21:10 
QuestionSaving text manipulated data Pin
Casper Hansen2-May-08 17:13
Casper Hansen2-May-08 17:13 
AnswerRe: Saving text manipulated data PinPopular
Christian Graus2-May-08 17:22
protectorChristian Graus2-May-08 17:22 
AnswerRe: Saving text manipulated data Pin
Casper Hansen3-May-08 2:37
Casper Hansen3-May-08 2:37 
AnswerRe: Saving text manipulated data Pin
Casper Hansen3-May-08 14:48
Casper Hansen3-May-08 14:48 
QuestionThreading events Pin
MarkB7772-May-08 16:56
MarkB7772-May-08 16:56 
AnswerRe: Threading events Pin
Christian Graus2-May-08 17:06
protectorChristian Graus2-May-08 17:06 
AnswerRe: Threading events Pin
Charith Jayasundara3-May-08 6:51
Charith Jayasundara3-May-08 6:51 
QuestionText bounds problem Pin
Richard Blythe2-May-08 10:47
Richard Blythe2-May-08 10:47 
AnswerRe: Text bounds problem Pin
Luc Pattyn2-May-08 12:05
sitebuilderLuc Pattyn2-May-08 12:05 
GeneralRe: Text bounds problem Pin
Richard Blythe3-May-08 4:12
Richard Blythe3-May-08 4:12 
GeneralRe: Text bounds problem Pin
Luc Pattyn3-May-08 4:31
sitebuilderLuc Pattyn3-May-08 4:31 
QuestionDynamic file reading Pin
ffowler2-May-08 9:45
ffowler2-May-08 9:45 
AnswerRe: Dynamic file reading Pin
PIEBALDconsult2-May-08 10:50
mvePIEBALDconsult2-May-08 10:50 
AnswerRe: Dynamic file reading Pin
Adeel Chaudhry2-May-08 11:13
Adeel Chaudhry2-May-08 11:13 
AnswerRe: Dynamic file reading Pin
Charith Jayasundara3-May-08 6:48
Charith Jayasundara3-May-08 6:48 
QuestionHelp with reading text files Pin
False Chicken2-May-08 9:38
False Chicken2-May-08 9:38 

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.