Problem in Asp.Net DataGrid
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,
RE: Problem in Asp.Net DataGrid
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,
Microsoft Support Professional
***Disclaimer: This posting is provided "as is" with no warranties and confers no rights.***
>Thread-Topic: Problem in Asp.Net DataGrid
>From: "=?Utf-8?B?bWFubzRjQHlhaG9vLmNvbQ==?=" <firstname.lastname@example.org>
>Subject: Problem in Asp.Net DataGrid
>Date: Mon, 8 Nov 2004 22:50:01 -0800
>X-Newsreader: Microsoft CDO for Windows 2000
>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
>Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet.datagridc ontrol:11416
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.datagridc ontrol
>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,
|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.