|
by: Steve Roberts |
last post by:
First of all let me say that I am very new to .NET and C#
and I need help so please bear with me. I have a tree
control that is dynamically populated from a dataset of
two joined tables. When a node is selected a groupbox is
displayed on the right that has textboxes to display
fields in the data set from the selected row. The fields
are...
|
by: cwbp17 |
last post by:
Have a datagrid that displays the price column in this format $12,400.00 from
a table.
Went to the Property Builder of the datagrid and selected the Price column
and changed the Data formatting expression to {0:c}
*********
Have the following code in the DataGrid1_UpdateCommand event handler
string key = DataGrid1.DataKeys.ToString();
|
by: Joe |
last post by:
I have a really simple application for inserting/updating record in a table.
The app uses a sqlConnection, sqlDataAdapter and a dataset.
I bind the fields to text boxes and a grid to allow for the insert/editing.
I also have a button that does a Table.NewRow() and another to do the save.
I tried using sqlDataAdapter1.Update(dataset11) but...
|
by: CJ |
last post by:
Have problem updating a web form.
Unfortunely when i edit one of the feilds and press the button, it loads the
old data back without any change !! I be happy if some one help me fix this
update problem.Thanks
I use the wizard for generating sqlconnection, sqladapter and dataset.
AutoPostBack is set to true for all fileds
EnableViewState is...
|
by: abdoly |
last post by:
i wrote a code to update datagrid with the datagrid updatecommand but i cant get the updated values after being update
that is the code
private void DataGrid1_UpdateCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
TextBox temp
temp=(TextBox)e.Item.Cells.Controls
String str=temp.Text;
str always returnt the old...
|
|
by: FST |
last post by:
Hello All,
Why does the database update from inside the Button1_Click event, but won't
update from inside the DataGrid1_CurrentCellChanged event when I change
cells? The message from inside the DataGrid1_CurrentCellChanged event
appears but OleDbDataAdapter1.Update(DataSet11) doesn't happen.
Private Sub Button1_Click(ByVal sender As...
|
by: plenahan68 |
last post by:
I've made a small vb.net program to read my database and delete records
that are specific to my needs. Well, the program says it's complete but
nothing is deleted from my database. I've listed the code below.
Imports System.data.oledb
Imports System.Data
Public Class Form1
Inherits System.Windows.Forms.Form
Public Enum etif
efilename = 0
|
by: JIM.H. |
last post by:
Hello,
I decided to use stored procedure for select, update, insert, and delete and
these are my first stored procedures. This code was working when I created my
adapter through wizard.
DataRow dr= dataSet11.myTableName.NewRow();
string myPar=tb myPar.Text;
dr= myPar;
dataSet11.Tables.Rows.Add(dr);
sqlDataAdapter1.Update(dataSet11,...
|
by: aceaceace |
last post by:
Someone please help me and I can't get an answer anywhere.
I don't know what I'm doing wrong.
When I make a change to the datagrid and click the button that has the following code it doesn't update for some reason.
DataGrid1.Update()
SqlDataAdapter1.Update(DataSet11)
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
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...
|