<TD onclick="javascript
ataSort()" vAlign="middle" align="center" width="100" bgColor="#006699"><FONT face="Trebuchet MS" color="white" size="3"><B>Name</B></FONT>
</TD>
<script language="JavaScript">
function DataSort()
{
<%= Page.GetPostBackEventReference(this,"Description") %>
}
</script>
public void RaisePostBackEvent(string eventArgument)
{
String querySql = "";
querySql = "select ID,RouteNum,Description,Round,WeekDay from DISRIBUTIONROUTES ORDER BY "+eventArgument+" ";
DataTable tableShow = new DataTable();
tableShow = WebSql.GetDataTable(querySql);
DataGrid1.DataSource=tableShow;
DataGrid1.DataBind();
}
why does the function GetPostBackEvent doesn't call to the function RaisePostBackEvent??do i have to use a different function?
please help me..
thanks

</TD>
<script language="JavaScript">
function DataSort()
{
<%= Page.GetPostBackEventReference(this,"Description") %>
}
</script>
public void RaisePostBackEvent(string eventArgument)
{
String querySql = "";
querySql = "select ID,RouteNum,Description,Round,WeekDay from DISRIBUTIONROUTES ORDER BY "+eventArgument+" ";
DataTable tableShow = new DataTable();
tableShow = WebSql.GetDataTable(querySql);
DataGrid1.DataSource=tableShow;
DataGrid1.DataBind();
}
why does the function GetPostBackEvent doesn't call to the function RaisePostBackEvent??do i have to use a different function?
please help me..
thanks