Not necessarilly - you can simply set a unique constraint on the column. That way, you don't need to f*** around with composite keys (assuming that the normal method of PKing the identifier col is being used)
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
i am developing a web page in which i have datagrid having many coloumns now one column contain edit button after clicking that link or button the id(customer id first column) of that perticular row must be sent (append to url). how can i do this i am using VS2005
forit u can use CommandArgument,CommandName Property of the CommandButton.
just write pass the id of the customer into commandargument from aspx form. and the id in code file.
and pass this id as querystring into the
I want to add dropdownlist listitem collection from the database. How can I do this databinding with the database. I am using following code, but it binds the default data to the dropdown list and listitems are static.
This code displays the list items, but I want to bind this listitem data with the database.
At present I have four list items and I want to give advantage to user to add more in future if he wishes to do so. So I do not want to hard code the list items in the code.
Thanks, but This is not helping me. I will explain my scenario more:
I have a table having columns "ID" and "DefaultValue". This table will consist of information about no of controls through column ID. And against each ID their default value will be stored.
For DropdownList, suppose ID is ddList1 and values may be "Red|Yellow|Green|Blue",
here Red is selectedText for ddlist1 and other three values will be in dropdown listitem collection.
actaully he created some subdomains Folder just like a main one in which we upload our project..so,
when i try to run my project from these subdomains URL it does not work so i wanted to ask that whether i have to put my whole project in all the subdomain folders individually or is there any way by which these subdomain can directly be link with the main domain folder.so these links will work automatically
i think now it is something clear..
or yet u didn't got my problem plz tell me the basic concept of subdomain and how can we use these subdomains.
these subdomains are individual folder on server..my site folder is seperate domain and all my project is reside on this folder now how my subdoamin folder will be link to main domain folder with out copying all the project on subdomain folder.
In IIS console, open the properties for the web site that you want to handle the names. In the "Web Site Identification" section there is an "Advanced" button, that will open a window where you can add identities for the site. The "Host Header Name" is where you put the subdomain names.