Click here to Skip to main content
15,922,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: event extender providers? Pin
TheShaver20-Jun-07 5:14
TheShaver20-Jun-07 5:14 
AnswerRe: event extender providers? Pin
Martin#20-Jun-07 4:57
Martin#20-Jun-07 4:57 
GeneralRe: event extender providers? Pin
TheShaver20-Jun-07 5:11
TheShaver20-Jun-07 5:11 
AnswerRe: event extender providers? Pin
Martin#20-Jun-07 5:07
Martin#20-Jun-07 5:07 
GeneralRe: event extender providers? Pin
TheShaver20-Jun-07 5:20
TheShaver20-Jun-07 5:20 
GeneralRe: event extender providers? Pin
Martin#20-Jun-07 5:23
Martin#20-Jun-07 5:23 
QuestionAnyone know of a web service like this? Pin
gantww20-Jun-07 4:30
gantww20-Jun-07 4:30 
AnswerRe: Anyone know of a web service like this? Pin
nateraaaa20-Jun-07 6:06
nateraaaa20-Jun-07 6:06 
QuestionTaking control of an already running process.. Pin
Ylno20-Jun-07 4:26
Ylno20-Jun-07 4:26 
AnswerRe: Taking control of an already running process.. Pin
Martin#20-Jun-07 4:29
Martin#20-Jun-07 4:29 
QuestionError in Web.Config page Pin
shyamts20-Jun-07 3:59
shyamts20-Jun-07 3:59 
AnswerRe: Error in Web.Config page Pin
Manas Bhardwaj20-Jun-07 4:02
professionalManas Bhardwaj20-Jun-07 4:02 
AnswerRe: Error in Web.Config page Pin
Not Active20-Jun-07 4:28
mentorNot Active20-Jun-07 4:28 
GeneralRe: Error in Web.Config page Pin
shyamts20-Jun-07 17:05
shyamts20-Jun-07 17:05 
GeneralTimer not firing Pin
hairy_hats20-Jun-07 3:56
hairy_hats20-Jun-07 3:56 
AnswerRe: Timer not firing Pin
Martin#20-Jun-07 4:00
Martin#20-Jun-07 4:00 
GeneralRe: Timer not firing Pin
hairy_hats20-Jun-07 4:24
hairy_hats20-Jun-07 4:24 
GeneralRe: Timer not firing Pin
Martin#20-Jun-07 4:26
Martin#20-Jun-07 4:26 
GeneralRe: Timer not firing Pin
hairy_hats20-Jun-07 4:56
hairy_hats20-Jun-07 4:56 
GeneralRe: Timer not firing Pin
Martin#20-Jun-07 5:02
Martin#20-Jun-07 5:02 
GeneralRe: Timer not firing Pin
Luc Pattyn20-Jun-07 4:00
sitebuilderLuc Pattyn20-Jun-07 4:00 
Questionhow can I save the affix? Pin
lockepeak20-Jun-07 3:54
lockepeak20-Jun-07 3:54 
I create a project with C# lauguage in structure C/s
I want to save a affix to the oracle database, the affix format is doc txt and others
when I open it in another computer it can not be opened. what is problem?
what can I do?
the code is:

if (tbContent1.Text!="")
{
string FileName=this.tbContent1.Text.ToString().Trim();
FileStream fs=new FileStream(FileName,FileMode.OpenOrCreate,FileAccess.Read);
byte[] MyData=new byte[fs.Length];
fs.Read(MyData,0,(int)fs.Length);
fs.Close();
ds=link.SelectDataBase("select * from BuleAffiB","temptable");
DataRow MyRow=ds.Tables[0].NewRow();
MyRow["affixname"]=FileName;
MyRow["sequeno"]=SequeNo;
MyRow["affcontent"]=MyData;
ds.Tables[0].Rows.Add(MyRow);
ds=link.UpdateDataBase(this.ds,"temptable");
}

string strSQL="insert into NewsB (title,launcher,launchdate,content,mem,sequeno,validdays,validrange,importance) values ('"+CurrentTitle+"','"+CurrentLauncher+"',to_date('"+CurrentDate+"','YYYY-MM-DD HH24:MI:SS'),'"+CurrentContent+"','"+CurrentMem+"','"+SequeNo+"','"+CurrentValidDays+"','"+CurrentValidRange+"','"+Currentimportance+"')";
//insert a record try
{
if (link.ExecuteUpdate(strSQL)>0)
{
MessageBox.Show("succssful!","showMEssage",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
link.Dispose();
Questionhow to get next record Pin
srinivassam20-Jun-07 3:50
srinivassam20-Jun-07 3:50 
AnswerRe: how to get next record Pin
Manas Bhardwaj20-Jun-07 3:58
professionalManas Bhardwaj20-Jun-07 3:58 
AnswerRe: how to get next record Pin
lockepeak20-Jun-07 3:58
lockepeak20-Jun-07 3:58 

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.