|
by: Martin Hazell |
last post by:
For various reasons, I have had to produce a quick (!) page to edit one column of data in a database with ASP.net. With this being my first foray into ASP.net, I apoligise for any basic erros I have made.
The main problem is when setting up an ASP.net datagrid, which I can edit the single value of a specific column. I have wired up the update and edit methods to change the current edit row. I worked through the example in the MSDN help to...
|
by: Nic |
last post by:
Hey,
I have an ASP-application. In the ASPX I have an <asp:dropdownlist ..>.
Now when I leave this control I want to initialisize some other fields. In window forms we uses the onleave event but here it don't exists.
How can I resolve this problem?
Tkx;
Nic
|
by: JohnR |
last post by:
I have a table with 1 row which is used to hold some application wide items
(one item per field, hence I only need 1 row).
I want to bind one of the fields to a textbox. After setting up the
oledbconnection and dataAdapter and filling the DataSet (ds) I tried this:
TextBox1.DataBindings.Add("text", ds.Tables.Item("MyFile"), "MyField")
I then put the following code in the SAVE button click event:
|
by: simon |
last post by:
hello,
new to vb.net, have a few questions about DataGrid. I have a dataGrid
that is working pulling a dataset back from a stored proc and binding
to the datagrid for display
the datagrid's first column is a textbox(TemplateColumn), the other 3
columns are just display(BoundColumn).
(1) if the value of the textbox is 0, then i'd like to change it null,
so the box is empty
|
by: witek |
last post by:
I am lost.
There is a dataTable with data which I want to dispaly in GridView.
dataTable is not connected to any database. Just dataTable with data.
There is a class wich is used as column template
//-------------------------------------------------------------------------------------------------------
public class TextBoxTemplate :ITemplate
{
DataControlRowType m_rowType;
|
|
by: AssOnFire |
last post by:
Hello, I have bound a textbox to a CustomerName column of my DB, using
the data binding property, and selected it from the DataTable.
when i change the text in the texbBox, i try to update the DataSource
but no luck, it seems that the datarow wasn't affected.
Hows the binding of the textBox supposed to make the change in the
data row?
if not - how to i solve this problem and make every change of the text
|
by: JaM |
last post by:
Hi all,
I have created a gridview vith dynamic textbox columns (they are in
variable number, it depends on what things I select from database)
aspx code:
__________________________________________
<asp:GridView AutoGenerateColumns="false" ID="GridView2" Runat="server"
<Columns>
|
by: Tomasz Jastrzebski |
last post by:
Hello Everyone,
I have a GridView control bound to a plain DataTable object.
AutoGenerateEditButton is set to true, Edit button gets displayed, and
RowEditing event fires as expected.
|
by: gomathinayagam |
last post by:
hai,
am only beginer in c#...
i am trying to connect database with webform. using a technique that the fields of the table and the controls in a form are named same...then i try get the controls and check their name with
database fields names if they equal then i plan to do addition or update etc...
MY PROBLEM is, i am succeed in addition, but know i try to edit the same field. i assign the datatable and made the changes in that...
|
by: cj |
last post by:
When viewing a datatable in a datagridview one of the columns in it is a
"note" field which can be quite long. I would like to have the note
field of the currently selected row of the datagrid display in a textbox
below the datgridview. I currently have it fixed so if you click on a
row the note field from that row is put in the textbox. I'd like this
to be automatic as they move through rows.
Also the note field is one of two fields...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|