ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  C Sharp
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
I am using a data table and a datagridview.
I am creating two columns in data grid view :
1)DataGridViewComboBoxColumn 2)DataGridViewTextBoxColumn.
The items of datagridviewcombo are the list of all items in 
data table column 1.
I want that the data type of the DataGridViewTextBoxColumn 
should be the same as the data type of the item selected 
from the datagridviewcombo at runtime.
How can I do that.Also I want that each cell in column of 
datatable should be of variable data type.
Pls help.
thnx.
 Question Submitted By :: Jyo
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I am using a data table and a datagridview. I am creating two columns in data grid view : 1)DataGridViewComboBoxColumn 2)DataGridViewTextBoxColumn. The items of datagridviewcombo are the list of all items in data table column 1. I want that the data type of the DataGridViewTextBoxColumn should be the same as the data type of the item selected from the datagridviewcombo at runtime. How can I do that.Also I want that each cell in column of datatable should be of variable data type. Pls help. thnx.
Answer
# 1
use remote script to acheave at run time 
or use java script methods like
document.getelementbyid('gridfind contol').onblur=textchange
()//method
this is normal java script method to change at client side
 
Is This Answer Correct ?    0 Yes 2 No
Rajashekar Reddy.y
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
What is Abstraction? Tech-Mahindra3
why instance? what are the uses of instance? Choice-Solutions2
what is namespace?  6
Explain constructor? Wipro6
How?s the DLL Hell problem solved in .NET? Visual-Soft1
How to make a class non-inheritable other than sealed?  3
what is read only and constant IBM8
What is a HashCode?  1
Difference between dispose and destructor? TCS2
What is early binding and late binding TATA5
what r arraylist? what the use of Hashtables?  4
int i = 1; int j = 1; System.Console.WriteLine(i == j); System.Console.WriteLine(i.ToString() == j.ToString()); System.Console.WriteLine((object)i == (object)j); Give the sample code above, what is the output to the console?  3
What does the term immutable mean? Techno-Labs2
Does C# support multiple inheritance?  3
A->B->C (EXTENDS) How the constructors are called when we created an object of C Karur-Vysya-Bank-KVB2
Difference between ByVal and ByRef? Microsoft3
how to change a value of particular cell in a data grid  3
What?s the role of the DataReader class in ADO.NET connections?  2
What?s the advantage of using System.Text.StringBuilder over System.String?  1
Will finally block get executed if the exception had not occurred?  2
 
For more C Sharp Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com