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
~42.4K People Reached
Interests
Swimming, walks, coding, learning new things
PC Specs
Windows 7
Favorite Tags

110 Posted Topics

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
139
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
218
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
133
Member Avatar for coder91
Member Avatar for crazydevelopervish
0
108
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
140
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
124
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
71
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
336
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
194
Member Avatar for Begginnerdev

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

Member Avatar for Begginnerdev
0
234
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
89
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
168
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
126
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
226
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
90
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
263
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
113
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
115
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
83
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
111
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
153
Member Avatar for madhan

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

Member Avatar for nakor77
0
154
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
125
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
122
Member Avatar for vinnitro

You would use one of the other methods by passing it the parameter types that it expects. If you want to use the method that takes two integers, then pass it two integers. If you want to use the method that takes two doubles, then pass it two doubles. The …

Member Avatar for vinnitro
0
178
Member Avatar for GTTravis

I'd use a [FilteredTextBoxExtender](http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/FilteredTextBox/FilteredTextBox.aspx) from the AjaxControlToolkit. For the YUP control, if it's always going to have YUP at the front then just limit them to putting in the numeric part of it and you can add the YUP to it.

Member Avatar for GTTravis
0
98
Member Avatar for bhawnanarang91

Do you have a table named adb? You're trying to insert a Student ID, are you sure the table isn't named Students or something similar?

Member Avatar for Momerath
0
204
Member Avatar for Mechizedek

where's the code for UrlHelper? Does it have a method or property named AccountPicture?

Member Avatar for nakor77
0
59
Member Avatar for Cameronsmith63

Is thre a reason you have the part where you rebind the GridView commented out?

Member Avatar for nakor77
0
199
Member Avatar for GTTravis

How are you loading the data for your listview? Are you going to be using a datasource control, such as a SqlDataSource or EntityDataSource? Or are you going to be setting the datasource in your code behind somewhere? Will the ListView always display the same columns? It would help some …

Member Avatar for GTTravis
0
277
Member Avatar for GTTravis

You can use the template field as suggested by JorgeM. If you use the AjaxControlToolkit then you could use the [FilteredTextBoxExtender](http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/FilteredTextBox/FilteredTextBox.aspx) to limit what the user is able to enter. Regardless of how you handle it on the client side you should always validate the input on the server side …

Member Avatar for GTTravis
0
209
Member Avatar for nakor77

I'm not sure if this is where I should post a bug, so if not maybe it can be moved. When making a post the thread count does not increase until the page is refreshed. This is in the mini profile area on the left side of the post. Not …

Member Avatar for Dani
0
127
Member Avatar for GFX010

The easiest way is to use the PagerStyle-CssClass property and then just style the pager using CSS Here's a [link](http://atashbahar.com/post/GridView-makeover-using-CSS.aspx) to a simple example.

Member Avatar for nakor77
0
51
Member Avatar for Donnovan

The property is basically just a shortcut for a method that returns a value. If you looked at the il for it you would find that a get method was created by the compiler. If you had a property called Age the generated il asm code would contain get_Age and …

Member Avatar for Donnovan
0
137
Member Avatar for Mike Askew

If you're using .net 4.0 or later you can create default values for your parameters public static void Feed(string Food="Unknown") { if (Food != "Unknown") Console.WriteLine("{0} eats some {1}.", Name, Food); }

Member Avatar for Mike Askew
0
145
Member Avatar for varoluscu_prens

You shouldn't be trying to leave a connection open like that. You should close the connection in the same request in which it was opened. Also I doubt Your static variables will work quite like you want. ASP.net is a multi threaded environment which means you could still have multiple …

Member Avatar for nakor77
0
303
Member Avatar for ypks_destiny

What exactly do you need help with? Do you have any code for this yet? Are you getting any errors? I'm more than willing to help, but I'm not going to just do your work for you.

Member Avatar for nakor77
0
87
Member Avatar for divyaselvaraj

http://www.asp.net has all sorts of tutorials for gettings started with asp.net, including how to connect to the database. Do you have a more specific question or problem?

Member Avatar for omar isaid
0
143
Member Avatar for papillonx101

I notice your dropdownlist doesn't have a datasourceid set so I'm going to guess you're databinding your dropdownlist inside the page load as well. Make sure to put that databinding inside of a !IsPostBack block, otherwise your dropdownlist gets repopulated on every postback which will cause the selected value to …

Member Avatar for papillonx101
0
4K
Member Avatar for Dylxy

Another tutorial http://www.codeproject.com/Articles/8477/Using-ADO-NET-for-beginners You can also google ADO.Net to find more, there's a lot out there

Member Avatar for king03
0
244
Member Avatar for kinza1

You haven't really provided enough information for anyone to help you with. If you're using some sort of content management system for your site you might should contact their support (if they have one) to see if there are some common issues that might be causing your problem. If it's …

Member Avatar for youasif
0
149
Member Avatar for jordy.deblock

If I had to guess I'd say it's most likely a permission issue. You have the right privileges to access those network location which is why it works when you run it, but your server that's running the application doesn't.

Member Avatar for nakor77
0
68
Member Avatar for maxpaine69
Member Avatar for minbor

The End.