Microsoft
Software
Hardware
Network
Question : Adding Columns to ASP.Net Gridview Control
I wrote the following code attempting to add additional columns to a ASP/ Net GridView control, however at runtime, the only columns that display are the ones i create using <asp:Boundfield> tags. What am I doing wrong?
myreader.Read();
int j = myreader.GetInt32(2);
BoundField newfield = new BoundField();
newfield.HeaderText = j.ToString();
newfield.DataField = "Top";
lineGrid.Columns.Insert(i,
newfield);
lineGrid.Rows[0].Cells[j].
Text = myreader.GetInt32(3).ToStr
ing();
lineGrid.Rows[1].Cells[j].
Text = myreader.GetInt32(4).ToStr
ing();
Answer : Adding Columns to ASP.Net Gridview Control
Your contractor will be creating an OUTGOING request on port 1935 to their server I am guessing. I think this test is testing a request for an incoming stream. Try reversing the rules for the test.
Random Solutions
sa account
Dreamweaver PHP MySQL Session Variables
Site to site with Cisco ASA 5505
Locked out accounts
MS Office 2007 & 2010: Best practices for implementing centralized management of default templates?
Removing numbers after underscore
How do I dedupe a table and create a new table by combining the dupes into a single record?
Exchange 2003 RPC over HTTPS
In Symantec Backup Exec 12, how do I change the backup destination (that is defined in my current backup jobs) from being a tape to being an external hard drive?
Can I export more than 250 records from CRM?