Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > New to ASP.NET

Reply
Thread Tools

New to ASP.NET

 
 
SF
Guest
Posts: n/a
 
      03-05-2007
I have an default page with one DropdownList that show the category and a
gridview control to list Subject and date of the select category (from DDL).
I have an SQL Database to supply the control with information. The page seem
to work OK except that there is no data (empty) in the page when running.

To be able to enter new data (category), I have create another Page contain
a gridview that link to tblCategory table. Gridview has Allow Edit, Allow
Paging, allow Delete etc.. But there is no Allow Adding New Data. How Can I
creat a Page where user can enter new data?

SF


 
Reply With Quote
 
 
 
 
=?Utf-8?B?QWRsYWkgTWFzY2hpYWNo?=
Guest
Posts: n/a
 
      03-05-2007
hi

did you consider using the formView component

add a button on the top
and on the click add

FormView1.ChangeMode(FormViewMode.Insert);

don't forget to bind the FormView to the relevant select/update/insert/delete
SPs

-------------------------------------------
אם תשובה זו עזרה לך, א*א הצבע "כן"

If my answer helped you please press "Yes" bellow

Adlai Maschiach
http://blogs.microsoft.co.il/blogs/adlaim/


"SF" wrote:

> I have an default page with one DropdownList that show the category and a
> gridview control to list Subject and date of the select category (from DDL).
> I have an SQL Database to supply the control with information. The page seem
> to work OK except that there is no data (empty) in the page when running.
>
> To be able to enter new data (category), I have create another Page contain
> a gridview that link to tblCategory table. Gridview has Allow Edit, Allow
> Paging, allow Delete etc.. But there is no Allow Adding New Data. How Can I
> creat a Page where user can enter new data?
>
> SF
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript new-new-new-new-newbee weblinkunlimited@gmail.com Javascript 2 03-11-2008 01:15 AM
New computer, New OS, New Wireless Problem :-\ =?Utf-8?B?RGFu?= Wireless Networking 3 07-31-2005 02:11 PM
[Firefox] Use New Tab instead of New Window? paul j Firefox 7 04-07-2005 09:40 PM
Why can not register a new .net passport or a new hotmail account Alick Lv MCSD 1 01-04-2004 06:12 PM



Advertisments