|
Can I store that variable in View state to remove this problem? because I don't
want to share the variable between different users.
Thanks,
Sandy Sekhon
|
|
|
|
|
Yes.
---
b { font-weight: normal; }
|
|
|
|
|
hi,
i want to install community starter kit. But database is not getting converted due to some error like incorrect syntax near function while copying files in community database.
please tell me how to install community starter kit clearly so that i will move further to make cd based database application of asp.net
Vijayendra Shinde.
-- modified at 5:33 Friday 21st April, 2006
|
|
|
|
|
we are using microsoft Office 9.0 Library & COM namespace is OWC
TextBox1.Text = xlsheet.ActiveSheet.Cells[i,1];
While writting this code it is not converting to object to string but in reverse case it is working properly uploading to spreadsheet.
//This is the Error
Error: <b>Cannot convert Object to String </b>
So pls convey this & let me know the solution for the above problem.
I m using asp.net with c# coding.
Thanking u,
Naren.
Pls let me Know
|
|
|
|
|
Could try:
TextBox1.Text = (string)xlsheet.ActiveSheet.Cells[i,1];
or
TextBox1.Text = xlsheet.ActiveSheet.Cells[i,1].ToString();
|
|
|
|
|
Hi
I have an application which uploads Photos It is working fine
But when i try to uplod a Zip folder it is giving
Page can'nt display
Help me
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
|
Thx for reply
If i want upload a 10MB Zip file what settings i have to change
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
|
hi all,
how can i trace and debug the java script file using visual studio 2005
coolsweety
|
|
|
|
|
|
Use the keyword
debugger
"Aim to go where U have never been B4 and Strive to achieve it"
http://groups.yahoo.com/subscribe/dotnetforfreshers
http://himabinduvejella.blogspot.com
|
|
|
|
|
|
Hi all. I am building a crystal report in pdf. It's working fine but, When I click on a button to display the report, the report is opened in the same window. How can I open it in other window?
the code i am using for displaying it is as follows:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim report As New Doctormaster
Dim ms As System.IO.MemoryStream
ms = CType(report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat), System.IO.MemoryStream)
Response.ClearHeaders()
Response.Clear()
Response.Buffer = True
Response.ContentType = "application/pdf"
Try
Response.BinaryWrite(ms.ToArray)
Response.End()
Catch err As Exception
Response.Write("< BR >")
Response.Write(err.Message.ToString)
End Try
End Sub
Please help me out.
|
|
|
|
|
|
Hi,
Help me To create a new folder on server machine when I click a button on .aspx page
Thanking you,
Balu
|
|
|
|
|
Look at the System.IO.Directory.CreateDirectory method.
---
b { font-weight: normal; }
|
|
|
|
|
There are two things that you might need to do:
+ Create an event handler for the Click[^] event of the button.
+ In the handler, you can use the Dictionary[^] class to create a new folder on the server, also you should remember that your application should have permission to create folder, otheriwise you will get the error.
|
|
|
|
|
Hi,
Thank u For your Info, I got the creation from above method
Balu
|
|
|
|
|
I am making a keyword research tool for my website where the keyword info and the similar displayed in datagrid controls. i want to print or save the data in datagrid control only, not the whole page. I know the javascript command to print the whole page window.print() .But i have to print the datagrid control oany. can somebody tell me...
u can visit my url at:
http://inabrains.com/keyword_research.aspx[^]
|
|
|
|
|
Hi raj1984,
try this:
1. Add a div tag on your page and give it an ID (ex: divGrid)
2. Add your datagrid control into the div.
3. Add an button and write to onclick event, which will open a new blank page.
4. Add all HTML tag in divGrid to the new page.
ex:
<div id='divGrid'><br />
<asp:DataGrid....<br />
</div><br />
<br />
<input type='button' onclick.='doPrint();'>
doPrint method:
function doPrint()<br />
{<br />
var subwin = window.open("_blank");
var d = document.getElementById("divGrid");<br />
subwin.document.write(d.innerHTML);<br />
subwin.print();<br />
}
|
|
|
|
|
Hello Friends,
I am facing a serious gridview problem, I am binding my gridview from code behind like(myGridView.DataSource=myDataSet; myGridView.DataBind()). But the problem is when i click the inbuilt "edit" button of the grid and the rows comes to edit mode, I cant able to get the cell values in any of the event like row_updating etc. For all the "rows(index)cells(index).Text" its displaying the blank text "". I am not able to figure out what the problem is. Please help me out friends....
I have tried all of these commands:
1). lblMessage.Text = CType(CType(e.CommandSource, LinkButton).NamingContainer, GridViewRow).Cells(4).Text
2). Dim m_ColumnText As String
m_ColumnText = GV1.Rows(GV1.EditIndex).Cells(4).Text
3). lblMessage.Text = Server.HtmlDecode(row.Cells(4).Text)
All are showing blank text, but i have values in my grid cells i can see it from my eyes.....i am very frustrated....plz...plz...help me out.
Thanks in advance.
Sheel Gohe
|
|
|
|
|
Hi there,
What does your gridview look like? What is the column 4? If the cell 4 simply contains an input control like Textbox in Edit mode, the Text property returns empty.
|
|
|
|
|
Yes minhpc_bk, the cell 4 simply contains an input control like Textbox in Edit mode, and the Text property returns empty string ""....
Do you know the cause!!
Sheel Gohe
|
|
|
|
|
Sheel Gohe wrote: Do you know the cause!!
Yes, . In Edit mode, the cell does not contain text, but a text box so that the user can input the value, so the Text property of the cell should be empty. And if you want to access the value, you should cast the child control contained in the Controls collection of the cell 4 (.Controls[0] ) to the TextBox control, then access the Text property of the textbox.
|
|
|
|