what are grid events ?code for dropdown inside grid and
binding dropdown syntax
Answers were Sorted based on User's Feedback
Answer / om shivaya namaha
two ways are their to bind the data in the Grid:-
GridID_ItemDatabound()
{
textbox txt =new textbox();
dataset ds=new dataset();
ds=bind data from DataBase;
txt=(textbox)e.item.findcontrol("ddl");
txt.datasource=ds;
txt.databind();
}
like that we can bind data to dropdown list through
ItemCommand also
ItemDatabound will fire when ever we are binding the data to
datagrid it will iterate for each row and each Item
ItemCommand will fire when ever we click on any control in
the datagrid then it will fire but it will refer to the
current row in a datagrid
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / amiya kumar parida
To bind dropdownlist inside a grid ,The event is
rowdatabound().It bind the grid one by one row.
Instead of it we can bind the grid from source code calling
a function of code behind or direct assign a datasourse.
Is This Answer Correct ? | 1 Yes | 2 No |
Code for updating the database by entering the data into textboxes in aspx form?
How to Insert/Add in ASPXgridview
What are the 4 tenants of SOA/D.
Explain how can we inherit a static variable?
What is a 307 redirect?
What are clr?cts?cls?
4 Answers e4e, HCL, Microsoft, Tata Communications,
What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Exception handling
difference between Trace and Debug ?
9 Answers Accenture, Addlux, Microsoft,
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
What is strong name and which tool is used for this ?