Environment versions
Network:
Windows 2003 Server
Database:
Jet/Access Engine
For iCtr = 0 To ds.Tables(tableName).Columns.Count - 1
sColumnName = ds.Tables(tableName).Columns(iCtr).ColumnName
Select Case ds.Tables(tableName).Columns(iCtr).DataType.Name
Case "Int32"
oleType = OleDbType.BigInt
iColumnSize = 4 '****>>>> I want to value from the dataset<<<<<****
Case "String"
oleType = OleDbType.VarChar
iColumnSize = 50
End Select
param = cmdInsert.Parameters.Add("@" & sColumnName, oleType, iColumnSize, _
sColumnName)
Next
*/Notice that I only assume the value of "size" or iColumnsize = 4
Can u give some sugestion of Update, delete, and insert data in Datagrid except using a CommandBuilder.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only