acidburnn
New member
Hi, I'm fairly new to integrating SQL into vb .net. I have a form with a bunch of textboxes that need to be populated with data from certain cells of a table from a SQL database. As an example I have a database called "PORINI" and a table called dbo.GMFLINEM with columns such as "COMPANY" and "DIVISION". I also have textboxes named txtCompany and txtDivision. Now what I need is to populate txtCompany with a value from the COMPANY column and also populate txtDivision with a value from the DIVISION column on form load. I don't really have any idea how to do this so any help would be greatly appreciated.