|
Hi Navaneeth,
Thanks for your reply.
using template columns would provide only one header row. how would i get two header rows.
Thanks,
kavi
|
|
|
|
|
Hey there,
i have some problems and i've spent 3 days trying to solve it, so now i bow down and asks you guys.
I have a repeater that repeats data, duh, in this repeater i have a datagrid, listing data based on the title of the repeater. all this works perfectly fine.
problem is.
In the gridview... not datagrid, gridview, i have textboxes for each row.
This is to get the quantity of the item.
Im looking for a solution that either adds the textbox in that row to a database or at the bottom of the site, adds ALL the content of the textboxes to a database.
is this specific enough?
thanks,
Christian
|
|
|
|
|
|
hey guys and girls how can I read aspx output as html?
thx
BiG RaLpH
|
|
|
|
|
I'm not sure what you mean.
Do you want to make a request for an aspx page and retrieve the HTML response? If so, have a look at the WebRequest[^] class.
Paul
|
|
|
|
|
Hi All,
can anyone suggest me, how can i read a file whaich has .properties extension in ASP.Net 2.0
|
|
|
|
|
Read it where, and for what purpose ? A StreamReader can read any file, and an XmlDocument can read any XML doc, which I believe that is.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I want to read a file which has configuration related data, currently we are doing it through XML but now i want to read it from file which .properties extension for example i want to read log_level="Error" from properties file
|
|
|
|
|
I have an option to upload image files in my website.But after uploading the website I am getting some problems.Whenever I am trying to upload an image,all the time it is asking the FTP username and password.What is the solution to this problem?
ARINDAM
|
|
|
|
|
Where did my answer to this go ?
How are you uploading the files ? If you get asked for FTP details, I assume you're using FTP and need to provide them.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hey there,
i would like to code a WebChart with Office Web Components 2003 in Visual Studio 2005 on a ASP.Net Site with C#.
To get my data, i'm using a SQL Server 2005 from which i get my values. That's not a problem.. The trouble is, how to start with a WebChart? Could anybody give me an example how to write one?
I searched the web for nearly 2 days, but on every site i found another example, which is completely different from the other one before...
But i found out, that i'll have to install the setup "OWC11.exe" from Microsoft. After this, i got a new reference in Visual Studio 2005. Now it is possible to choose a COM reference named "Microsoft Office Web Components 11.0". And until then i can use the namespace "using Microsoft.Office.Interop.Owc11;". Further i have 5 .dlls, called "Interop.mce.dll", "Interop.VBRUN.dll", "Microsoft.StdFormat.dll", "MSDATASRC.dll" and "stdole.dll" in my project Bin folder. Is it correct?
And how i'll have to go on?
Thanks for your help!
|
|
|
|
|
I have a grid view and I have an Item Template which contains a button which when clicked directs to another page. I want to be able to pass the value in the first field of the row in the GridView which i am clicking the button.
In asp.net 1.0 I was able to do the following:
Sub View(ByVal objSender As Object, ByVal objArgs As DataGridCommandEventArgs)
If objArgs.CommandSource.CommandName = "Update" Then
Response.Redirect("NewPage.aspx?OrderNum=" & objArgs.Item.Cells(1).Text)
End If
End Sub
I could then get the value of Cell(1) in the New Page. This does not work in asp.net 2.0.
Does anyone have any idea how to do this in .net 2.0
Thanks,
macca
|
|
|
|
|
U will have to use datakeys for this as in 2005 u will not get the value of hidden column...
|
|
|
|
|
have you any examples of doing this?
|
|
|
|
|
try this on item datacommand event:
Try
Dim oGridViewRow As GridViewRow
oGridViewRow = CType(CType(e.CommandSource, Control).NamingContainer, GridViewRow)
ID = CInt(GridView1.DataKeys(oGridViewRow.RowIndex).Value)
If e.CommandName = "DeleteTrans" Then
DeleteRecord()
BindGridView()
ElseIf e.CommandName = "Edit" Then
Response.Redirect("frmLoanPayOffView.aspx?id=" & ID & "&info=" & e.CommandName)
End If
Catch ex As Exception
End Try
Hope it helps u??
|
|
|
|
|
U have to use javascript.... try this
<br />
<script type="text/javascript" language="javascript"><br />
function fupdate(id)<br />
{<br />
location.href='NewPage.aspx?Id=' +id;<br />
}<br />
|
|
|
|
|
And in Template Field...
<br />
<asp:TemplateField><br />
<ItemTemplate><br />
<a href="javascript:fupdate('<%# DataBinder.Eval(Container.DataItem, "Id") %>')">Edit</a><br />
</ItemTemplate><br />
</asp:TemplateField><br />
|
|
|
|
|
Got this working.
Thanks for the help.
|
|
|
|
|
How can we return a url from one form to another form?
|
|
|
|
|
Can you please elaborate a little?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Instead of using response.redirect we can use return url method....but i dint know abt return url....so i cant give enough info abt it...
|
|
|
|
|
Kasi Viswanathan wrote: How can we return a url from one form to another form?
Passing values from one form to another ? Use Querystring
|
|
|
|
|
Can u send me one example for tat.... if possible?
|
|
|
|
|
What difference between and ?
and
What difference between 'paddin' and margin?
|
|
|
|
|
Its better to check yourself i think by creating a new web applciation
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|