what is the difference between primary key and foreign key?
Answer Posted / vimal chauhan
Primary key does't allow null value
while foreign key allow null value
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
Which tool you have done?
What is difference between cookies and cache?
Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal
What are validator? Name the validation controls in asp.net?
how to transfer the file from client to server using asp.net
What are url fragments?
What is mvc in angular?
Which namespace is used by ado.net?
What are navigation controls? How many navigation controls are there in ASP.NET 4.0?
What is manifest in .net framework?
Write a code snippet to implement the indentation in json in web api.
Which data type does the rangevalidator control support?
Where is asp.net view state stored?
What is the difference between file-based dependency and key-based dependency?
How does session work in asp net?