0 comments Thursday, June 28, 2007

HI,

This is a code that i found online which is used to add a row to a datagrid data it is really nice.

private void dgView_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
{
if(e.Item.ItemType==ListItemType.Item e.Item.ItemType==ListItemType.AlternatingItem)
{
DataGrid dg = (DataGrid)sender;
TableCell tc = new TableCell();
tc.Controls.Add(new LiteralControl(e.Item.Cells[9].Text));
tc.ColumnSpan = 10;
DataGridItem di = new DataGridItem(e.Item.ItemIndex,0,ListItemType.Item);
di.Cells.Add(tc);
Table t = (Table)dg.Controls[0];
t.Rows.Add(di);
}
}

Pankaj

0 comments

Hi,
ASPNET AjaxToolKit latest version released - version 10606
Latest Verion
New features like autocomplete text with delimiters, Dynamic context support for controls using Web Services, Accessibility improvements and many more. Check this out.
for sample
Toolkit Sample Website.

Regards
Pankaj

0 comments Friday, June 8, 2007

HI All,



Microsoft visual studio 2008 which is formerly known as Visual Studio code name "Orcas" is now available for download

http://msdn2.microsoft.com/en-us/vstudio/default.aspx

Key Benefits of Microsoft visual studio 2008 :

Faster Development. The Visual Studio Shell accelerates development by providing a base integrated development environment that can host custom tools and programming languages.


A Familiar Environment. Developers can build on the Visual Studio platform and provide end users a familiar user interface, speeding the learning curve for both.

Optimized for Languages & Tools. Created in response to requests from our partners, the Visual Studio Shell gives you the option of integrating your tools with Visual Studio or creating an isolated, custom-branded application.

Pankaj