Click here to Skip to main content
15,901,284 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Please advice me about "Screen Text Hooking Project". Pin
Mekong River25-Jun-06 1:13
Mekong River25-Jun-06 1:13 
Questioncontrol another form Pin
Mr kilany24-Jun-06 6:21
Mr kilany24-Jun-06 6:21 
AnswerRe: control another form Pin
god4k24-Jun-06 17:55
god4k24-Jun-06 17:55 
GeneralRe: control another form Pin
Mr kilany25-Jun-06 1:45
Mr kilany25-Jun-06 1:45 
AnswerRe: control another form Pin
Jun Du25-Jun-06 13:49
Jun Du25-Jun-06 13:49 
GeneralRe: control another form Pin
Mr kilany26-Jun-06 1:16
Mr kilany26-Jun-06 1:16 
GeneralRe: control another form Pin
Jun Du26-Jun-06 3:36
Jun Du26-Jun-06 3:36 
Questionsql script execuation Pin
_tasleem24-Jun-06 3:11
_tasleem24-Jun-06 3:11 
hi i want to generate table from sql script but dont know how to execute the sql script so i m using selected code from script file to generate table.
String strQuery="CREATE TABLE tblServer (ServerName nvarchar(50) NOT NULL,UserId nvarchar(50) NOT NULL,Password nvarchar(50) NOT NULL)";
SqlConnection conn= new SqlConnection(strConn);
conn.Open();
SqlCommand cmd=new SqlCommand(strQuery,conn);
cmd.ExecuteNonQuery();
conn.Close();

but it gives sql exception i dont know why.what i want to do is create table when app starts on sql server. if you tell me technique of executing sql srcipt file or other method



Tasleem Arif
AnswerRe: sql script execuation Pin
Mekong River24-Jun-06 6:02
Mekong River24-Jun-06 6:02 
QuestionCan a control be stored in an array list? Pin
KaKa'23-Jun-06 19:12
KaKa'23-Jun-06 19:12 
AnswerRe: Can a control be stored in an array list? Pin
Tamimi - Code23-Jun-06 19:45
Tamimi - Code23-Jun-06 19:45 
GeneralRe: Can a control be stored in an array list? Pin
KaKa'25-Jun-06 3:05
KaKa'25-Jun-06 3:05 
QuestionPaint Pin
Socheat.Net23-Jun-06 17:18
Socheat.Net23-Jun-06 17:18 
AnswerRe: Paint Pin
Mekong River24-Jun-06 6:12
Mekong River24-Jun-06 6:12 
QuestionVB.NET Convert Pin
Socheat.Net23-Jun-06 17:14
Socheat.Net23-Jun-06 17:14 
AnswerRe: VB.NET Convert Pin
Mekong River24-Jun-06 6:15
Mekong River24-Jun-06 6:15 
AnswerRe: VB.NET Convert Pin
Eran Aharonovich11-Jul-06 5:29
Eran Aharonovich11-Jul-06 5:29 
QuestionCreate,Read and write Text File and excel file in vb.net windows application Pin
sdivya23-Jun-06 16:13
sdivya23-Jun-06 16:13 
AnswerRe: Create,Read and write Text File and excel file in vb.net windows application Pin
Mekong River24-Jun-06 6:19
Mekong River24-Jun-06 6:19 
QuestionSystem for CD/VCD library Pin
Nisala23-Jun-06 15:18
Nisala23-Jun-06 15:18 
AnswerRe: System for CD/VCD library Pin
Mekong River24-Jun-06 6:24
Mekong River24-Jun-06 6:24 
QuestionProject using vb.net Pin
MRSAGA23-Jun-06 6:53
MRSAGA23-Jun-06 6:53 
AnswerRe: Project using vb.net Pin
Tim Carmichael23-Jun-06 8:13
Tim Carmichael23-Jun-06 8:13 
Questionweb service + Active Directory Pin
elianaca23-Jun-06 4:26
elianaca23-Jun-06 4:26 
AnswerRe: web service + Active Directory Pin
Dave Kreskowiak23-Jun-06 5:29
mveDave Kreskowiak23-Jun-06 5:29 

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.