blah blah blah is here! blah blah » Close

0
votes
0 answers

Web Services Questions in ASP.NET

I'm new to web services in ASP.NET. Been trying to get my head around it recently. Here are my questions. 1. The Web Service item (.asmx that you can add to your project in Visual Studio), does that only generate an XML service (generate ...

0
votes
0 answers

asp.net menu using background image

i wanna create a menu control using asp.net. using css and which will accept background image on default and on hover.plz help me. thanks in advance.

0
votes
0 answers

How to keep object member variables private to a thread in a multi threaded environment

I have a multi threaded program that opens a few threads to query an external CRM and save the results in an in-memory IDictionary in order to speed up the system. I'm a little confused about multi threading and critical sections. I want ...

0
votes
0 answers

Where to start with my C# Mobile programming Project?

I have a project to code a web site for mobile (mobile app) and it should have a connection to DB, The page should obtain a new user registration (Custom Mobile Control), And a page for authenticating a user Log in, And a page for changing ...

0
votes
0 answers

Extract string value from query, assign to user with Roles.AddUserToRole?

I'm stuck on what might be some simple ASP.NET syntax: I have a page that allows a user to enter a code into a textbox, and then checks that code against a database table to return the values of one specific table row (if the code was corre ...

0
votes
0 answers

How to add an "enroll code" feature to default ASP.NET Membership provider?

I am trying to modify the default ASP.NET 2.0/3.5 membership provider so that the user is required to enter an "enrollment code" either during or after creating an account with the CreateUserWizard control. 1. When or after a ...

0
votes
0 answers

How to Log result of bcp command to a .txt file

I am using bcp from C# asp.net web application. savefilepath = @"C:\Validations\Bcp6.txt"; System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName ="bcp"; proc.StartInf ...

0
votes
1 answers

What is the difference between OnInit( ) and Page_Init( )?

What is the difference between OnInit( ) and Page_Init( )?

0
votes
1 answers

ASP.net authenticating using Windows Authentication on MSSQL server not on trusted domain?

I'm not sure if I am even asking this the right way, but here goes. (Feel free to add any useful information that might help me sort this out, even if it is not a direct answer.) I have a paid web hosting account on discountasp.net. Sinc ...

0
votes
2 answers

ASP.NET C# database conectivity

Hi, I'm learning ASP.NET and C#. I've been trying to figure out how to have an asp.net page with 2 text boxes e.g. Name & Address which connect to a SQL database. I would like to have a button on the page which saves the text entered ...

0
votes
2 answers

ASP.net/c# how to generate variable number of tables at runtime

Hopefully this newbie question hasn't been asked too much here, as I haven't seen it looking through the last few pages. I'm looking to generate a variable number of tables at run time in my asp.net/c# webpage. It's easy enough to add a ...

0
votes
0 answers

JSSK Csharp

Hi I have downloaded JSSK & extracted JSSK in a particular folder. I don't know where to start it from. Can someone name the file. Yes I am beginner. Though I do read C# books but I want to follow more of a practical approach and want t ...

0
votes
1 answers

asp.net

hi, i need an example of session. in my project i have a hyperlink in gridview, if i click the hyperlink, the corresponding images will display in next page....so please give some idea

0
votes
1 answers

explana of c code

protected void Page_Load(object sender, EventArgs e) { if (Session["role"] == null) { hlAdminOrders.Visible = false; hlCategoryManagement.Visible = false; hlCustomers.Visible = false; hlMyOrders.Visible = false; hlMyProf ...

0
votes
0 answers

Is it bad practice to pass a model to the view that may have null vaues?

Rick_A
761

I have custom view models that I pass from my controller's action to the view. Is it bad practise to have properties on the model that are null? The values that are null are not accessed because I have a if statement to prevent access ...

Feedback