Lets start by saying that I am debugging someone else's code :-)
The error occurs at the code routine that is attempting to export data from a gridview to an excel file.
GridView gv = new GridView();
Table table = new Table();
int maxRow = 60000;
int gvrow = Data().Tables[0].Rows.Count;
The error is occuring at Data().Tables[0].Rows...
Hi Pros,
I need help again. Displaying images on gridview is never been a problem to me but how can i enlarge my image onmouseover event in gridview?
...
Hi guys, I'd really appreciate your time to look at this. I am trying to use GridView and SPDataSource within a SharePoint Application Page (code behind).
This is what I have in the Application page: (Default.aspx)
<SharePoint:SPDataSource id="oSPDS" runat="server" DataSourceMode="List" UseInternalName="true">
</SharePoint:SPDataSourc...
Hi
I have a Gridview inside a usercontrol with a rowcommand event. this usercontrol is loaded dynamically into every view in multiview.
when I click on the imagebutton inside the gridview, the rowcommand will fire only in the first view.
when I select the second view and clicking the imagebutton, then this view will be empty (the use...
Hi all i have designed a gridview in that one of my template field will be like
<asp:TemplateField>
<ItemTemplate>
<asp:Label ID="lblTrialPeriodEnds" runat="server" Text='<%# Eval("trialPeriodEnds","{0:dd/MM/yyyy}") %>'
Width="61px"></asp:Label>
...
I have a gridview on my page. I want the page to show me next 10 records after every 10 seconds. i.e. automated paging.
I have implemented manual paging on Gridview. How can I do this using Client Side event triggering
...
How can I have a different text in ConfirmText of a ConfirmButtonExtender that is inside a GridView. I want to have a different text depending on the Item that I select. Is this doable?
...
Hi,
I want to add a class name to some of my BoundFields in the GridView control; so that once the GridView is data-bound and rendered I can obtain something like:
<td class="Tag1">Some data came from data source </td>
The purpose of doing such a thing is to be able to find all the elements that are "Tag1" in this way:
var allTag1t...
I'm trying to use a calendar control to populate a textbox in a gridview cell in edit mode.
The error is with this line
<a href="javascript:OpenPopupPage('Calendar.aspx','<%= txtGvEditTeDate.ClientID %>','<%= Page.IsPostBack %>');">
It doesn't recognize the textbox.
Compilation Error
Compiler Error Message: CS0103: The name 'tx...
Hi, I have a button inside my <ItemTemplate> in GridView and I want to call a javascript function on the OnClientClick of that button passing the DataItem value as a parameter of the javascript function
<ItemTemplate>
// Labels and Html styles
....
<asp:Button ID="btnEdit" runat="server" Text="Edit" OnClientClick='javascript...
I designed my page with an htmlinputtext as follows
<asp:TemplateField>
<ItemTemplate>
<asp:Label ID="lblTrialPeriodEnds" runat="server" Text='<%# Eval("trialPeriodEnds","{0:dd/MM/yyyy}") %>'></asp:Label>
</ItemTemplate>
<HeaderTemplate>
...
hi there,
I want to use a flash chart in a gridview. you can see my codes in below:
DataTable tbl = new DataTable();
tbl.Columns.Add("chart");
DataRow rw;
rw = tbl.NewRow();
rw["chart"] = @"<div id=""chart5Div""></div>
<script type=""text/javascript"">
var ch...
Hi Friends,
i am using grid view for display images,first time i am display 16 images in gridview and next time i display 32 images in grid view ,when will i click next button in grid view,so i want to display button in grid view bottom.how can i set button is bottom of gridview for android
thanks all
...
I am writing a condition like:
if (dt > 0)
{
objinvoice.editInvoice(strInvoice, strRenew, strExpiry);
GridView1.EditIndex = -1;
bindGrid();
}
I will have a radio button in gridview if that radiobutton is initially set to false and if the condition is true I would like to set it to true ....
...
Hello.
I have the following code to add a new row into a datatable and then bind it to a gridview.
I need to add a new row anytime i click the Button2.
What do i need to change in the code so i can have multiple rows before i submit them to a database?
Private Sub BindGrid()
Dim DT As New DataTable
Dim Row As DataRow
...
I want to build an activity with similar layout as of the 'CAR HOME' app provided with the Android Emulator.
Any hints will be helpful. I am currently trying GRID VIEW, but not able to populate the complete screen. Also, when the orientation changes to landscape, it all get screwed.
If anyone has achieved this, please help me with the ...
I have written my code under button as follows
string actkey = string.Empty;
foreach (GridViewRow row in GridView1.Rows)
{
//Label lbInvoice = (Label)row.FindControl("lblInvoice");
string strInvoice = GridView1.DataKeys[row.RowIndex].Values["lblInvoice"].ToString();
objinvoice.Invoice = strInvoice;
...
I would like bind grid view with 2 different tables that has no relation. Is it possible to do if so please guide me in achieving that
...
Hello.
I am using VB.net.
I have a gridview with a datatable datasource.
What is the best option to update the datatable when i delete a row in the gridview and then show the gridview without that row?
Thanks.
...
Hello.
I am using VB.net.
I need to fill a gridview(1) with data that cames from another gridview(2), ie:
(2) - All articles in the database.
(1) - Selected articles from (2)
What is the best way to do that?
Thanks.
...