Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
22
Posts with Upvotes
21
Upvoting Members
18
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
6 Commented Posts
~41.8K People Reached
Interests
Swimming, walks, coding, learning new things
PC Specs
Windows 7
Favorite Tags
Member Avatar for ssreevidya.m

might need to see more of the code than just that one line. That doesn't really tell anyone what is going on.

Member Avatar for Rahuls45
0
2K
Member Avatar for sandesh.ps.9

Can you provide the code for the GridView, where you're databinding it, and the code where you're trying to get the radio button values?

Member Avatar for johnny-bravo
0
4K
Member Avatar for HunainHafeez

you tell it to cancel from the edit event by calling e.Cancel = true. This allows you to cancel edit mode when the edit was successful or leave it in edit mode if the edit failed. protected void gvTest_Edit(Object sender, GridViewEditEventArgs e) { gvTest.EditIndex = e.NewEditIndex; Response.Write("Editing..."); if (successful) { …

Member Avatar for nakor77
0
134
Member Avatar for nakor77

This snippet will allow you to easily work with session variables in your applications. This example is using a string type but it works the same for any data type, you would just need to change the default return value from string.Empty to something more appropriate.

Member Avatar for LastMitch
0
215
Member Avatar for cyberdaemon

what does myBAL.GetRecord(_myRecord) return? It sounds like a single object, in which case it would not work because the GridView expects a list of items. It needs to return an IEnumerable, List, or something along those lines.

Member Avatar for cyberdaemon
0
127
Member Avatar for coder91
Member Avatar for crazydevelopervish
0
105
Member Avatar for while(!success)
Member Avatar for TIM_M_91

this looks like everything is in one page? Where is your code for the second page? How are you trying to load the ListBox on the other page?

Member Avatar for JorgeM
0
137
Member Avatar for MARKONINI
Member Avatar for Gaving30

What is the exact process that you are having problems with? Are you getting some errors that you don't understand? You say you're having trouble which suggests you've made some attempts to get this working on your own, where's your code?

Member Avatar for Gaving30
0
122
Member Avatar for krishhari

what is "latest asp.net projects with abstract"? I really don't think anyone is going to send you every project they've worked on in the last year. If you're asking for something else then you need to make your question a lot more clear.

Member Avatar for nakor77
-1
68
Member Avatar for DaveD3

Since you're wanting to run this from a web server your best choices would be either an asp.net webforms application or an asp.net mvc application. Either one should be able to do what you described.

Member Avatar for JorgeM
0
332
Member Avatar for Eager_Beever
Member Avatar for HunainHafeez

If I understand what you're asking correctly then this is how I' would probably go about implementing it. I'd start it with a form for a single row and have a button that the user can click to add additional rows. Use a PlaceHolder control and add the new controls …

Member Avatar for HunainHafeez
0
187
Member Avatar for Begginnerdev

Shouldn't the controls in the UpdatePanel be inside of a <ContentTemplate> tag?

Member Avatar for Begginnerdev
0
229
Member Avatar for maxpaine69

If you want to create a chat application in ASP.NET you should really look into Signalr. It's an async library built to specifically handles scenario's like this. Here's an example of a site using Signalr: [JabbR](http://jabbr.net/)

Member Avatar for maxpaine69
0
86
Member Avatar for narsimhareddy

that kind of depends on what you're using as a datasource for your gridview. If you're using a datasource control such as a SqlDatasource or LinqDatasource it can usually be set to handle the insert operation. If you're handling all of the code on the back end then just do …

Member Avatar for abhishekabhi
-1
161
Member Avatar for sanjeewa.abeywardana
Re: MVC

[The Music Store](http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-1) is a pretty decent introduction to MVC

Member Avatar for sanjeewa.abeywardana
0
123
Member Avatar for tboctavan

you can always initialize them to 0 just so they have a value and the compiler doesn't throw a fit about unused variables

Member Avatar for nakor77
0
222
Member Avatar for HunainHafeez

It's almost always a good idea to maintain a separation of concerns. It generally makes the troubleshooting process easier. If you need to change your data access you should be able to update your data access layer and not make changes to the rest of your application. The same he's …

Member Avatar for HunainHafeez
0
88
Member Avatar for michaelzip

Let me try to get some clarification. You're wanting to access the value in a control on one page, let's call it pageA.aspx, from a completely different page, pageB.aspx? I think the better option would be to pass the value that you need from pageA to pageB either using a …

Member Avatar for michaelzip
0
260
Member Avatar for saitej

knowing the error you're getting would help a lot. As a side note, you don't need to use .ToString() on the Text property of a textbox control, it's already a string.

Member Avatar for Randlathor05
0
111
Member Avatar for hcbckwidpeace93

you can do while (!Name.Equals("himanshu", StringComparison.OrdinalIgnoreCase)) { // do something } That will compare your string variable to a string and ignore the case of the strings. Here's a link to Microsoft's "[Best Practices for Using Strings](http://msdn.microsoft.com/en-us/library/dd465121.aspx)"

Member Avatar for andur92
0
114
Member Avatar for Salman.developer

You can ask questions. Please provide the code you have a question about along with any exceptions you are getting, or the results you are getting compared to what you think should be happening.

Member Avatar for JorgeM
0
81
Member Avatar for GTTravis

from your description I can't think of any specific one control that does what you're wanting. However you should be able to create something at least close to what you want using html and javascript

Member Avatar for GTTravis
0
108
Member Avatar for lianpiau
Member Avatar for HunainHafeez

What kind of template are you talking about? Is this for some sort of content management system or something else?

Member Avatar for HunainHafeez
0
148
Member Avatar for madhan

Try adding CommandName="Insert" to the link button in the item template

Member Avatar for nakor77
0
153
Member Avatar for HunainHafeez

The query string is what gets passed at the end of the url. If the page url is "http://www.mywebsite.com/index.aspx?id=123" then there is a query string with a key of "id" and a value of "123". It's useful for telling a page to load specific information. It's scope is just for …

Member Avatar for HunainHafeez
0
121
Member Avatar for crazydevelopervish

First, as @JorgM said, you really need to look into parameterized queries because right now your site would be extremely vulnerable to hackers. Second, you should avoid using variable names that are C# keywords or resemble them. "for" is a keyword and "Type" is, well, a type. You could use …

Member Avatar for nakor77
0
110