Web Forms :: What Is The Difference Between <% %> And <%= %>
Aug 12, 2010What is the difference between <% %> and <%= %>
I assume this means the same using either Webforms or MVC.
What is the difference between <% %> and <%= %>
I assume this means the same using either Webforms or MVC.
I need to know the difference of UI paging and Datasource paging.. can we have Sqldatasource paging if its yes let me know how to do..?
What is the great usage of having Datasource Paging...
I have the project in vs2008. I find that there is difference behavior between VS2008 Debug Mode IIS and Windows 7 IIS.
I have published the project and deploy on windows 7 IIS.
Different examples: After login, VS2008 debug mode can go to default page but not in windows 7 IIS in which it return back to login page after login. Sometimes, they can login but still difference behavior in page reload such as dropdownlist databind.
I am not able to understand difference between MasterPage and CSS.
View 3 RepliesI am looking for difference between forms and none authentication in asp.net, as I didn't find enough content to clarify it,
View 1 RepliesAnyway, if for example I have a textbox that I want to enable when the user check the desired checkbox/radiobutton, I like the textbox to be default enabled=false. What's the good approach between these two?
a.) client side
[Code]....
i have a text box named txts_date where the date format is dd/mm/yyyy....and i have a label name lblduration...now my need is i have another text box named lble_date...i want to add the value of duration ie lblduration to txts_date and display it into txte_date...
for example...
txts_date has date 22/11/2010 and lblduration has text as 10 so i want to add both the values so the result would be 02/12//2010..
i am working on one project in ASP.NET with C#
i am using two text box in my project one is for starting date and another one is for ending date ...
i wants difference between these two dates ....
so, how to find the difference??
What the exact difference and complete between using ASHX and ASMX. What is the difference between them when using them to communicate with your database from Javascript.
View 1 RepliesI am using the FormView, it does no behave the same as it does in VB. For example, why in C# you have to go into the HTML source code and add: OnItemUpdated="FormView1_ItemUpdated" to get an item updated? This does not have to be done in VB.
View 2 Repliesthe simple difference between Ispostback and Iscallback..
View 1 Replieswhat is difference between Page_Load and form1_Load
Protected
Sub Page_Load(ByVal sender
As
Object,
ByVal e
[Code]....
need to calculate the date difference in asp.net
in 1st textbox 01/10/2014
in 2nd textbox i pick 3/10/2014
I want to Know What is the difference between .ToString and Convert.To string?
View 4 RepliesI have two DataTables, with Different Columns. Some of the Columns are same between them.
i am looking to do this.It is also refered to as MINUS and is simply all the rows that are in the First table but not the Second.
These three colums are same between the two tables.
string[] strCols = { "CustomerID", "CustomerName", "CustomerCity" };
I tried this but it seems to return all the Rows from the Table1.
[Code]....
what is the difference b/w ErrorMessage & Text in RequiredFieldValidator?
View 2 RepliesI know how view state works but I do not know how exactly works RegisterRequiresControlState. Where are stored values from control? How exactly does it work?
View 1 Replieswhats the difference between hyperlink and button control in asp.net. in both we can display a image and give navigatetourl or href. then what is their difference.
View 5 RepliesI am confused about the new request of asp.net page and the Post back! what is the difference between them? when we click on any control like button the post-back is called for the same page! why it is no re-requested or so on.?
View 6 RepliesWhats the diffrence between pageload and page postback in asp.net
how it affect on page life cycle.
explain the diference between these Page_Init() and OnInit() events and when we should use which one?
View 2 RepliesI use below code for my button event
int Result = _cmd.ExecuteNonQuery();
if (Result > 0)
{
Session["Login"] = true;
Response.Redirect("~/Managers.aspx?BehCode=" + Server.UrlEncode(TextBox1.Text));
}
But it didn't work it didn't go to managers.aspx page but when I replace code with below code it worked correctly it go to managers.aspx
int count = Convert.ToInt32(_cmd.ExecuteScalar());
if (count > 0)
{
Session["Login"] = true;
Response.Redirect("Managers.aspx?BehCode=" + Server.UrlEncode(Txtbeh.Text));
}
Why this happen whats exact different between two code?
As I have two textbox as intime and outtime. Using two button I am inserting intime and outtime. Now I am in confusion How to find difference and insert into database?
View 1 RepliesWhat is difference between ViewState and Hidden Field in ASP.Net. If possible with an example.
View 1 RepliesWhat is the difference between iframe and master page. which is better to use. Now I am using iframe in all my applications .
View 1 Replies