Click here to Skip to main content
15,908,776 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Data Binding Pin
ejaz_pk31-Oct-07 21:08
ejaz_pk31-Oct-07 21:08 
GeneralRe: Data Binding Pin
John_Adams1-Nov-07 1:16
John_Adams1-Nov-07 1:16 
GeneralRe: Data Binding Pin
ejaz_pk1-Nov-07 2:05
ejaz_pk1-Nov-07 2:05 
QuestionHow to get newest file through VB Pin
Support12330-Oct-07 20:23
Support12330-Oct-07 20:23 
AnswerRe: How to get newest file through VB Pin
C1AllenS30-Oct-07 23:32
C1AllenS30-Oct-07 23:32 
GeneralRe: How to get newest file through VB Pin
Support12331-Oct-07 1:39
Support12331-Oct-07 1:39 
AnswerRe: How to get newest file through VB Pin
Aftab Sindhi31-Oct-07 7:35
Aftab Sindhi31-Oct-07 7:35 
QuestionAuto generate Uniqueidentifier / GUID in Select statement Pin
Aftab Sindhi30-Oct-07 20:01
Aftab Sindhi30-Oct-07 20:01 
I am trying to Import Address book (Name, MobileNo) from Excel file. Everything is working. Because of the importing speed issue, I decided to add the column ID (GUID) to DataTable. Running the sql statement SELECT NewID() AS ID, Name, MobileNo FROM tablename (tablename is worksheet name in Excel) raises an exception and its clear for me that NEWID() function is not working for OleDb(Excel) database, while same query runs fine in Sql Server. While trying to find some solutions, i figured that DataTable events (TableNewRow,RowChanging) can be used to assign new guid value to every row. But Confused | :confused: it still did not solve the problem because these events are not fired by OleDbDataAdapter.Fill() method. These events are fired if we use DataTable.Rows.Add() method.
Is there anybody have the solution to this problem? I don't want to loop through each row to add the value because records can be between 20,000 to more than 100,000. I expect quick response.

Aftab Sindhi
.NET Application Developer
AnswerRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
fazeepk30-Oct-07 23:04
fazeepk30-Oct-07 23:04 
AnswerRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
Dave Kreskowiak31-Oct-07 5:14
mveDave Kreskowiak31-Oct-07 5:14 
GeneralRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
Aftab Sindhi31-Oct-07 7:21
Aftab Sindhi31-Oct-07 7:21 
GeneralRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
Dave Kreskowiak31-Oct-07 9:42
mveDave Kreskowiak31-Oct-07 9:42 
Questionlist in report Pin
di3.ny2830-Oct-07 16:09
di3.ny2830-Oct-07 16:09 
AnswerRe: list in report Pin
svanwass31-Oct-07 5:32
svanwass31-Oct-07 5:32 
AnswerRe: list in report Pin
Dave Kreskowiak31-Oct-07 5:51
mveDave Kreskowiak31-Oct-07 5:51 
GeneralRe: list in report Pin
di3.ny2831-Oct-07 16:29
di3.ny2831-Oct-07 16:29 
Questionhelp programming button click event Pin
SilentCodingOne30-Oct-07 10:30
SilentCodingOne30-Oct-07 10:30 
AnswerRe: help programming button click event Pin
Christian Graus30-Oct-07 11:26
protectorChristian Graus30-Oct-07 11:26 
QuestionHow can I define table of an existed Excel file? Pin
ATC30-Oct-07 10:08
ATC30-Oct-07 10:08 
AnswerRe: How can I define table of an existed Excel file? Pin
pmarfleet30-Oct-07 12:45
pmarfleet30-Oct-07 12:45 
GeneralRe: How can I define table of an existed Excel file? Pin
ATC31-Oct-07 3:43
ATC31-Oct-07 3:43 
GeneralRe: How can I define table of an existed Excel file? Pin
pmarfleet31-Oct-07 3:48
pmarfleet31-Oct-07 3:48 
QuestionWrapper for VB6 error - "The system cannot find the file specified." Pin
Marcus J. Smith30-Oct-07 7:05
professionalMarcus J. Smith30-Oct-07 7:05 
GeneralRe: Wrapper for VB6 error - "The system cannot find the file specified." Pin
chrispo_m31-Oct-07 3:13
chrispo_m31-Oct-07 3:13 
GeneralRe: Wrapper for VB6 error - "The system cannot find the file specified." Pin
Marcus J. Smith31-Oct-07 4:07
professionalMarcus J. Smith31-Oct-07 4:07 

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.