Click here to Skip to main content
15,888,590 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDataGridView DataSource changing !! Pin
kindman_nb2-Jan-07 11:06
kindman_nb2-Jan-07 11:06 
AnswerRe: DataGridView DataSource changing !! Pin
kindman_nb2-Jan-07 11:12
kindman_nb2-Jan-07 11:12 
AnswerRe: DataGridView DataSource changing !! Pin
darkturtle2-Jan-07 22:05
darkturtle2-Jan-07 22:05 
GeneralRe: DataGridView DataSource changing !! Pin
kindman_nb6-Jan-07 23:35
kindman_nb6-Jan-07 23:35 
QuestionGraph implementation Pin
maisa.sh2-Jan-07 10:47
maisa.sh2-Jan-07 10:47 
AnswerRe: Graph implementation Pin
Colin Angus Mackay2-Jan-07 11:33
Colin Angus Mackay2-Jan-07 11:33 
Questionwhat is the problem about this code Pin
nbulut2-Jan-07 10:00
nbulut2-Jan-07 10:00 
AnswerRe: what is the problem about this code Pin
Colin Angus Mackay2-Jan-07 11:28
Colin Angus Mackay2-Jan-07 11:28 
nbulut wrote:
OleDbCommand("select * from vtab where " & deger & " like '%" & Me.TextBox1.Text & "%'", baglanti)


Don't inject values in to a SQL statement. Use parameterised queries. Also, sanitise your input. You are injecting the value of the text box directly into the SQL. This blasts a huge security hole right through your application.

Read this article[^] and it will help you solve your current problem and plug the security holes in your code at the same time. Two for the price of one!


Upcoming Scottish Developers events:
* Glasgow: Tell us what you want to see in 2007


My: Website | Blog | Photos

GeneralRe: what is the problem about this code Pin
nbulut2-Jan-07 12:02
nbulut2-Jan-07 12:02 
GeneralRe: what is the problem about this code Pin
Colin Angus Mackay2-Jan-07 12:08
Colin Angus Mackay2-Jan-07 12:08 
GeneralRe: what is the problem about this code Pin
nbulut2-Jan-07 12:26
nbulut2-Jan-07 12:26 
GeneralRe: what is the problem about this code Pin
Colin Angus Mackay2-Jan-07 12:44
Colin Angus Mackay2-Jan-07 12:44 
Questionhow to resolve the over-writing problem of items in the list in vb.net Pin
sushantsprajan2-Jan-07 7:55
sushantsprajan2-Jan-07 7:55 
AnswerRe: how to resolve the over-writing problem of items in the list in vb.net Pin
Dave Kreskowiak2-Jan-07 9:13
mveDave Kreskowiak2-Jan-07 9:13 
AnswerRe: MySql connection Pin
Dave Kreskowiak2-Jan-07 9:09
mveDave Kreskowiak2-Jan-07 9:09 
QuestionPicture Box Control Pin
bjeverett2-Jan-07 6:24
bjeverett2-Jan-07 6:24 
AnswerRe: Picture Box Control Pin
Christian Graus2-Jan-07 15:56
protectorChristian Graus2-Jan-07 15:56 
Questionntgraph in Access Pin
bakerjw2-Jan-07 6:04
bakerjw2-Jan-07 6:04 
Questionhow to change data source and keep queries Pin
Eric Georgiades2-Jan-07 4:53
Eric Georgiades2-Jan-07 4:53 
Questionhow can i use LineGetCountry() TAPI function in my Visual Basic project Pin
hihsh2-Jan-07 4:44
hihsh2-Jan-07 4:44 
AnswerRe: how can i use LineGetCountry() TAPI function in my Visual Basic project Pin
Dave Kreskowiak2-Jan-07 5:43
mveDave Kreskowiak2-Jan-07 5:43 
QuestionI need a source code that view installed applications and run them. Pin
MjRazzaghi2-Jan-07 4:33
MjRazzaghi2-Jan-07 4:33 
AnswerRe: I need a source code that view installed applications and run them. Pin
Dave Kreskowiak2-Jan-07 5:38
mveDave Kreskowiak2-Jan-07 5:38 
QuestionDatagrid format Pin
SilentBob1012-Jan-07 4:26
SilentBob1012-Jan-07 4:26 
AnswerRe: Datagrid format Pin
Dave Kreskowiak2-Jan-07 5:37
mveDave Kreskowiak2-Jan-07 5:37 

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.