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 is the use of the tag in the web.config file?
One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of the properties and try again. - this error is occured in Sharepoint 2007 while deploy the web part
What is server side in asp.net?
Disable Mouse right click on web page in asp.net?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
What are the disadvantages of using session?
Why Web Services?
Can you explain the importance of finalize method in .net?
Describe a diffgram ? Write any one use of that?
please give a brief knowledge about these events ? page_render() page_prerender() page_unload page_loadcomplete page_preinit
Describe the difference between a Thread and a Process?
Types of optimization and name a few ?