Click here to Skip to main content
16,006,845 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Insert textfile to be table in sql by c# Pin
SeMartens16-Apr-09 21:16
SeMartens16-Apr-09 21:16 
GeneralRe: How to Insert textfile to be table in sql by c# Pin
Rakurai17-Apr-09 22:41
Rakurai17-Apr-09 22:41 
AnswerRe: How to Insert textfile to be table in sql by c# Pin
Rajesh Anuhya16-Apr-09 21:40
professionalRajesh Anuhya16-Apr-09 21:40 
QuestionDo you compile the C# project using VS.net IDE Pin
Fired.Fish.Gmail16-Apr-09 20:15
Fired.Fish.Gmail16-Apr-09 20:15 
AnswerRe: Do you compile the C# project using VS.net IDE Pin
Ashfield16-Apr-09 20:53
Ashfield16-Apr-09 20:53 
AnswerRe: Do you compile the C# project using VS.net IDE Pin
Pete O'Hanlon16-Apr-09 22:42
mvePete O'Hanlon16-Apr-09 22:42 
GeneralRe: Do you compile the C# project using VS.net IDE Pin
Fired.Fish.Gmail20-Apr-09 20:54
Fired.Fish.Gmail20-Apr-09 20:54 
QuestionOpen form from another form Pin
piticcotoc16-Apr-09 20:10
piticcotoc16-Apr-09 20:10 
Hy,
I'm designing an application that accesses SQL Server from C#. I have a form that runs first where i select the sql server and database. When i click a button it's should assign the hostname and database for the connection string, close and open another form (the main application). The problem is when the select form closes, the main form appears for 1 sec and then the whole application closes. I've ran the app step by step, everything is ok, the variables are assigned but it automaticly calls the dispose method for the second form.

This is the code from the first form that runs at app start (selectserver form)
private void btnSelectServer_Click(object sender, EventArgs e)
{
   <<assign values from control boxes>>
   frmMain main = new frmMain();
   main.Show();
   this.Close();
}

AnswerRe: Open form from another form Pin
Mbah Dhaim16-Apr-09 21:00
Mbah Dhaim16-Apr-09 21:00 
GeneralRe: Open form from another form Pin
piticcotoc16-Apr-09 22:21
piticcotoc16-Apr-09 22:21 
GeneralRe: Open form from another form Pin
Mbah Dhaim17-Apr-09 1:18
Mbah Dhaim17-Apr-09 1:18 
AnswerRe: Open form from another form Pin
daiduongbk17-Apr-09 2:34
daiduongbk17-Apr-09 2:34 
Questionhow to implement inventory control if using ORM? Pin
calendarw16-Apr-09 19:39
calendarw16-Apr-09 19:39 
AnswerRe: how to implement inventory control if using ORM? Pin
SeMartens16-Apr-09 21:09
SeMartens16-Apr-09 21:09 
GeneralRe: how to implement inventory control if using ORM? Pin
calendarw17-Apr-09 4:45
calendarw17-Apr-09 4:45 
QuestionI need help with how to make space between the lines of code Pin
john231316-Apr-09 19:25
john231316-Apr-09 19:25 
AnswerRe: I need help with how to make space between the lines of code Pin
_Maxxx_16-Apr-09 19:45
professional_Maxxx_16-Apr-09 19:45 
AnswerRe: I need help with how to make space between the lines of code Pin
Christian Graus16-Apr-09 19:46
protectorChristian Graus16-Apr-09 19:46 
AnswerRe: I need help with how to make space between the lines of code Pin
Christian Graus16-Apr-09 19:46
protectorChristian Graus16-Apr-09 19:46 
GeneralRe: I need help with how to make space between the lines of code Pin
MumbleB16-Apr-09 20:01
MumbleB16-Apr-09 20:01 
AnswerRe: I need help with how to make space between the lines of code Pin
shashank70116-Apr-09 22:25
shashank70116-Apr-09 22:25 
QuestionSerialise Additional Members in a class inherited from collectionbase Pin
Big Star16-Apr-09 17:30
Big Star16-Apr-09 17:30 
AnswerRe: Serialise Additional Members in a class inherited from collectionbase Pin
Henry Minute17-Apr-09 1:45
Henry Minute17-Apr-09 1:45 
Questioni want execute my c# login exe without windows log in Pin
prakashamnkl16-Apr-09 17:14
prakashamnkl16-Apr-09 17:14 
AnswerRe: i want execute my c# login exe without windows log in Pin
Christian Graus16-Apr-09 17:19
protectorChristian Graus16-Apr-09 17:19 

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.