Click here to Skip to main content
15,895,740 members
Home / Discussions / C#
   

C#

 
AnswerRe: interface implementation Pin
Roger Alsing3-May-08 2:28
Roger Alsing3-May-08 2:28 
GeneralRe: interface implementation Pin
George_George3-May-08 2:31
George_George3-May-08 2:31 
AnswerRe: interface implementation Pin
snorkie3-May-08 2:30
professionalsnorkie3-May-08 2:30 
GeneralRe: interface implementation Pin
George_George3-May-08 2:33
George_George3-May-08 2:33 
GeneralRe: interface implementation Pin
snorkie3-May-08 2:41
professionalsnorkie3-May-08 2:41 
GeneralRe: interface implementation Pin
George_George3-May-08 2:43
George_George3-May-08 2:43 
AnswerRe: interface implementation Pin
tgrt3-May-08 14:51
tgrt3-May-08 14:51 
GeneralRe: interface implementation Pin
George_George3-May-08 18:15
George_George3-May-08 18:15 
GeneralRe: interface implementation Pin
tgrt4-May-08 4:07
tgrt4-May-08 4:07 
QuestionA static riddle (or: how to avoid lazy instantiation?) Pin
Luca Leonardo Scorcia3-May-08 1:45
professionalLuca Leonardo Scorcia3-May-08 1:45 
AnswerRe: A static riddle (or: how to avoid lazy instantiation?) Pin
carbon_golem3-May-08 4:15
carbon_golem3-May-08 4:15 
Questionopening pdf file in windows application using c# Pin
maruthi2-May-08 23:50
maruthi2-May-08 23:50 
AnswerRe: opening pdf file in windows application using c# Pin
Ed.Poore2-May-08 23:59
Ed.Poore2-May-08 23:59 
GeneralRe: opening pdf file in windows application using c# Pin
maruthi3-May-08 0:29
maruthi3-May-08 0:29 
GeneralRe: opening pdf file in windows application using c# Pin
Ed.Poore3-May-08 0:49
Ed.Poore3-May-08 0:49 
GeneralRe: opening pdf file in windows application using c# Pin
maruthi3-May-08 1:10
maruthi3-May-08 1:10 
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 

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.