How to rectify the error in asp.net [closed] - asp.net

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I create an one webpage in asp.net all the time i am facing the following pbm how to rectify it..
if(ds.Tables[0].Rows.Count > 0)

Maybe you need to check that ds.Tables[0] exists first

If you are constantly checking on your pages to see if that dataset has a table with rows, I would think you would want to make some helper class to check that your dataset is not null, and that whatever tables have actual rows. Also you might want to think about moving these to typed datasets.

Related

Can we select the table data without using select statement [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Is it possible to select the data using indexes without using select statement...
No, you can not, you have to use it anyway. You can use stored procedure and call them from asp.net but stored procedure would have select statement to get data from tables.

What options for statistical analysis with asp.net and ms-sql? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to do some statistical analysis with an ms-sql database for an aps.net application. What are the options as I don't see many built-in functions for my purpose? Thanks for any suggestions. Options that you actually use would be appreciated.
Check out MathDotNet, it can do pretty much anything you'd need.

add new field to the standard aspnet_Membership table [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have added a new field to the standard aspnet_Membership table.
Now that it's added, how do i get or set this field by UserId?
Delete, plese.(5-8-2013)
You should not change default membership table . Instead use profile fields. Following articles will help .
http://weblogs.asp.net/scottgu/archive/2005/10/18/427754.aspx
http://msdn.microsoft.com/en-us/library/2y3fs9xs.aspx
I don't recommend to use the profile features due it have a way too dirty to store the data. Only if you need just one or two more fields, it may have sense.
Anyway, you need to attempt to document yourself a little more before ask this kind of questions...

asp.net mvc module wiseapproach or table wise approach [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
asp.net mvc module wise approach or different controller and repository for each table approach is better?
Could you elaborate on your question? I think I understand... I like creating a repository for each table in a LINQ-to-SQL or entities model, for instance. I think that helps group together related logic.
HTH.

web.config file setting in asp.net [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
explain session type =sql server'
That allows session data to be stored in SQL Server. See this knowledge base article for a fuller description of the procedure.
It's used to determine where you store your session variables, in this case a SQL Server.
You can read more about it here.
EDIT: And even more here.
Here is a nice article about Exploring Session in ASP.Net. Have you ever used Google? We are more than welcome to help newbies but questions in this format is not encouraged ;-) Please explain more about your requirement.

Resources