Click here to Skip to main content
15,909,498 members
Home / Discussions / C#
   

C#

 
AnswerRe: .NET module. How to Add to Client? Pin
S. Senthil Kumar8-Jul-05 20:22
S. Senthil Kumar8-Jul-05 20:22 
GeneralStreamReader Pin
Expert Coming8-Jul-05 15:22
Expert Coming8-Jul-05 15:22 
GeneralRe: StreamReader Pin
Guffa8-Jul-05 15:34
Guffa8-Jul-05 15:34 
GeneralRe: StreamReader Pin
Expert Coming8-Jul-05 15:39
Expert Coming8-Jul-05 15:39 
GeneralRe: StreamReader Pin
Guffa8-Jul-05 16:22
Guffa8-Jul-05 16:22 
GeneralRe: StreamReader Pin
Rob Graham8-Jul-05 16:26
Rob Graham8-Jul-05 16:26 
GeneralRe: StreamReader Pin
Javier Unamuno10-Jul-05 11:35
Javier Unamuno10-Jul-05 11:35 
GeneralError while insert DB Pin
Ronen Kfir8-Jul-05 11:44
Ronen Kfir8-Jul-05 11:44 
I'm trying to open a user with insert SQL query to Access. This is the statements:

string sqlCreateNewUser = "INSERT INTO usersTbl ( UserName, Password) " +
"VALUES (" + username.UserName+ ", " + username.Password + ")";
Think the eror derived from the class I wrote to user. This is the class:

public class user
{
private string username;
private long password;


public user(string username, long password)
{
this.username = username;
this.password = password;
}


///
/// Gets, Sets username.
///

public string UserName
{
get
{
return this.username;
}
set
{

this.username = value;
}
}

///
/// Gets password.
///

public long Password
{
get
{
return this.password;
}
set
{

this.password = value;
}
}

}

Please help me find the false.


BTW: sorry I don’t use indentation. Just couldn’t understand the tags system here...
Where would I find some info on it?

TIA,

Ronen
GeneralRe: Error while insert DB Pin
Guffa8-Jul-05 13:15
Guffa8-Jul-05 13:15 
GeneralRe: Error while insert DB Pin
Ronen Kfir8-Jul-05 20:28
Ronen Kfir8-Jul-05 20:28 
GeneralRe: Error while insert DB Pin
Guffa9-Jul-05 7:04
Guffa9-Jul-05 7:04 
GeneralRe: Error while insert DB Pin
sea#9-Jul-05 10:29
sea#9-Jul-05 10:29 
GeneralRe: Error while insert DB Pin
Rob Graham8-Jul-05 15:10
Rob Graham8-Jul-05 15:10 
GeneralEdit controls properties in other thead Pin
machocr8-Jul-05 10:30
machocr8-Jul-05 10:30 
GeneralRe: Edit controls properties in other thead Pin
Rob Graham8-Jul-05 15:32
Rob Graham8-Jul-05 15:32 
GeneralDataGrid---UpdateCommand... problem... Pin
just4ulove78-Jul-05 10:15
just4ulove78-Jul-05 10:15 
GeneralRe: DataGrid---UpdateCommand... problem... Pin
Snowblind379-Jul-05 7:30
Snowblind379-Jul-05 7:30 
GeneralList definition in C# Pin
zaboboa8-Jul-05 9:07
zaboboa8-Jul-05 9:07 
GeneralRe: List definition in C# Pin
Stefan Troschuetz8-Jul-05 9:38
Stefan Troschuetz8-Jul-05 9:38 
GeneralRe: List definition in C# Pin
zaboboa8-Jul-05 9:41
zaboboa8-Jul-05 9:41 
GeneralRe: List definition in C# Pin
Stefan Troschuetz8-Jul-05 10:03
Stefan Troschuetz8-Jul-05 10:03 
GeneralRe: List definition in C# Pin
Snowblind379-Jul-05 8:01
Snowblind379-Jul-05 8:01 
GeneralSearch & replacing values in Xml Pin
breen258-Jul-05 9:05
breen258-Jul-05 9:05 
GeneralMDI child can't close itself Pin
Luis Alonso Ramos8-Jul-05 9:00
Luis Alonso Ramos8-Jul-05 9:00 
GeneralRe: MDI child can't close itself Pin
Snowblind379-Jul-05 8:24
Snowblind379-Jul-05 8:24 

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.