Click here to Skip to main content
15,910,234 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Cache clear Pin
Malayil alex15-Nov-07 19:41
Malayil alex15-Nov-07 19:41 
GeneralRe: Cache clear Pin
John-ph16-Nov-07 4:11
John-ph16-Nov-07 4:11 
QuestionCouldn't find installable ISAM Driver Pin
meeram39515-Nov-07 2:13
meeram39515-Nov-07 2:13 
QuestionDisplaying dates in Datagrid Pin
macca2415-Nov-07 1:30
macca2415-Nov-07 1:30 
AnswerRe: Displaying dates in Datagrid Pin
John-ph15-Nov-07 1:44
John-ph15-Nov-07 1:44 
AnswerRe: Displaying dates in Datagrid Pin
Imran Khan Pathan15-Nov-07 1:51
Imran Khan Pathan15-Nov-07 1:51 
AnswerRe: Displaying dates in Datagrid Pin
macca2415-Nov-07 2:52
macca2415-Nov-07 2:52 
QuestionHow Using Ajax Pro for update data into DataGrid ? Pin
quangnd280215-Nov-07 1:13
quangnd280215-Nov-07 1:13 
Hi All.

I am doing Infor Show about Security.
I using datagrid to show information Security of companys.
My datagrid must auto update new data from database after 10 secords and show new data.
I have one solution is using tag <meta>.But it is not good because my datagrid using tag <maquee> to move scroll data in datagrid. finish I using ajax pro to implement.

But I meet problem.
1. I can't binding new data to grid in code because
when My code receive new dataTable from database then immediate return this data to Request from client. So, it can implement command binding data grid.

Now I need bind new data in to datagid . I hope everybody help me.

My code in server side:
<br />
1.regist:<br />
private void Page_Load(object sender, System.EventArgs e)<br />
{				 AjaxPro.Utility.RegisterTypeForAjax(typeof(InfoShowTV.ShowHOSE_HASTC));<br />
}		<br />
<br />
2.method:<br />
[AjaxPro.AjaxMethod]<br />
public void LoadDataToGridViewHASTC()<br />
{<br />
	ClsHOSE_HASTC ObjectConnection = new ClsHOSE_HASTC();<br />
	DataTable dtHASTC = ObjectConnection.getViewHASTC();				GrdHASTC.DataSource = dtHASTC;				<br />
	GrdHASTC.DataBind();		<br />
}<br />


In this code: it can't run command : GrdHASTC.DataBind()
it only run to command :DataTable dtHASTC = bjectConnection.getViewHASTC()

Call in Client:
<br />
function Test1(){			<br />
   InfoShowTV.ShowHOSE_HASTC.LoadDataToGridViewHASTC();			<br />
}		<br />
window.setInterval(Test1,10000);<br />


Hope you help me.
I hope you tell any solution for problem.
thanks you very much.
Questioncustom webcontrol problems! Pin
Kleindahl15-Nov-07 0:56
Kleindahl15-Nov-07 0:56 
QuestionVideo streaming in asp.net Pin
Anne_mathew15-Nov-07 0:35
Anne_mathew15-Nov-07 0:35 
AnswerRe: Video streaming in asp.net Pin
Michael Sync15-Nov-07 18:03
Michael Sync15-Nov-07 18:03 
GeneralRe: Video streaming in asp.net Pin
Anne_mathew15-Nov-07 21:22
Anne_mathew15-Nov-07 21:22 
QuestionClose using Java Script Pin
Mr.Sam15-Nov-07 0:23
Mr.Sam15-Nov-07 0:23 
AnswerRe: Close using Java Script Pin
Sherin Iranimose15-Nov-07 1:14
Sherin Iranimose15-Nov-07 1:14 
GeneralRe: Close using Java Script [modified] Pin
Mr.Sam15-Nov-07 1:18
Mr.Sam15-Nov-07 1:18 
QuestionConvert .wmv or .avi files to .flv file using ASP .NET Pin
AumSingh14-Nov-07 23:53
professionalAumSingh14-Nov-07 23:53 
AnswerRe: Convert .wmv or .avi files to .flv file using ASP .NET Pin
Christian Graus14-Nov-07 23:57
protectorChristian Graus14-Nov-07 23:57 
GeneralRe: Convert .wmv or .avi files to .flv file using ASP .NET Pin
AumSingh15-Nov-07 20:50
professionalAumSingh15-Nov-07 20:50 
GeneralRe: Convert .wmv or .avi files to .flv file using ASP .NET Pin
AumSingh16-Nov-07 4:51
professionalAumSingh16-Nov-07 4:51 
Questiongrid i grid Pin
Sonia Gupta14-Nov-07 23:07
Sonia Gupta14-Nov-07 23:07 
AnswerRe: grid i grid Pin
Prateek G14-Nov-07 23:12
Prateek G14-Nov-07 23:12 
GeneralRe: grid i grid Pin
Sonia Gupta14-Nov-07 23:20
Sonia Gupta14-Nov-07 23:20 
GeneralRe: grid i grid Pin
Christian Graus14-Nov-07 23:28
protectorChristian Graus14-Nov-07 23:28 
GeneralRe: grid i grid Pin
Sonia Gupta14-Nov-07 23:39
Sonia Gupta14-Nov-07 23:39 
JokeRe: grid i grid Pin
Sun Rays14-Nov-07 23:44
Sun Rays14-Nov-07 23:44 

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.