Click here to Skip to main content
15,884,629 members
Home / Discussions / C#
   

C#

 
QuestionAccessing Non-Public Members [modified] Pin
John Jak22-Sep-09 20:15
John Jak22-Sep-09 20:15 
QuestionSkins in C# Pin
vivasaayi22-Sep-09 19:11
vivasaayi22-Sep-09 19:11 
AnswerRe: Skins in C# Pin
egenis22-Sep-09 19:25
egenis22-Sep-09 19:25 
GeneralRe: Skins in C# Pin
vivasaayi22-Sep-09 19:52
vivasaayi22-Sep-09 19:52 
GeneralRe: Skins in C# Pin
Ravi Mori22-Sep-09 20:00
Ravi Mori22-Sep-09 20:00 
GeneralRe: Skins in C# Pin
vivasaayi22-Sep-09 20:33
vivasaayi22-Sep-09 20:33 
GeneralRe: Skins in C# Pin
egenis22-Sep-09 20:36
egenis22-Sep-09 20:36 
QuestionNeed help with updating SQL server express DB from c# Pin
Mark-12345678922-Sep-09 16:15
Mark-12345678922-Sep-09 16:15 
Please can anyone help with:-

1 How to structure the strSelect statement.
2 How to instruct the cn, da, cb, tb etc to go and get on with it.

                           private void btnSaveAllChangesMadeToAllLogsSoFar_Click(object sender, EventArgs e)
                           {
                                       string strSelect = "UPDATE INTO dbo.tblQLs WHERE colErrByUserID = '" +
                                                                                                            LoginForm.gb_strUserID + "' ";

                                       SqlConnection cn = new SqlConnection(LoginForm.gb_strConnection);
                                       SqlDataAdapter daTblQLs = new SqlDataAdapter(strSelect, LoginForm.gb_strConnection);
                                       SqlCommandBuilder cb = new SqlCommandBuilder(daTblQLs);

                                       cb.GetUpdateCommand();
                                       daTblQLs.Update(gl_Dataset.ds, "tblQLs");
                                      
                                       cn.Close();
                           }

Thank you for your help.

Mark
Answerrepost Pin
Luc Pattyn22-Sep-09 16:29
sitebuilderLuc Pattyn22-Sep-09 16:29 
AnswerRe: Need help with updating SQL server express DB from c# Pin
Michael Eber22-Sep-09 18:53
Michael Eber22-Sep-09 18:53 
GeneralRe: Need help with updating SQL server express DB from c# Pin
Mark-12345678923-Sep-09 2:43
Mark-12345678923-Sep-09 2:43 
GeneralRe: Need help with updating SQL server express DB from c# Pin
PIEBALDconsult23-Sep-09 5:12
mvePIEBALDconsult23-Sep-09 5:12 
GeneralRe: Need help with updating SQL server express DB from c# - Done IT! Pin
Mark-12345678924-Sep-09 9:02
Mark-12345678924-Sep-09 9:02 
GeneralRe: Need help with updating SQL server express DB from c# - Done IT! Pin
PIEBALDconsult24-Sep-09 9:23
mvePIEBALDconsult24-Sep-09 9:23 
GeneralRe: Need help with updating SQL server express DB from c# - Done IT! Pin
Mark-12345678924-Sep-09 9:29
Mark-12345678924-Sep-09 9:29 
GeneralRe: Need help with updating SQL server express DB from c# - Done IT! Pin
PIEBALDconsult24-Sep-09 9:44
mvePIEBALDconsult24-Sep-09 9:44 
Questionhow to make check of a value in a textbox is integer or string? Pin
bounik22-Sep-09 13:41
bounik22-Sep-09 13:41 
AnswerRe: how to make check of a value in a textbox is integer or string? Pin
Wes Aday22-Sep-09 13:44
professionalWes Aday22-Sep-09 13:44 
GeneralRe: how to make check of a value in a textbox is integer or string? Pin
bounik22-Sep-09 14:16
bounik22-Sep-09 14:16 
AnswerRe: how to make check of a value in a textbox is integer or string? Pin
Luc Pattyn22-Sep-09 14:16
sitebuilderLuc Pattyn22-Sep-09 14:16 
GeneralRe: how to make check of a value in a textbox is integer or string? Pin
bounik22-Sep-09 14:17
bounik22-Sep-09 14:17 
GeneralRe: how to make check of a value in a textbox is integer or string? Pin
jdhforever22-Sep-09 21:36
jdhforever22-Sep-09 21:36 
AnswerRe: how to make check of a value in a textbox is integer or string? Pin
PIEBALDconsult22-Sep-09 15:39
mvePIEBALDconsult22-Sep-09 15:39 
QuestionSerialization of objects IPHostEntry Pin
FJJCENTU22-Sep-09 12:55
FJJCENTU22-Sep-09 12:55 
Question[Message Deleted] Pin
Mark-12345678922-Sep-09 12:33
Mark-12345678922-Sep-09 12:33 

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.