.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

Suggest me an IDEA

Posted By:      Posted Date: September 25, 2010    Points: 0   Category :ASP.Net

As I am new to Dot net I dont know the best solution for the requirement..

My requirement as follows ....

1) There are 5 dropdowns, If user selects the first one, the items of the second changes according to first selected drop down option

     Like Wise It follows for the rest drop downs..

2)  There are 4 options Emp No only,Id only,Both exists and none exists.When user gives selected last drop down,It have to check whether any record existed in the DB with the same drop downs selections

     If not exists then user has to check the any one of the above option button else the according to the Database entry the option should be highlighten and make rest all disabled. ( Option can be decided by Zero entry in the column if both values are zero's then it is non applicable)

3) According to the above selected option the textboxes which accepts emp No,Id should be readonly that is, if user gave Emp no only option the textbox which takes input for ID should contains value 0 and should be readonly. where as for the textbox EmpNo zero not allowed.

4) Textboxes should be dynamically created. And there should be a strict check for the values entereted by the user. Should not allow user to proceed furthur if there is any wrong input.

5) while entering inputs in between h

View Complete Post

More Related Resource Links

i need clear idea and explanation about view state


can any one please explaine me about view state property, i need the basic thing, what is it actually, and why we use, wthat is the use of it. and etc etc plsssssssssssssss

Need an idea.

I have a scenario like:I have already created a website, there is facility of EMAIL .Like inbox,outbox,Sent items and many other optionsWhen user login into his account these facilities can be seenI have the new requirement thatI have to log the user activities.I mean to say whenever user uses any option it must be logged in a table.for example:If user enters in to the InboxI have to store the information in the database likeUSERID ,Inbox,Dateand timeSimilarly if user enters SentmailI have to store the information in the database likeUSERID,SentItems,Dateand timewith minimal amount of coding how can i do it?

WF 4.0 Basic Idea

HI, I have 10 million records and I want to loop thru all of them and check for some logic. I need to do this using WF 4.0. Which is the best approach to do this? Any suggestions Thanks.

Binding WPF grid to ViewModel : Suggest the design

I have structure like this I have following structure BaseViewModel ViewModel1: BaseviewModel ViewModel2: BaseViewModel In grid i will be showing the data from both the ViewModel1 and ViewModel2 (some common data is there ) How should i go about this Expected functionality : IF i select any row in the grid i should get respective ViewModel    

Entity Framework and stored procedures with OUTPUT parameters (suggest API)

EF does handle stored procedures with OUTPUT parameters, but the generated methods are not the easiest to work with or safest you could ask for. The ObjectParameter objects you have to create, pass to the method and extract the value from are not type checked and reallyObjectParameter nameParam = new ObjectParameter( "Name", typeof(string)); ObjectParameter ageParam = new ObjectParameter( "Age", typeof(int)); context.GetPersonsNameAndAge( personId, nameParam, ageParam); string name = Convert.IsDBNull(nameParam.Value) ? null : (string)nameParam.Value; int? age = Convert.IsDBNull(ageParam.Value) ? null : (int?)ageParam.Value; is not what I would want to have to write.The ObjectParameter objects do make some sense for stored procedures that return both a resultset and some OUTPUT parameters, because in that case the OUTPUT parameters are only available after the resultset has been consumed and therefore you need some objects that will be populated after the ObjectResult<...> gets processed but for the stored procedures that do not return any resultset, there is no reason not to create the ObjectParameter objects within the method and extract the values there as well. So that the procedure above may be called asstring name; int? age; context.GetPersonsNameAndAge( personId, out name, out age); Things are not so simple for procedures returning both. I'm

Please Give me an Idea

Dear Members,              I have two webforms.              1.Home.aspx(It have one button)      2.Products.aspx <asp:Button ID="ButtonProducts" runat="server" Text="Products" PostBackUrl="~/Products.aspx"/> I need, If i click the "Products" Button in "Home page"..... >>Then "Products.aspx" should be get displayed on the Home page but with reduced height and width of the "Products.aspx" page.. Please give an idea for this...                              

I need a suggestion to bind the data in share point 2010 page.Suggest some right control to do this.

In my visual web part i need a control to display rows with grouping option. In my web part i am going to display all my document library and  announcement so that i need groping option. I need to do grouping option in the view.so what is the best control u suggest me to bind my data? 

Any idea about how to do photo capture from webcam and save it to database MsSQL server

