Click here to Skip to main content
16,006,341 members
Home / Discussions / C#
   

C#

 
GeneralRe: hey all have a question about edit boxes.... Pin
S. Senthil Kumar16-Jul-05 9:10
S. Senthil Kumar16-Jul-05 9:10 
GeneralRe: hey all have a question about edit boxes.... Pin
tom_dx17-Jul-05 9:15
tom_dx17-Jul-05 9:15 
Generalreading the color of pixel Pin
Amir Jalaly16-Jul-05 6:10
Amir Jalaly16-Jul-05 6:10 
GeneralService Install Error Pin
MeshMesh16-Jul-05 3:18
MeshMesh16-Jul-05 3:18 
GeneralRe: Service Install Error Pin
Dave Kreskowiak16-Jul-05 6:42
mveDave Kreskowiak16-Jul-05 6:42 
GeneralRe: Service Install Error Pin
Anonymous16-Jul-05 21:53
Anonymous16-Jul-05 21:53 
GeneralInteractive Windows Service Pin
MeshMesh16-Jul-05 2:09
MeshMesh16-Jul-05 2:09 
GeneralData Grid boolen colume Pin
webhay16-Jul-05 1:26
webhay16-Jul-05 1:26 
Hello All,

I need to add a check box colume in the data grid and coded this code but the check box dosnt appear at all.
Please help.

	private void Form1_Load(object sender, System.EventArgs e)<br />
		{<br />
			DataGridTableStyle ts1 = new DataGridTableStyle();<br />
			ts1.MappingName = "Customers";<br />
<br />
			DataGridBoolColumn myDataCol = new DataGridBoolColumn();<br />
			myDataCol.HeaderText = "My New Column";<br />
			myDataCol.MappingName = "Current";<br />
<br />
			ts1.GridColumnStyles.Add(myDataCol);<br />
			<br />
<br />
			dataGrid1.TableStyles.Clear();<br />
			dataGrid1.TableStyles.Add(ts1);<br />
			<br />
			dataSet11.Tables[0].Columns.Add("Current");<br />
			dataGrid1.DataSource = dataSet11.Tables[0];<br />
			<br />
<br />
<br />
<br />
		}


this code in the winforms

Regards,
Hay
GeneralCreating a bool random value Pin
Blue_Skye16-Jul-05 0:57
Blue_Skye16-Jul-05 0:57 
GeneralRe: Creating a bool random value Pin
S. Senthil Kumar16-Jul-05 9:13
S. Senthil Kumar16-Jul-05 9:13 
GeneralRe: Creating a bool random value Pin
Blue_Skye16-Jul-05 10:41
Blue_Skye16-Jul-05 10:41 
GeneralMath.Round function in VS.NET and round function in SQL Server 2000 Pin
Blue_Skye16-Jul-05 0:53
Blue_Skye16-Jul-05 0:53 
GeneralRe: Math.Round function in VS.NET and round function in SQL Server 2000 Pin
Rob Graham16-Jul-05 8:38
Rob Graham16-Jul-05 8:38 
GeneralRe: Math.Round function in VS.NET and round function in SQL Server 2000 Pin
Blue_Skye16-Jul-05 10:26
Blue_Skye16-Jul-05 10:26 
QuestionRemote Object with Singleton mode ?? Pin
Tee+16-Jul-05 0:26
Tee+16-Jul-05 0:26 
AnswerRe: Remote Object with Singleton mode ?? Pin
S. Senthil Kumar16-Jul-05 9:24
S. Senthil Kumar16-Jul-05 9:24 
Generalei need help Pin
Member 145978315-Jul-05 21:57
Member 145978315-Jul-05 21:57 
GeneralRe: ei need help Pin
Lord Kixdemp16-Jul-05 8:18
Lord Kixdemp16-Jul-05 8:18 
GeneralSQL SELECT statement syntax Pin
sea#15-Jul-05 21:32
sea#15-Jul-05 21:32 
GeneralRe: SQL SELECT statement syntax Pin
Dave Kreskowiak16-Jul-05 6:45
mveDave Kreskowiak16-Jul-05 6:45 
GeneralRe: SQL SELECT statement syntax Pin
sea#16-Jul-05 9:10
sea#16-Jul-05 9:10 
GeneralRe: SQL SELECT statement syntax Pin
Dave Kreskowiak16-Jul-05 15:49
mveDave Kreskowiak16-Jul-05 15:49 
GeneralRe: SQL SELECT statement syntax Pin
sea#17-Jul-05 6:02
sea#17-Jul-05 6:02 
Generalfind blue tooth lan connection from registry Pin
ksanju100015-Jul-05 21:18
ksanju100015-Jul-05 21:18 
QuestionHow do we know which rows got deleted in DataTable? Pin
rudy.net15-Jul-05 20:09
rudy.net15-Jul-05 20:09 

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.