Click here to Skip to main content
15,886,919 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: sql query syntax in .net Pin
Eddy Vluggen12-Feb-14 6:56
professionalEddy Vluggen12-Feb-14 6:56 
GeneralRe: sql query syntax in .net Pin
Member 1050621512-Feb-14 22:01
Member 1050621512-Feb-14 22:01 
AnswerRe: sql query syntax in .net Pin
Eddy Vluggen12-Feb-14 22:28
professionalEddy Vluggen12-Feb-14 22:28 
GeneralRe: sql query syntax in .net Pin
Member 1050621512-Feb-14 22:35
Member 1050621512-Feb-14 22:35 
GeneralRe: sql query syntax in .net Pin
Eddy Vluggen13-Feb-14 0:31
professionalEddy Vluggen13-Feb-14 0:31 
GeneralRe: sql query syntax in .net Pin
Member 1050621513-Feb-14 1:39
Member 1050621513-Feb-14 1:39 
GeneralRe: sql query syntax in .net Pin
Eddy Vluggen13-Feb-14 2:59
professionalEddy Vluggen13-Feb-14 2:59 
GeneralRe: sql query syntax in .net Pin
Member 1050621513-Feb-14 3:48
Member 1050621513-Feb-14 3:48 
yes i know.
i tried to do it like this, but i have an error.
VB
Dim cmd As New SqlCommand
       cmd.Connection = mcon
       cmd.CommandText = "insert into members(serial, name, familyname, address, phone, mobile, fax, email, website, space, timezone) values (@serial, @name, @familyname, @address, @phone, @mobile, @fax, @email, @website, @space, @timezone) ;"
       cmd.Parameters.AddWithValue("@serial", txtserial.Text)
       cmd.Parameters.AddWithValue("@name", txtname.Text)
       cmd.Parameters.AddWithValue("@familyname", txtfamilyname.Text)
       cmd.Parameters.AddWithValue("@address", txtaddress.Text)
       cmd.Parameters.AddWithValue("@phone", txtphone.Text)
       cmd.Parameters.AddWithValue("@mobile", txtmobile.Text)
       cmd.Parameters.AddWithValue("@fax", txtfax.Text)
       cmd.Parameters.AddWithValue("@email", txtemail.Text)
       cmd.Parameters.AddWithValue("@website", txtwebsite.Text)
       cmd.Parameters.AddWithValue("@space", txtspace.Text)
       cmd.Parameters.AddWithValue("@timezone", cmbtimezone.Text)
       cmd.ExecuteNonQuery()
       fillgrid()


How am i going to set the identity to txtserial.text? in the parameters method?
GeneralRe: sql query syntax in .net Pin
Eddy Vluggen13-Feb-14 4:59
professionalEddy Vluggen13-Feb-14 4:59 
QuestionUploading Data from MySql to MS Project using .net C# Pin
Badari Narayan11-Feb-14 21:22
Badari Narayan11-Feb-14 21:22 
AnswerRe: Uploading Data from MySql to MS Project using .net C# Pin
Richard MacCutchan11-Feb-14 21:25
mveRichard MacCutchan11-Feb-14 21:25 
Questionserialport timeout c# .net 4 client profile Pin
openLG11-Feb-14 1:40
openLG11-Feb-14 1:40 
QuestionRe: serialport timeout c# .net 4 client profile Pin
Eddy Vluggen11-Feb-14 3:11
professionalEddy Vluggen11-Feb-14 3:11 
SuggestionRe: serialport timeout c# .net 4 client profile Pin
Richard MacCutchan11-Feb-14 4:43
mveRichard MacCutchan11-Feb-14 4:43 
AnswerRe: serialport timeout c# .net 4 client profile Pin
Gerry Schmitz12-Feb-14 9:03
mveGerry Schmitz12-Feb-14 9:03 
QuestionHow to call a Phython Script from .Net Pin
Kandepu Rajesh10-Feb-14 12:11
Kandepu Rajesh10-Feb-14 12:11 
SuggestionRe: How to call a Phython Script from .Net Pin
Richard MacCutchan10-Feb-14 21:00
mveRichard MacCutchan10-Feb-14 21:00 
AnswerRe: How to call a Phython Script from .Net Pin
Bernhard Hiller10-Feb-14 21:15
Bernhard Hiller10-Feb-14 21:15 
GeneralRe: How to call a Phython Script from .Net Pin
Kandepu Rajesh10-Feb-14 21:18
Kandepu Rajesh10-Feb-14 21:18 
GeneralRe: How to call a Phython Script from .Net Pin
Pete O'Hanlon10-Feb-14 23:52
mvePete O'Hanlon10-Feb-14 23:52 
AnswerRe: How to call a Phython Script from .Net Pin
Kornfeld Eliyahu Peter10-Feb-14 23:29
professionalKornfeld Eliyahu Peter10-Feb-14 23:29 
QuestionCustom Control Visual Basic .Net Pin
JM768-Feb-14 2:01
JM768-Feb-14 2:01 
AnswerRe: Custom Control Visual Basic .Net Pin
Dave Kreskowiak8-Feb-14 2:54
mveDave Kreskowiak8-Feb-14 2:54 
GeneralRe: Custom Control Visual Basic .Net Pin
JM768-Feb-14 3:04
JM768-Feb-14 3:04 
QuestionToolstrip Pin
KirtiZare7-Feb-14 22:42
KirtiZare7-Feb-14 22:42 

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.