i would like to do a project that enable to capture photo from webcam, and record audio from microphone store to database. but the photo and audio store in folder and the database only store the filename. later i set the path and its play back the audio and show the photo.thanks

Suggest controls for the data format shown in message.

Hi all,  I have to display data in following format in asp.net. Please suggest me the best suited control for the same. Any help with code, rather than just the control names would be much appreciated.thanks in advance.-Harshal Month Category Budget ($) Actual ($) Updated Budget ($) Completed August 2009 --> CMG0 --> -$22,294,000.00 $0.00 -$22,294,000.00 Y TOTAL: -$22,294,000.00 $0.00 -$22,294,000.00   September 2009 --> CMG0 --> $0.00 $0.00 $0.00 Y TOTAL: $0.00 $0.00 $0.00   October 2009 --> CMG0 --> $0.00 $0.00 $0.00 Y TOTAL: $0.00 $0.00

Unit Test in MVC. What frameworks do you suggest?

Hello,What Unit Test Framework and Mock would you advice me for test MVC projects.Thank you,Miguel

Having difficulty in the following ( Please suggest the way)

Hi all, iam facing the difficulty in the following I have stored the image path in to Databse Column named ImagePath Now if there is no Image Path in column then i have to display the 'No Image Found' message  else the Image path  accordingly. I tried the below  but confused SELECTCASE When (ImageInfo.ImagePath = null ) then 'Not Avaliable' when (ImageInfo.ImagePath != null ) then ' ' End As ImagePath How i get it working ????? RegardsRameez    

A transaction sql issue, Please see and suggest,,,,,,,,


There is a table

ID        Grade

1            a

1           b

2           a

3          a

3          b

4          a

4          b


I want to retrive the data and output as

ID      Grade

1         a|b

2          a

3         a|b

4         a|b

It looks that the data can not be  [group by] and join the string  in the same group by any existing system function,

We can use cursor to join those data by comparing the id

Do you have any better solution?


Deadlock - i guess i have an idea why, but i'd like to make sure.



What happens if form A is waiting on a lock(object) while another thread, which has the lock for this object, performs an A.Invoke(...)?

I have a deadlock and not finding any other explanation i assume this may cause it.

'One-to-One' always a bad idea?


I keep reading that a one-to-one relationship in a database is poor design, however I have a situation that to me seems natural.  In my logic I have two classes that inherit from a base class.  So both classes share a core set of properties that are mapped into a base table.  However, the extended properties are of course different for each extended class, so then I created separate tables for each type, and mapped to the base table via a one-to-one relationship.  So an instance of either class gets an entry in the base table, then another entry in one (but never both) of the extended tables, depending on it's specific class type.

To me that makes sense to have the database neatly follow the same lines of inheritance/separation in the logic.  But again everyone says one-to-one is bad.  Is the common approach just to put everything in one table, then null out any property that doesn't apply?

Need an Idea for doing bulk compare and insert


Hi Friends,

I got a scenario where we want to move some 30k records from a staging table to main table while moving we need to compare the columns from staging to history table and insert some new columns along with the columns in staging tables.


I will give one example.

Lets take staging table with scol1, scol2, scol3

Main table have mcol1, mcol2, mcol3, mcol4,mcol5,mcol6

History table have hcol1,hcol2, hcol3,hcol4, hcol5,hcol6

so i wil move the staging table to Main table by comparing columns scol1, scol2, scol3 with hcol1,hcol2, hcol3 and mcol4,mcol5,mcol6 will contain the 1 if values differ or 0 if it contains same value



Can any one suggest?


I am working on Shopping Cart its almost done. But i need small help from you guys.In my application final Step when  customer try to  CheckOut  the products cart should be email with attachment as a PDF.

This application developed using vb.net.

I have completed till the checkout page. After that i am not geting any Idea how to send the cart Items to email as a PDF.

I tried to convert the webpage, repeater control to pdf but no luck...I can't spend money on thirdpaty tools.

Even i tried free One itextsharp but i could not get it..

check out page has  the following

1.products on a repeater control and some labels.and other server controls.

2.Images company Logo

Can any one tell me how to send the cart items as email in pdf format.

Is there any other best way  to send sales Quotation to customers on products.

Thanks in Advance....

Please Suggest a Query


Dear   frnds,


I have table like following.



 Col 1       Col 2


 X               A1


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend