Click here to Skip to main content
15,899,937 members
Home / Discussions / C#
   

C#

 
GeneralRe: windows form Pin
jphuphilly21-Jun-03 7:08
jphuphilly21-Jun-03 7:08 
GeneralSQL in C# question Pin
puppiesLover20-Jun-03 8:08
puppiesLover20-Jun-03 8:08 
GeneralRe: SQL in C# question Pin
Anonymous20-Jun-03 9:36
Anonymous20-Jun-03 9:36 
GeneralRe: SQL in C# question Pin
Danny Rodriguez20-Jun-03 10:12
Danny Rodriguez20-Jun-03 10:12 
GeneralControl Sizing Pin
Anonymous20-Jun-03 7:15
Anonymous20-Jun-03 7:15 
GeneralRe: Control Sizing Pin
Anonymous20-Jun-03 9:25
Anonymous20-Jun-03 9:25 
GeneralSpreadsheet "Like" Data Entry Pin
Andrew Bromfield20-Jun-03 7:06
Andrew Bromfield20-Jun-03 7:06 
GeneralRe: Spreadsheet "Like" Data Entry Pin
Dimitris Iliopoulos20-Jun-03 11:45
Dimitris Iliopoulos20-Jun-03 11:45 
QuestionCould Some one Please help to convert two lines from C# to VB.NET? Pin
Eikeland20-Jun-03 5:13
Eikeland20-Jun-03 5:13 
AnswerRe: Could Some one Please help to convert two lines from C# to VB.NET? Pin
CherezZaboro20-Jun-03 5:39
CherezZaboro20-Jun-03 5:39 
GeneralDesign question about windows services... Pin
CherezZaboro20-Jun-03 5:13
CherezZaboro20-Jun-03 5:13 
GeneralRe: Design question about windows services... Pin
CherezZaboro20-Jun-03 6:27
CherezZaboro20-Jun-03 6:27 
GeneralRe: Design question about windows services... Pin
CherezZaboro20-Jun-03 7:17
CherezZaboro20-Jun-03 7:17 
GeneralRe: Design question about windows services... Pin
CherezZaboro20-Jun-03 9:28
CherezZaboro20-Jun-03 9:28 
GeneralRe: Design question about windows services... Pin
CherezZaboro23-Jun-03 3:31
CherezZaboro23-Jun-03 3:31 
GeneralRe: Design question about windows services... Pin
Burt Harris21-Jun-03 12:59
Burt Harris21-Jun-03 12:59 
GeneralRe: Design question about windows services... Pin
CherezZaboro23-Jun-03 3:08
CherezZaboro23-Jun-03 3:08 
GeneralComm Port and WinSock Pin
RB@Emphasys20-Jun-03 5:10
RB@Emphasys20-Jun-03 5:10 
GeneralRe: Comm Port and WinSock Pin
Nick Parker20-Jun-03 10:22
protectorNick Parker20-Jun-03 10:22 
GeneralRe: Comm Port and WinSock Pin
Dimitris Iliopoulos20-Jun-03 11:52
Dimitris Iliopoulos20-Jun-03 11:52 
GeneralColumn Headers in a Datagrid Pin
Qarash20-Jun-03 4:57
Qarash20-Jun-03 4:57 
GeneralRe: Column Headers in a Datagrid Pin
Dimitris Iliopoulos20-Jun-03 12:19
Dimitris Iliopoulos20-Jun-03 12:19 
i have tried lot of things including this:

char a = (char)13;<br />
			char b = (char)10;<br />
<br />
			string c;<br />
			c=a.ToString()+b.ToString();<br />
			<br />
			System.Data.DataTable maintable = new DataTable("table1");<br />
			maintable.Columns.Add("col1",System.Type.GetType("System.String"));<br />
			System.Data.DataRow nr = maintable.NewRow();<br />
			nr["col1"]="cdcscsdcds";<br />
<br />
			maintable.Rows.Add(nr);<br />
<br />
			System.Windows.Forms.DataGridTableStyle ms = new DataGridTableStyle();<br />
			ms.MappingName="table1";<br />
			System.Windows.Forms.DataGridTextBoxColumn ns = new System.Windows.Forms.DataGridTextBoxColumn();<br />
			ns.MappingName="col1";<br />
			ns.TextBox.Multiline=true;<br />
			ns.HeaderText="dadasdasdasd"+c+"dsadsadsad";<br />
			<br />
			ms.GridColumnStyles.Add(ns);<br />
<br />
			this.maingrid.TableStyles.Add(ms);<br />
			this.maingrid.DataSource=maintable;


and nothing works, the only thing to do i think is to build a class that inherits from System.windows.forms.datagridtextboxcolumn and override Paint method which i think is very difficult and the most important needs lot of time

From Greece:
Dimitris Iliopoulos
dimilio@yahoo.com
GeneralRe: Column Headers in a Datagrid Pin
Qarash23-Jun-03 2:40
Qarash23-Jun-03 2:40 
GeneralVisual Studio Design Time Bug (C#) Pin
Qarash20-Jun-03 4:53
Qarash20-Jun-03 4:53 
GeneralSQL Server Structure Access Pin
Mark Sanders20-Jun-03 3:24
Mark Sanders20-Jun-03 3:24 

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.