Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

TWatson47

@TWatson47
About
Posts
10
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • if statements
    T TWatson47

    Thanks for you help. That is excactly how I had it coded, I just wasn't sure why I was having the problems. I even tried using bool mem = false; if(mem) {... } else {... } and it did the same thing.

    C# question

  • if statements
    T TWatson47

    I am new to C# I use to write in C++. Your idea looked good, however, I am still having the same problem. I am still get a false reaction even though it is true. I am getting a read out of "not selected" when it should be the members info. Any suggestions, it looked like you where on the right path. Thanks for the help

    C# question

  • if statements
    T TWatson47

    ok, I will try to explain a little better. I have created some forms that say for instance a new member comes into a bank and want a loan. When the Agent puts there info into a build it is then saved to a server(database). The Idea is to have there info pull up with the selected loan form that they are wanting. Say for instance a auto loan. I have been able to pull the form with there info on it fine. However, I wanted to add some logic in place that looks to see if there is a joint member. If there is then hit all the tables requesting the joint information and load to the form. My problem is that when I set the variable, say for instance Jmem = 0, even if there is a joint member it comes up as false, and gives the else statement. My question is what do I need to add to the previous if statement that will except the joint member as true. The same if for beneficiary also. I hope this helps in understanding Thanks

    C# question

  • if statements
    T TWatson47

    when I set the values to 0 or 1, it is like I am forcing the statement to be true or false. Like if there is no joint member, I would like it to be false and use the else statement. If there is a joint member I would like it to be true and use the if statement. How should write the code to allow the selection to come from when they input the criteria. Thanks so much for your help and speedy response

    C# question

  • if statements
    T TWatson47

    I am trying to right an if statement for a project that pulls data from a table. like for instancte I have int Mem = 0; if (Mem ==1)//for true { lbMember.text = applicant.getfname() +" "+ applicant.getlname(); lbAdd.Text = address.getAddress(); } else lbMember.text = "not selected"; } when I use int Mem = 0; I will get the else statement when I use int Mem = 1; then I get the if selection how do I get it to make the selection of choice from where the data is put in. Thanks in advance

    C# question

  • object reference not set to an instance of the object
    T TWatson47

    lbDLN.Text = applicant.getAppId() +"/"+ address.getState().ToUpper();

    C# database help

  • object reference not set to an instance of the object
    T TWatson47

    I am trying to pull data from a DB and have it prefill a form when the form is pulled up. Here is a little snippet of code that I am using. I am getting a handling error (in subject line) public static string[] FormArgs; public static DESClient.DESClientConnection conn; private DESClient.DESApplicant applicant; private string primedln = String.Empty; int x = 0; foreach(string arg in FormArgs) {switch( x ) {case 4: primedln = arg; break;} x += 1; } applicant = new DESClient.DESApplicant(conn); applicant.setAppID(Convert.ToInt32 (primedln) ); lbName.Text = applicant.getLname()+", "+ applicant.getFname()+" "+ applicant.getMname()+"."; lbDLN.Text = applicant.getAppId() +"/"+ address.getState().ToUpper(); static void Main(string[] args) { Form1.FormArgs = args; Application.Run(new Form1()); }

    C# database help

  • printing a populated form
    T TWatson47

    I am creating a windows application from a pdf. Actually I am bringing a pdf document into a windows form as a background image and adding controls to be able to populate the form from a database. My goal is to be able to print a copy of the populated form and then save it as a pdf. Does anyone have an idea on how I can do this. Print the form or save as a pdf. Thanks in advance!

    C# database

  • printing forms
    T TWatson47

    I am creating a form from a pdf and it is to draw material from a database to populate the form. Then I need to be able to print or save to a pdf.

    C# question

  • printing forms
    T TWatson47

    what is the best way to print a windows application form.

    C# question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups