21 Topics

Member Avatar for
Member Avatar for TheGuy831

Hi Im trying to Populate my datagridview from data scraped off of webpage i Want to be able to report progress when datagrid finished updating.. with a progressbar.. Please Help!!!!!! Thank You.. Heres My code Dim theElementCollection As Windows.Forms.HtmlElementCollection theElementCollection = Form1.WebBrowser2.Document.GetElementsByTagName("a") For Each curElement As HtmlElement In theElementCollection Form1.DataGridView1.Rows.Add(curElement.GetAttribute("title"), …

Member Avatar for TheGuy831
0
3K
Member Avatar for chemistcorey

Hi- I am creating a basic form that posts data to a mySQL database. One of my tables, called "sites", contains the following information: site_name, site_id. I have created a dynamic dropdown menu of the sites (so the dropdown menu references the table "sites" to display all site names in …

Member Avatar for iamthwee
0
1K
Member Avatar for grafic.web

Hi there, Once i am on my second page where i have open the record from the database with my id record, how can i populate my textboxes with the values of my record? And ho can i populate a select with another table containig the type of user by …

Member Avatar for grafic.web
0
234
Member Avatar for LRNPHP

Hi Everyone Could someone assist me in a PHP / MySQL dropdown select menu. I want to pull info from my DB and display it, then when I select the option it need's to reload screen and add a second drop down select menu. When I select the 2nd one …

Member Avatar for amaz4u
0
2K
Member Avatar for khair.ullah

hi all. I want to fill the Listview from a mssql database in vb.net but it not show all the data in Listview. I have the followning code. Dim sSQL As String Dim lvwItem As New ListViewItem() sSQL = "SELECT field1, field2, field3 FROM tablenam e " sSQL = sSQL …

Member Avatar for evadehawkeye07
0
6K
Member Avatar for scholarwithfire

Hello guys, i want to populate a textbox based on the selected index of a combobox. For example, the textbox will only be displayed if the selected index is "5". But the problem is, i generate a series of comboboxes through a loop which is based on the number of …

Member Avatar for lps
0
972
Member Avatar for mistersalty

Hi, I'm kind of new to VB and I'm trying to make myself a little game to help me get into the swing of VB (I know some java). Basically what I'm trying to do is this, I have 20 statements in a Select Case (right now they're just labels …

Member Avatar for mistersalty
0
236
Member Avatar for skran

I have achieve to populate my combobox from sql and from this combobox to populate a textbox but now I have to do something more complicated.I would like to populate a combobox from an other combobox choice. And what i mean is that I have a table with Streenames and …

Member Avatar for skran
0
212
Member Avatar for JakeA

hi! how can i populate a treeview with this: [CODE]ObservableCollection<ProjectTreeview> trvProject = new ObservableCollection<ProjectTreeview>() { new ProjectTreeview(){ID=1, ParentID=0, Type="P", Name="Project Name"}, new ProjectTreeview(){ID=2, ParentID=1, Type="F", Name="Field 1"}, new ProjectTreeview(){ID=3, ParentID=1, Type="F", Name="Field 2"}, new ProjectTreeview(){ID=4, ParentID=2, Type="S", Name="Structure A"}, new ProjectTreeview(){ID=5, ParentID=3, Type="S", Name="Structure B"}, new ProjectTreeview(){ID=6, ParentID=4, Type="C", Name="Component …

Member Avatar for abelLazm
0
226
Member Avatar for devinodaniel

Hello! I have what I think is semi-easy. I just can't figure it out. [CODE] <html> <body> <div id="container"> //scan in barcode here <div id="repairID"> <table> <tr> <td> Scan ID: </td> <td> <form method="post" name="editRepairForm" action="https://example.com/IDEdit.do" target="frame1"> <input name="scanId" id="scanId" value="" /> <input name="fromLaunchScreen" id="fromLaunchScreen" type="hidden"/> <input type="submit" id="SubmitForEdit" style="display:none;"/> …

Member Avatar for devinodaniel
0
217
Member Avatar for vandris

HI! I'm trying to make a form where a dropdown menu is populated from mysql. My code: [CODE=php]<? $link = mysql_connect('localhost', '****', '****'); if (!$link) { die('Could not connect: ' . mysql_error()); } mysql_select_db('****'); mysql_set_charset("utf8"); $query="SELECT distinct first_name FROM names_table"; $result=mysql_query($query); ?> <select name="first_name" onChange=""> <option>Choose!</option> <? while($row=mysql_fetch_array($result)) { ?> …

0
99
Member Avatar for axman1000

I have 3 ASP list boxes. I would like to populate the second list box based on the selection in the first list box and based on the selection in the second list box, populate the third. I would like to do this using AJAX. How can I do it? …

Member Avatar for axman1000
0
1K
Member Avatar for axman1000

I have 3 ASP list boxes. I would like to populate the second list box based on the selection in the first list box and based on the selection in the second list box, populate the third. I would like to do this using AJAX. How can I do it? …

Member Avatar for peter_budo
0
346
Member Avatar for raffiq_eddy

Dear ajax expert, [URL="http://www.w3schools.com/php/php_ajax_php.asp"]http://www.w3schools.com/php/php_ajax_php.asp[/URL] Refer to the link, using the sample, I'm able to use php ajax to populate 1 text box which I've already pre-define (not using "echo '<input type='text'..") -- the info came from a table e.g. Search: [jo ] Name: [John doe] sql --- select name from …

Member Avatar for raffiq_eddy
0
977
Member Avatar for samuelhenry

This is a database dictionary page which has two drop-down boxes. [COLOR="Red"]first [/COLOR]- for the tables in the database(it displays all the table names in the dropdown. Second - for the columns of the table selected in the previous dropdown n then on selecting the column name it should display …

Member Avatar for samuelhenry
-1
1K
Member Avatar for ChrisHunter

Hi, Could anyone tell me the best way to implement a propertygrid? currently I'm doing it like this but I'm having truble setting the value of the private variable with the values returned but a single SqlDataReader: [CODE] [DefaultPropertyAttribute("ObjectTypeID")] public class ObjectType { private int _objTypeID; private int _stateType; private …

Member Avatar for lolafuertes
0
520
Member Avatar for ChrisHunter

Hi i need to add a combo box to a property grid that can be populated with the result of an sql statement, i can more than likely populate it when i come to it but i have no idea how to add the combo box. Currently i am creating …

0
166
Member Avatar for ChrisHunter

Hi I'm pritty new to C# I'm having trouble with items repeating in a combo box This method gets the values from my table and stores it in the list of strings which it does fine . . . I think. [CODE]public class EditStates { public List<string> getStates(CEditStates ced) { …

Member Avatar for lolafuertes
0
210
Member Avatar for Melow

i'm trying to populate a JList, and i saw that this is how it supose to work [code] JTable tabel = new JTable(); tabel = new JTable(row, cols); while (it.hasNext() && it1.hasNext() && it2.hasNext() && it3.hasNext() && it4.hasNext()) { Object ob[][] = { { it.next(), it1.next(), it2.next(), it3.next(), it4.next() }} …

Member Avatar for Melow
0
170
Member Avatar for coastcode

I'm trying to create a tree with the following very small access database. I'm still getting a few errors, 'rdr' is a 'variable' but used like a 'method' and trying to get tree to actually populate.. If you find any other errors or recommendations, they're greatly appreciated. Thanks a lot. …

Member Avatar for kvprajapati
0
324
Member Avatar for pstrohma

I'm using VC++ 10.0 Express to create an app that will find all visible drives (C:, USB drives, Memory Sticks, Lettered network drives, etc.) and populate a checked list box with those available drive letters. The app currently is loading the prefab list of A: through Z:, with the eventual …

Member Avatar for pstrohma
0
504

The End.