jmeckley - you missed the point I think.
Generally when you are trying to work with data - you start by getting a list of the data. You don't guess at the indexes.
Start by getting the indexes using SQL and dumping it into a DataTable using the advice provided by Jason. Something like...
There are really 2 ways to handle the callback to a thread.
1. Use Invoke() on a delegate that you create in your main class. Google Delegates C#.
2. Use an Event - when the event is to be thrown you are basically invoking your event from the new thread. This is very similar to the first...
You are missing Jason's point...
Your database has an id that links to a State but in your class - oo design suggests that you should not pass back the ID but instead pass back the object that it is related to.
True OO design allows the business layer to not care where the information comes...
Do you know what fields you are looking for on each page?
You should be able to take the document itself from the browser control and perform actions on it. You are going to be dealing with unmanaged items (the html document) and working with it directly. You have to be a bit careful when you...
Try capturing the SelectedValueChanged event and then set your value based on the new SelectedIndex.
ComboBoxes are functionally dumb controls.
http://www.ubuntu.com/
start with the WebBrowser control and the browse's Document property.
This will provide you access to the page itself.
http://msdn.microsoft.com/en-us/library/ms171711.aspx
Be sure to call Dispose() on your WebBrowser control when you are done with it as it is unmanaged-resource intensive...
the DataRow is an array of objects. You tried to use an integer as a string in this case because r["SF_State"] contains an integer.
The object type is dependent on the Column type in the database.
http://www.ubuntu.com/
textBoxAddress.Text = r["SF_State"].ToString();
My guess is that you have a State table and you are linking to it in the address. You are in this case expecting an integer ID rather than the state's name...
http://www.ubuntu.com/
Any locking down of a network should be done by your IT department - probably based on WPA encryption and MAC Address. If you need your program to authenticate to a server then that's a different issue. You have to decide what type of application you're creating...
Web Application?
PDA Forms...
The PDA OS should take care of connecting for you - you shouldn't care!
Just utilize the System.Net classes to use the connection from your code.
http://www.ubuntu.com/
I would guess that depends on 3 things...
1. Where you live since laws are different everwhere
2. Who's .net assembly you are trying to reflect
3. If you are trying to use someone elses assembly with their knowledge, consent, and/or license agreement or if you are simply trying to reverse...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.