Click here to Skip to main content
15,887,683 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Prevent clicking on controls inside a groupbox without disabling Pin
dilkonika27-Apr-14 3:35
dilkonika27-Apr-14 3:35 
GeneralRe: Prevent clicking on controls inside a groupbox without disabling Pin
Dave Kreskowiak27-Apr-14 6:45
mveDave Kreskowiak27-Apr-14 6:45 
GeneralRe: Prevent clicking on controls inside a groupbox without disabling Pin
dilkonika27-Apr-14 7:47
dilkonika27-Apr-14 7:47 
GeneralRe: Prevent clicking on controls inside a groupbox without disabling Pin
Dave Kreskowiak27-Apr-14 11:13
mveDave Kreskowiak27-Apr-14 11:13 
GeneralRe: Prevent clicking on controls inside a groupbox without disabling Pin
dilkonika1-May-14 4:25
dilkonika1-May-14 4:25 
GeneralRe: Prevent clicking on controls inside a groupbox without disabling Pin
Dave Kreskowiak1-May-14 5:22
mveDave Kreskowiak1-May-14 5:22 
GeneralRe: Prevent clicking on controls inside a groupbox without disabling Pin
dilkonika1-May-14 6:15
dilkonika1-May-14 6:15 
Questionmerge column but no spaces between data [Solved] Pin
khei-chan00725-Apr-14 16:37
khei-chan00725-Apr-14 16:37 
hi everyone,
i need your help!
i successfully merge 3 columns to one column in datagridview but the problem is, there is no spaces between the merged data. And also how to separate data by "/"? My data base is sql and i'm using vb.net2008
thank you in advance Smile | :)

XML
<code>

  Dim con As New SqlConnection
        Dim cmd As New SqlCommand

        con.ConnectionString = "Data Source=192.168.xx.xx;Initial Catalog=directory1;Persist Security Info=True;User ID=me;Password=cute"
        cmd.Connection = con
        con.Open()

        
        Dim qr As String = "SELECT names,(dept + div + pos) as dept_div_pos, tel, local FROM directory1"
        Dim ds As New DataSet
        Dim da As New SqlDataAdapter(qr, con)
        da.Fill(ds, "directory1")

        DataGridView1.DataSource = ds
        DataGridView1.DataMember = "directory1"
        con.Close()

</code>


modified 30-Apr-14 3:06am.

AnswerRe: merge column but no spaces between data Pin
Peter Leow25-Apr-14 18:22
professionalPeter Leow25-Apr-14 18:22 
GeneralRe: merge column but no spaces between data Pin
khei-chan00725-Apr-14 19:40
khei-chan00725-Apr-14 19:40 
GeneralRe: merge column but no spaces between data Pin
Peter Leow25-Apr-14 21:22
professionalPeter Leow25-Apr-14 21:22 
QuestionORA-009000 Invalid SQL Statement when executing from code Pin
USAFHokie8025-Apr-14 1:28
USAFHokie8025-Apr-14 1:28 
AnswerRe: ORA-009000 Invalid SQL Statement when executing from code Pin
Simon_Whale25-Apr-14 1:47
Simon_Whale25-Apr-14 1:47 
GeneralRe: ORA-009000 Invalid SQL Statement when executing from code Pin
USAFHokie8025-Apr-14 1:49
USAFHokie8025-Apr-14 1:49 
SuggestionRe: ORA-009000 Invalid SQL Statement when executing from code Pin
Richard Deeming25-Apr-14 1:51
mveRichard Deeming25-Apr-14 1:51 
GeneralRe: ORA-009000 Invalid SQL Statement when executing from code Pin
USAFHokie8025-Apr-14 2:13
USAFHokie8025-Apr-14 2:13 
GeneralRe: ORA-009000 Invalid SQL Statement when executing from code Pin
Dave Kreskowiak25-Apr-14 2:41
mveDave Kreskowiak25-Apr-14 2:41 
GeneralRe: ORA-009000 Invalid SQL Statement when executing from code Pin
USAFHokie8025-Apr-14 2:54
USAFHokie8025-Apr-14 2:54 
GeneralRe: ORA-009000 Invalid SQL Statement when executing from code Pin
Dave Kreskowiak25-Apr-14 3:02
mveDave Kreskowiak25-Apr-14 3:02 
GeneralRe: ORA-009000 Invalid SQL Statement when executing from code Pin
USAFHokie8025-Apr-14 3:15
USAFHokie8025-Apr-14 3:15 
GeneralRe: ORA-009000 Invalid SQL Statement when executing from code Pin
Dave Kreskowiak25-Apr-14 6:28
mveDave Kreskowiak25-Apr-14 6:28 
GeneralRe: ORA-009000 Invalid SQL Statement when executing from code Pin
thatraja25-Apr-14 3:11
professionalthatraja25-Apr-14 3:11 
QuestionHow to increase row height in list view vb.net 2008 Pin
D.Manivelan24-Apr-14 23:06
D.Manivelan24-Apr-14 23:06 
QuestionThird Party Software/ OCX grammar checker for VB 6.0 Pin
radjitz24-Apr-14 22:00
radjitz24-Apr-14 22:00 
AnswerRe: Third Party Software/ OCX grammar checker for VB 6.0 Pin
CHill6025-Apr-14 0:47
mveCHill6025-Apr-14 0:47 

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.