|
Looks like your webserver has not .net 3.5 framework installed. Install .net3.5 sp1 there then there should not be an error.
|
|
|
|
|
i'm not sure,
because i have applications that already running on the server.
|
|
|
|
|
treuveni wrote: i'm not sure,
You are not sure of what? How to install .NET 3.5 while other applications are running?
OR
You are trying to say that other applications that need .NET 3.5 are already running so that installation would not resolve your issue?
If it's the first one, you don't have an option other then to have a downtime and install it on server!
|
|
|
|
|
|
hi...........
I have a gridview and button.When click on button then all gridview rows inserted into database.how to do this?
please help me.....
thank u.
|
|
|
|
|
You may have a GridView but without a datasource connected to it it won't display a thing. The contents of the datasource is what you want to store in the database.
Have you even looked at examples of GridView?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
thanks for reply.....
I have created datatable and that field are added into gridview.
|
|
|
|
|
Take your datatable, loop through it and insert each row into your database table then.
|
|
|
|
|
You can bind DataSet with the grid so that adapter will save all the rows on single button click.
You need not require to loop for all rows in grid. Adapter will do Bulk Insert.
|
|
|
|
|
Got that you are a beginner, but have you read anything on how grid row values can be selected and used?
Any book, tuorial? Google?
In button click event, you have to traverse row by row and insert in DB. Try first.
|
|
|
|
|
I got this error on postback the form after 20 minutes , i am using asp.net 3.5
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[CryptographicException: Padding is invalid and cannot be removed.]
....
......
[ViewStateException: Invalid viewstate.
Client IP: 122.162.81.11
Port: 50254
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19
ViewState: O8yx/NB6OwGsouM4ow3.....
please any one suggest?
|
|
|
|
|
Try disabling EnableViewStateMac Property from @Page directive.
EnableViewStateMac="false"
This may work. Just a guess.
|
|
|
|
|
can you please tell me hat is the need of linq and with simple example
|
|
|
|
|
|
Use what little intelligence you have left and do this sort of thing for yourself.
I can't believe someone gave you any information at all.
|
|
|
|
|
I got an mvc application and whenever I run my page and look at the output, there's a lot of empty lines. I know it's not that important but I want my page to be as small as possible. I tried using a WhiteSpaceRemoval Http Module but it removes all the whitespaces and newlines including the necessary ones.
Thanks a lot.
|
|
|
|
|
I have declared asp.net hyperlink under the TemplateField of the Gridview. How could I find the hyperlink in the code.
Thanks
<asp:TemplateField><ItemTemplate><asp:HyperLink ID="hyperLink1" runat="server" />
</ItemTemplate></asp:TemplateField >
|
|
|
|
|
You will have to handle the RowCreated event of the Gridview.
Within this event:
Dim HyperLink As HyperLink = TryCast(e.Row.FindControl("hyperLink1"), HyperLink)
I don't use GridViews but this should get you started.
|
|
|
|
|
Thank you Jason, I am looking into it.
|
|
|
|
|
Could you please give me any link to a real web page which currently uses Wep Parts, I know the technology but I would like to see it working in the practice.
Best Regarsrd
|
|
|
|
|
There are literally thousands of them, many you may not even be able to tell are using WebParts.
FJJCENTU wrote: I know the technology but I would like to see it working in the practice.
These statements are mutually exclusive. How can you claim to know the technology yet have not seen it in practice?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
My question has reference to that I have just done 3 Intranet projects, so I know how Web Parts work and how to work with them, but I never has seen other projects using Web Parts in Internet in order to get more utilizatión possibilities, so I simply try to see other Webs using Web Parts. I don´t think that it sounds so strange, at least for me.
|
|
|
|
|
I would like to display the result of an SQL query in a table: asp.net, please I need your advice, thank you
|
|
|
|
|
|
thanks, but I must respect what is asked
|
|
|
|