Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Datagrid Control (http://www.velocityreviews.com/forums/f60-asp-net-datagrid-control.html)
-   -   Problem in Asp.Net DataGrid (http://www.velocityreviews.com/forums/t761283-problem-in-asp-net-datagrid.html)

mano4c@yahoo.com 11-09-2004 06:50 AM

Problem in Asp.Net DataGrid
 
Hello,
I have problem i Asp.Net . I have one Asp.Net page in that i have one
ComboBox and Datagrid . In the ComboBox im dipalying the table names on
selecting a table from the combo i want to fill the Datagrid.Then I would
like to provide the Edit, Update, and Add feature for the grid for any table
selected from the combo.
Im using MYSQL 4.1 as BackEnd.
Can you help me to solve the problme.
Thanks and Regards,
Mano.

Michelle Hlaing 11-19-2004 05:34 AM

RE: Problem in Asp.Net DataGrid
 
Hi Mano,

I think you posted this question before and (re-capping) my reply to it was:

There are plenty of examples on the web of what you are trying to do. You can also look up "Samples and QuickStart tuturials" that comes with the
Framework 1.1 (Start -> All Programs -> Microsoft .NET Framework SDK v1.1) you can also find an example there on how to create a DataGrid with the Edit,
Update, Add feature.

Basically, with the combo box, you would have to modify your code to bind the datagrid for the selected value in the ComboBox.SelectedIndexChanged
method. In the DataGrid events, you would have to probably do an IF clause to check what is the selected value and then perform the update or add to the
right database table.

Hope that helps,

Michelle Hlaing

Microsoft Support Professional

***Disclaimer: This posting is provided "as is" with no warranties and confers no rights.***
--------------------
>Thread-Topic: Problem in Asp.Net DataGrid
>thread-index: AcTGKFXKUqa8kkOYQVexKl20G7VnEQ==
>X-WBNR-Posting-Host: 61.11.62.217
>From: "=?Utf-8?B?bWFubzRjQHlhaG9vLmNvbQ==?=" <mano4cyahoocom@discussions.microsoft.com>
>Subject: Problem in Asp.Net DataGrid
>Date: Mon, 8 Nov 2004 22:50:01 -0800
>Lines: 10
>Message-ID: <386E78E7-CA45-4B33-AB73-F4AB0A7199A7@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.dotnet.framework.aspnet.datagridc ontrol
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet.datagridc ontrol:11416
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.datagridc ontrol
>
>Hello,
>I have problem i Asp.Net . I have one Asp.Net page in that i have one
>ComboBox and Datagrid . In the ComboBox im dipalying the table names on
>selecting a table from the combo i want to fill the Datagrid.Then I would
>like to provide the Edit, Update, and Add feature for the grid for any table
>selected from the combo.
>Im using MYSQL 4.1 as BackEnd.
>Can you help me to solve the problme.
>Thanks and Regards,
>Mano.
>





All times are GMT. The time now is 02:34 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57