Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
GeneralRe: Invoking a method using its 'string' name Pin
PozzaVecia26-Oct-12 9:01
PozzaVecia26-Oct-12 9:01 
AnswerRe: Invoking a method using its 'string' name Pin
Clifford Nelson26-Oct-12 9:03
Clifford Nelson26-Oct-12 9:03 
AnswerRe: Invoking a method using its 'string' name Pin
BobJanova29-Oct-12 0:42
BobJanova29-Oct-12 0:42 
QuestionUnexpected naming of client for a WCF service Pin
Tridip Bhattacharjee26-Oct-12 7:17
professionalTridip Bhattacharjee26-Oct-12 7:17 
AnswerRe: Unexpected naming of client for a WCF service Pin
Richard MacCutchan26-Oct-12 7:47
mveRichard MacCutchan26-Oct-12 7:47 
AnswerRe: Unexpected naming of client for a WCF service Pin
Ravi Bhavnani26-Oct-12 8:56
professionalRavi Bhavnani26-Oct-12 8:56 
GeneralRe: Unexpected naming of client for a WCF service Pin
Tridip Bhattacharjee26-Oct-12 9:34
professionalTridip Bhattacharjee26-Oct-12 9:34 
GeneralRe: Unexpected naming of client for a WCF service Pin
Ravi Bhavnani26-Oct-12 9:43
professionalRavi Bhavnani26-Oct-12 9:43 
GeneralRe: Unexpected naming of client for a WCF service Pin
Tridip Bhattacharjee26-Oct-12 9:59
professionalTridip Bhattacharjee26-Oct-12 9:59 
AnswerRe: Unexpected naming of client for a WCF service Pin
Russell Bill26-Oct-12 11:47
Russell Bill26-Oct-12 11:47 
QuestionReading from XML file Pin
gibsray26-Oct-12 5:32
gibsray26-Oct-12 5:32 
AnswerRe: Reading from XML file Pin
Ravi Bhavnani26-Oct-12 5:47
professionalRavi Bhavnani26-Oct-12 5:47 
AnswerRe: Reading from XML file Pin
fjdiewornncalwe26-Oct-12 6:09
professionalfjdiewornncalwe26-Oct-12 6:09 
AnswerRe: Reading from XML file Pin
Clifford Nelson26-Oct-12 8:56
Clifford Nelson26-Oct-12 8:56 
AnswerRe: Reading from XML file Pin
gopal pradhan8-Nov-12 23:30
gopal pradhan8-Nov-12 23:30 
QuestionReflection and Linq Extension Methods Pin
Gustavo Ushijima26-Oct-12 3:53
Gustavo Ushijima26-Oct-12 3:53 
AnswerRe: Reflection and Linq Extension Methods Pin
onelopez26-Oct-12 4:19
onelopez26-Oct-12 4:19 
QuestionPrinting Automatically When A Particular Event Occurs Pin
Matt U.26-Oct-12 3:43
Matt U.26-Oct-12 3:43 
AnswerRe: Printing Automatically When A Particular Event Occurs Pin
Eddy Vluggen26-Oct-12 4:48
professionalEddy Vluggen26-Oct-12 4:48 
GeneralRe: Printing Automatically When A Particular Event Occurs Pin
Matt U.26-Oct-12 6:54
Matt U.26-Oct-12 6:54 
GeneralRe: Printing Automatically When A Particular Event Occurs Pin
Matt U.26-Oct-12 7:36
Matt U.26-Oct-12 7:36 
AnswerRe: Printing Automatically When A Particular Event Occurs Pin
Clifford Nelson26-Oct-12 9:02
Clifford Nelson26-Oct-12 9:02 
QuestionADO.NET 4 SqlConnection SqlDataAdapter Pin
devvvy25-Oct-12 23:34
devvvy25-Oct-12 23:34 
I'm having a problem ...
<br />
DataTable GetSomeData()<br />
{<br />
    DataTable dtResult = null;<br />
    IDbCommand Cmd = new SqlCommand(SQL, OldSqlConn);<br />
    DataAdapter da = new DataAdapter(Cmd);<br />
    DataSet ResultSet = new DataSet();<br />
    da.Fill(ResultSet);<br />
<br />
    if(ResultSet!=null)<br />
    {<br />
        dtResult = ResultSet.Tables(0);<br />
        foreach(DataRow rw in dtResult.Rows)<br />
        {<br />
           if(SomeConditionMet) {<br />
              rw["SomeCol"] = xxxxx; << Blows up here saying Column 'SomeCol' does not belong to table ABC (But I'm quite confident SomeCol is a column which should be returned by the SQL query... wondering if it's any issue with ADO.NET SqlConn caching or if OldSqlConn has any stale data at one point during the night app loses database connection or something... confused as I can't reproduce this on debugger and it happens only once in a month)<br />
           }<br />
        }<br />
     }<br />
<br />
    return dtResult;<br />
}<br />

dev

AnswerRe: ADO.NET 4 SqlConnection SqlDataAdapter Pin
Deflinek25-Oct-12 23:43
Deflinek25-Oct-12 23:43 
AnswerRe: ADO.NET 4 SqlConnection SqlDataAdapter Pin
Pete O'Hanlon25-Oct-12 23:55
mvePete O'Hanlon25-Oct-12 23:55 

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.