Drag and drop the Gridview control onto the work area. Now click on the quick tasks menu which is on the top right of the control. Here you get some options. Click the option New datasource and follow the instructions from there on to configure the Datasource.
After finally configuring the datasource. Your Gridview should work just fine for displaying the data. But if you also want to update or delete the data, you just have to open the quick tasks menu again and check the appropriate options like edit and delete.
You can't insert new values using Gridview. But if you want to do that you can use FormView control instead.
I need this one for my student project. I am going to give you a scenario. Please suggest a solution.
You don`t need to get into a lot of details, just tell me what to do and I will find a way to do it.
Here it goes(Don`t laugh ):
I am creating a website where I want to create a possibility for each customer to have a multiple mailing lists.
Mailing lists must me stored in a database (sql server express). How do I access data in a database based on the customers
user name? How to distinguish mailing lists of one user from the mailing lists of another. I am using ASP.NET built in authentification.
For each mailing list entry there is a name, surname, email, gender.
Can we use Nested Datalists.If we can then tell me how to do this.
I have Four datalist. one is master datalist and rest of the three are going to come under this.I want to Insert three datalist inside this master datalist. And i bind these datalists separately.very urgent
yes u can do it.
for that in teplate field u have to put datalist.
and as u want 3 datalist use different column and add datalist to everyone.
then in datarow bound event of master datalist u can find all three datalist and bind data to them.
Could someone help me out pls?
Thanks for ur reply. The problem is i have two links. On clicking one link i want my response to be redirected to the parent window and for the other, i want it to be within the iFrame. One more important thing here is, i have the iFrame defined in a different aspx page and this current page is opened within that iFrame.
Any suggestion to achieve this.
I have one doubt regarding view state.in our asp.net pages how we can keep view state value in a securely way like nobody else can access the site because view state value can be accessible to anybody ..can anybody help me..
You can secure your viewstate values by encryption (or) tamper proofing
To achieve this you need to include the following in your pages/application:
<%@Page EnableViewStateMAC=true %> ->this is tamper proofing
But i want to know how it help to secure ..usualy view state value is stored in base64 encoding and anybody can decode it also..using this proofing how it differ from the usual method....please explain a bit..
the path that it allows me for picking the pick url is the folder in which the project is lying and even if the image is pasted in that folder still it doent show that image in pick url window for me to select it and if i write it myself then it gives me an error: image not found
You need to include the image folder into your web site and then include the image into you web site. If the image is out side your web site the web site doesn't have access to the image. Also if you don't include the image with the web site when you deploy the web site the image won't get deployed with it.