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 |
What do you mean by query string?
How do I publish my asp.net application to my isp's web server?
What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?
Explain serialization and deserialization?
WHAT IS OBJECT POOLING
Define a multilingual website?
Name the two properties are on every validation control?
Describe in brief .net framework and its components.
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
Explain how inline and code behind is used differently ?
What?s the difference between Response.Write() andResponse.Output.Write()?
what is the requirement that .Net web services can access the java application?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)