Click here to Skip to main content
15,914,074 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionXml + Listview + files Pin
ali426715-Feb-06 13:57
ali426715-Feb-06 13:57 
QuestionVB6 Enterprise edition version 6.0.81.76 crashing Pin
MeterMan15-Feb-06 13:44
MeterMan15-Feb-06 13:44 
AnswerRe: VB6 Enterprise edition version 6.0.81.76 crashing Pin
Dave Kreskowiak15-Feb-06 14:22
mveDave Kreskowiak15-Feb-06 14:22 
AnswerRe: VB6 Enterprise edition version 6.0.81.76 crashing Pin
Joshua Quick15-Feb-06 15:31
Joshua Quick15-Feb-06 15:31 
QuestionGet record info from a datagrid Pin
New_Coder15-Feb-06 11:52
New_Coder15-Feb-06 11:52 
AnswerRe: Get record info from a datagrid Pin
KreativeKai16-Feb-06 3:21
professionalKreativeKai16-Feb-06 3:21 
GeneralRe: Get record info from a datagrid Pin
New_Coder16-Feb-06 11:48
New_Coder16-Feb-06 11:48 
GeneralRe: Get record info from a datagrid Pin
KreativeKai17-Feb-06 2:10
professionalKreativeKai17-Feb-06 2:10 
First let me say, that like your username says, I'm also a New_Coder. I've been working with .NET for three years off an on, and I'm starting to feel somewhat comfortable working with it, but I know I've only scratched the surface. In the shop where I work, I actually code most days on a mainframe in COBOL.

My examples are based on what I've figured out and received CodeProject message board feedback on regarding SQL. My examples are using SQL, but hopefully you can use the ideas and translate them for your use with Access.

My example was working with a data table. I've found it easy to load my data from SQL tables to a dataset and attach the dataset to the grid using the datasource logic. At this point it is easy to manipulate the datagrid data by referencing information through the dataset.

Here is the SQL example I have. Hopefully you can use the logic I have and adapt it to your logic with ACCESS. Smile | :)

Dim MyDataset As New DataSet<br />
Dim MyTable As New DataTable<br />
Dim sqlCN As SqlConnection<br />
Dim sqlda As SqlDataAdapter<br />
<br />
sqlCN = "... connection string... "<br />
sqlSql = "... SELECT Statement or Stored Procedure name ... "<br />
sqlda = New SqlDataAdapter(strSql, sqlCN)<br />
sqlda.Fill(MyDataset)<br />
<br />
MyTable = MyDataset.Tables(0)<br />
<br />
dgrMyGrid.DataSource = MyTable<br />


Once you've filled the dataset, you can use the logic I posted previously to access information in the table. Smile | :)


Lost in the vast sea of .NET
Questionhow to use EOF or BOF in vb.net Pin
haripaddu15-Feb-06 11:21
haripaddu15-Feb-06 11:21 
AnswerRe: how to use EOF or BOF in vb.net Pin
KaptinKrunch15-Feb-06 11:29
KaptinKrunch15-Feb-06 11:29 
GeneralRe: how to use EOF or BOF in vb.net Pin
haripaddu15-Feb-06 11:38
haripaddu15-Feb-06 11:38 
GeneralRe: how to use EOF or BOF in vb.net Pin
haripaddu15-Feb-06 11:43
haripaddu15-Feb-06 11:43 
GeneralRe: how to use EOF or BOF in vb.net Pin
mayhem_rules15-Feb-06 17:21
mayhem_rules15-Feb-06 17:21 
QuestionUsing setFilePointer API Pin
IH8Microsoft15-Feb-06 10:18
IH8Microsoft15-Feb-06 10:18 
AnswerRe: Using setFilePointer API Pin
Dave Kreskowiak15-Feb-06 10:57
mveDave Kreskowiak15-Feb-06 10:57 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 11:32
IH8Microsoft15-Feb-06 11:32 
GeneralRe: Using setFilePointer API Pin
Dave Kreskowiak15-Feb-06 13:03
mveDave Kreskowiak15-Feb-06 13:03 
AnswerRe: Using setFilePointer API Pin
progload15-Feb-06 11:49
progload15-Feb-06 11:49 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 11:58
IH8Microsoft15-Feb-06 11:58 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 12:13
IH8Microsoft15-Feb-06 12:13 
GeneralRe: Using setFilePointer API Pin
progload15-Feb-06 12:37
progload15-Feb-06 12:37 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 12:51
IH8Microsoft15-Feb-06 12:51 
QuestionCombobox Items Pin
kostasdiktia215-Feb-06 10:02
kostasdiktia215-Feb-06 10:02 
AnswerRe: Combobox Items Pin
Dave Kreskowiak15-Feb-06 10:45
mveDave Kreskowiak15-Feb-06 10:45 
GeneralRe: Combobox Items Pin
kostasdiktia215-Feb-06 13:35
kostasdiktia215-Feb-06 13:35 

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.