hi all, How to calculate the Modulus Function in C#.net for example :|3-4|>1 what could be its precedence .
usharani
hi all, How to calculate the Modulus Function in C#.net for example :|3-4|>1 what could be its precedence .
usharani
How can we create RadioButtons at runtime Means i have recognised the COM Ports and those i need to display as radiobuttons for User Selection but Number of COM ports may differ sooo i some assistance to how to create radiobuttons dynamically depending on data we get at runtime. for ex we COM1 COM2 ports now i have to get those and create radiobutons but data may change it can only COM1 depending on connnection
usharani
How can we create Radio Buttons dynamically Using VC++?
usharani
modified on Tuesday, April 22, 2008 6:15 AM
Hi Raj thanks very much it was helpful a lot..................
usharani
It is Very confusing because we dont have complete source code there . Can u help me in this
usharani
Hello Friends, Can anyone say how to find the number of ports and the name of ports such as COM1, COM2 etc in our PC using a VC++ program. I searched it everywhere, but i couldnt find a proper source code. Can u please help in this..
usharani
I created a Class by name Studentinfo with required properties public partial class _Default : System.Web.UI.Page { ArrayList al = new ArrayList(); protected void Page_Load(object sender, EventArgs e) { al.Add(new StudentInfo(1, "aaa", "MCA", "bbb", "ccc", 2)); al.Add(new StudentInfo(2, "bbb", "MBA", "ccc", "aaa", 2)); al.Add(new StudentInfo(3, "yyy", "LKG", "aaa", "aaa", 0)); GridView1.DataSource = al; GridView1.DataBind(); } /* protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e) { DetailsView1.DataSource = al; GridView1.EditIndex = e.NewEditIndex; DetailsView1.PageIndex = GridView1.EditIndex; DetailsView1.DataBind(); //DetailsView1.DataSource =; }*/ protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { } protected void GridView1_SelectedIndexChanged(object sender, EventArgs e) { DetailsView1.DataSource = al; DetailsView1.PageIndex = GridView1.SelectedIndex; DetailsView1.DataBind(); } protected void DetailsView1_ModeChanged(object sender, EventArgs e) { } protected void DetailsView1_ModeChanging(object sender, DetailsViewModeEventArgs e) { //if (e.NewMode == DetailsViewMode.Edit) //{ // DetailsView1.ChangeMode(DetailsViewMode.Edit); //} //else if (e.NewMode == DetailsViewMode.Insert) //{ // DetailsView1.ChangeMode(DetailsViewMode.Insert); //} //else if (e.NewMode == DetailsViewMode.ReadOnly) //{ // DetailsView1.ChangeMode(DetailsViewMode.ReadOnly); //} if (e.CancelingEdit) { DetailsView1.ChangeMode(DetailsViewMode.ReadOnly); } else if (e.NewMode == DetailsViewMode.Edit) { DetailsView1.ChangeMode(DetailsViewMode.Edit); } DetailsView1.DataSource = al; DetailsView1.DataBind(); } protected void DetailsView1_ItemUpdating(object sender, DetailsViewUpdateEventArgs e) { } protected void DetailsView1_ItemUpdated(object sender, DetailsViewUpdatedEventArgs e) { if (e.AffectedRows == 0) { e.KeepInEditMode = true; } GridView1.DataBind(); } protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArg
How can i add drop down list to datagridview for one column.
usharani
How to bind datagridview values to the XML nodes in order to create an XML .
Rani
i have written a program to convert the XML file into the DATAGRID view using C#. Now i need a help regarding.. when we change the values in DataGrid it shloud reflect the XML also..
Usyra
modified on Tuesday, January 08, 2008 7:09:55 AM