Click here to Skip to main content
15,895,557 members
Home / Discussions / C#
   

C#

 
QuestionConfig file in DLL C# projects Pin
ARol17-Apr-08 9:15
ARol17-Apr-08 9:15 
Generalthe problem write to file is still continuing:( Pin
wwwxyz17-Apr-08 8:52
wwwxyz17-Apr-08 8:52 
GeneralRe: the problem write to file is still continuing:( Pin
wwwxyz17-Apr-08 11:21
wwwxyz17-Apr-08 11:21 
GeneralRe: the problem write to file is still continuing:( Pin
BoneSoft17-Apr-08 11:49
BoneSoft17-Apr-08 11:49 
GeneralRe: the problem write to file is still continuing:( Pin
wwwxyz17-Apr-08 19:41
wwwxyz17-Apr-08 19:41 
GeneralRe: the problem write to file is still continuing:( Pin
wwwxyz17-Apr-08 19:59
wwwxyz17-Apr-08 19:59 
GeneralRe: the problem write to file is still continuing:( Pin
BoneSoft18-Apr-08 5:24
BoneSoft18-Apr-08 5:24 
GeneralDataTable remains empty on button finish click Pin
vanessa12317-Apr-08 8:21
vanessa12317-Apr-08 8:21 
this is the code

DataTable dt;

protected void Wizard1_NextButtonClick(object sender, WizardNavigationEventArgs e)
{
wsChattels.WebService ws = new wsChattels.WebService();
ws.Credentials = System.Net.CredentialCache.DefaultCredentials;

try
{
dt = this.GetCustomer();
DataRow dr = dt.NewRow();
dr[0] = txtUsername.Text;
dr[1] = txtfirstname.Text;
dr[2] = txtlastname.Text;
dr[3] = txtmobile.Text;
dr[4] = txttelephone.Text;
dr[5] = txtEmail.Text;
dt.Rows.Add(dr);

}
catch (Exception ie)
{
throw ie;
}
}

protected void Wizard1_FinishButtonClick(object sender, WizardNavigationEventArgs e)
{
wsChattels.WebService ws = new wsChattels.WebService();
ws.Credentials = System.Net.CredentialCache.DefaultCredentials;
int i = dt.Rows.Count;
try
{
DataTable dtProperty = this.GetProperty();
DataRow drProperty = dtProperty.NewRow();

int buyingtype = Convert.ToInt32(this.ddlBuyingType.SelectedValue);
int propertytype = Convert.ToInt32(this.ddlPropertyType.SelectedValue);
int townid = Convert.ToInt32(this.ddlTown.SelectedValue);

drProperty[0] = buyingtype;
drProperty[1] = txtPropertyName.Text;
drProperty[2] = propertytype;
drProperty[3] = townid;
drProperty[4] = txtPrice.Text;
drProperty[5] = txtDescription.Text;
dtProperty.Rows.Add(drProperty);

foreach (DataRow dr in dt.Rows)
{
ws.AddNewSubmitClient(dr[0].ToString(), dr[1].ToString(), dr[2].ToString(), dr[3].ToString(), dr[4].ToString(), dr[5].ToString());
}
}

can anyone help me pls
QuestionSpelling Test Pin
dennycrane17-Apr-08 7:37
dennycrane17-Apr-08 7:37 
GeneralRe: Spelling Test Pin
Edmundisme17-Apr-08 7:54
Edmundisme17-Apr-08 7:54 
GeneralRe: Spelling Test Pin
led mike17-Apr-08 8:00
led mike17-Apr-08 8:00 
GeneralRe: Spelling Test Pin
dennycrane17-Apr-08 8:00
dennycrane17-Apr-08 8:00 
GeneralRe: Spelling Test Pin
ChrisKo17-Apr-08 8:17
ChrisKo17-Apr-08 8:17 
GeneralRe: Spelling Test [modified] Pin
Edmundisme17-Apr-08 9:16
Edmundisme17-Apr-08 9:16 
GeneralRe: Spelling Test [modified] Pin
dennycrane17-Apr-08 9:37
dennycrane17-Apr-08 9:37 
GeneralRe: Spelling Test Pin
Edmundisme17-Apr-08 9:55
Edmundisme17-Apr-08 9:55 
GeneralRe: Spelling Test Pin
dennycrane17-Apr-08 10:19
dennycrane17-Apr-08 10:19 
GeneralRe: Spelling Test Pin
Edmundisme17-Apr-08 10:29
Edmundisme17-Apr-08 10:29 
GeneralRe: Spelling Test Pin
User 665817-Apr-08 10:32
User 665817-Apr-08 10:32 
GeneralRe: Spelling Test Pin
Luc Pattyn17-Apr-08 10:55
sitebuilderLuc Pattyn17-Apr-08 10:55 
QuestionEXE wont load Pin
Ashley Staggs17-Apr-08 7:36
Ashley Staggs17-Apr-08 7:36 
GeneralRe: EXE wont load Pin
Edmundisme17-Apr-08 7:51
Edmundisme17-Apr-08 7:51 
GeneralRe: EXE wont load Pin
Ashley Staggs17-Apr-08 10:07
Ashley Staggs17-Apr-08 10:07 
GeneralRe: EXE wont load Pin
Edmundisme17-Apr-08 10:18
Edmundisme17-Apr-08 10:18 
GeneralRe: EXE wont load Pin
Ashley Staggs17-Apr-08 10:23
Ashley Staggs17-Apr-08 10: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.