No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
current code: Response.Redirect("DeviceInformation.aspx?arg=" + e.CommandArgument); which redirects to a page with a data grid. The argument is passed into a stored proc on a database and the infor is returned in a grid. What i want, is the same thing, but, open it in a new page. So something like: … |
|
Ok this is not as simple as it seems. I know i can create it on the aspx page. And make my changes there: set colums to read-only, turn colums into template fields, edit the template fields, and set the names of the headers. BUT if i want to add … |
|
I am trying to do this with sql code without using a cursor. I have table A with two cols and no PK ID Data I have table B with three cols the first two make up the PK ID PK SEQ PK Data If I have the following data … |
|
I have a grid view and I have a drop down list in several of the cols. A couple have their own data source, and a couple are hard coded. So when I click edit the labels turn to drop down list. BUT, i need to access the drop down … |
|
Alright so I have a Grid with 17 fields. I have my onrowupdating method, and it works, except for this one value is not getting passed to the method. So when I say e.oldValues I get only 16 not 17. The problem lies in one of the rows that I … |
|
I have my gridview set up to a sql data source which is in turn linked to a stored procedure. I get the following error: Procedure or function <stored procedure name> has too many arguments specified. My sql datasource code is: [code=aspx]<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DVC_OVRLDConnectionString %>" SelectCommand="Select_Device_By_Owner" SelectCommandType="StoredProcedure" UpdateCommand="update_device_information" … |
|
So i have a gridview linked to a sqldatasource. auto generate is off. I change some of my fields to template fields, set some to read only ect. on my aspx page. Then i make a modification to my stored prodecure and click refresh schema to see my changes show … |
|
Alright, so right now I have a GridView on my aspx page. It is set to run a stored procedure, get some data and display it. The parameter for the stored proc is set to come in through a query string. So the sqldatasource atuomatically looks for a query string … |
|
This code seems legit to me, i cannot figure out why it wont run! please help :) [code=sql]create table #test ( col1 varchar(6) not null, col2 numeric(5,2) not null, col3 varchar(5) not null, col4 numeric(4,0) not null ) MERGE into table1 a using #test b on a.col1 = b.col1 when … |
|
I have a gridview on my "second" page with a SqlDataSource. The data source is configured to take the qurry string "arg" from the url and run a stored procedure with it. On the "first" page i have a gridview and one collumn is links. Click on this link and … |
|
current code: [icode]Response.Redirect("DeviceInformation.aspx?arg=" + e.CommandArgument);[/icode] which redirects to a page with a data grid. The argument is passed into a stored proc on a database and the infor is returned in a grid. What i want, is the same thing, but, open it in a new page. So something like: … |