Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
AnswerRe: xpath not working Pin
Christian Graus14-Apr-07 1:09
protectorChristian Graus14-Apr-07 1:09 
QuestionProblem with refill of listview after removal in database Pin
henur13-Apr-07 23:48
henur13-Apr-07 23:48 
AnswerRe: Problem with refill of listview after removal in database Pin
Christian Graus14-Apr-07 0:12
protectorChristian Graus14-Apr-07 0:12 
henur wrote:
String xid = this.Katalog.Items[idx].SubItems[5].Text;
int tabortid = this.Katalog.Items[idx].Index;
clsReadKatalog.TaBortPost(xid); // DELETE FROM DATABASE


Wouldn't a proc that takes a collection of Ids to delete make more sense ? What is tabortid used for ?

henur wrote:
Lista.Items.Clear();
int x=0;
while (Reader.Read())
{
Lista.Items.Add(Convert.ToString(Reader["beskr"]));
Lista.Items[x].SubItems.Add(Convert.ToString(Reader["anv"]));
Lista.Items[x].SubItems.Add(Convert.ToString(Reader["pwd"]));
Lista.Items[x].SubItems.Add(Convert.ToString(Reader["privatekey"]));
Lista.Items[x].SubItems.Add(Convert.ToString(Reader["vektor"]));
Lista.Items[x].SubItems.Add(Convert.ToString(Reader["id"]));
x += 1;
}
Reader.Close();


If this pulls out data you thought you deleted, then you can't possibly have deleted it. Unless the reader was created before something was deleted, but that doesn't seem possible, either.



Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: Problem with refill of listview after removal in database Pin
henur14-Apr-07 3:32
henur14-Apr-07 3:32 
GeneralRe: Problem with refill of listview after removal in database Pin
Christian Graus14-Apr-07 13:37
protectorChristian Graus14-Apr-07 13:37 
GeneralRe: Problem with refill of listview after removal in database Pin
henur15-Apr-07 20:14
henur15-Apr-07 20:14 
Questionis any query (in sql server) that i can export data ? Pin
B.A13-Apr-07 23:26
B.A13-Apr-07 23:26 
AnswerRe: is any query (in sql server) that i can export data ? Pin
Colin Angus Mackay13-Apr-07 23:57
Colin Angus Mackay13-Apr-07 23:57 
QuestionSerialization problem Pin
NaNg1524113-Apr-07 23:19
NaNg1524113-Apr-07 23:19 
AnswerRe: Serialization problem Pin
Christian Graus14-Apr-07 0:17
protectorChristian Graus14-Apr-07 0:17 
GeneralRe: Serialization problem Pin
NaNg1524114-Apr-07 1:09
NaNg1524114-Apr-07 1:09 
GeneralRe: Serialization problem Pin
NaNg1524114-Apr-07 1:48
NaNg1524114-Apr-07 1:48 
QuestionHow to check whether my application running under ClickOnce Pin
pashitech13-Apr-07 22:43
pashitech13-Apr-07 22:43 
Questionnetwork stream to byte[] Pin
marwan_siala13-Apr-07 22:41
marwan_siala13-Apr-07 22:41 
AnswerRe: network stream to byte[] Pin
Christian Graus13-Apr-07 22:42
protectorChristian Graus13-Apr-07 22:42 
GeneralRe: network stream to byte[] Pin
marwan_siala13-Apr-07 22:51
marwan_siala13-Apr-07 22:51 
GeneralRe: network stream to byte[] Pin
Christian Graus14-Apr-07 0:05
protectorChristian Graus14-Apr-07 0:05 
GeneralRe: network stream to byte[] Pin
marwan_siala14-Apr-07 0:27
marwan_siala14-Apr-07 0:27 
QuestionEncoding error.. help guys:( Pin
Muammar©13-Apr-07 22:27
Muammar©13-Apr-07 22:27 
AnswerRe: Encoding error.. help guys:( Pin
Christian Graus13-Apr-07 22:41
protectorChristian Graus13-Apr-07 22:41 
GeneralRe: Encoding error.. help guys:( Pin
Muammar©13-Apr-07 22:51
Muammar©13-Apr-07 22:51 
GeneralRe: Encoding error.. help guys:( Pin
Christian Graus14-Apr-07 0:03
protectorChristian Graus14-Apr-07 0:03 
GeneralRe: Encoding error.. help guys:( Pin
Muammar©14-Apr-07 0:12
Muammar©14-Apr-07 0:12 
GeneralRe: Encoding error.. help guys:( Pin
Christian Graus14-Apr-07 0:14
protectorChristian Graus14-Apr-07 0:14 
GeneralRe: Encoding error.. help guys:( Pin
Muammar©14-Apr-07 0:23
Muammar©14-Apr-07 0:23 

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.