hi
Set PageSize Property of DatGrid to 10.
Create events from Property SelectedIndexCh anged
in That Write
DataGrid.PageIn dex=e.NewPageIn dex;
and Again Bind DatGrid from DataBase
User Profile
Collapse
-
hi
First check ur all Data. u r trying to convert String into Int,Decimal or else.
and Pass String null or blank thats why this error comes.
check Data comes correct.Leave a comment:
-
hi
try This
Select convert(varchar (12),DateField, Number) from .....
Number should be like 101,102,103,106 try this number indicate the Date format like dd/MM/yyyy,dd-MM-yy, etcLeave a comment:
-
-
Textbox :
<asp:TextBox ID="txtFirstNam e" runat="server" CssClass="h_fla ttxt" Width="99px" onblur="Display Msg(this)" onfocus="Displa yMsg(this);">Fi rstName</asp:TextBox>
Code for javascript
in function DisplayMsg(TxtN ame)
if(TxtName.valu e.length > 0)
{
if(TxtName.valu e !=...Leave a comment:
-
Hi
u r declare the label and Drop down in loop so when loop is over object scop is also over. if u declare label and dropdown out of loop with array then it will help u....Leave a comment:
-
Hi rajan ,
have u try history.forward (1); or history.go(1);
i think this will help u...Leave a comment:
-
Ajax UpdatePanel
i put GridView in Update panel.
in update panel i have imagebutton.
i m doing export to excel on that button click i wrote following code:
HttpContext.Cur rent.Response.A ddHeader("conte nt-disposition", "attachment;fil ename=" + FileName + ".xls");
HttpContext.Cur rent.Response.C ontentType = "applicatio n/vnd.ms-excel";
HttpContext.Cur rent.Response.C harset... -
No activity results to display
Show More
Leave a comment: