hi..
how to save the data in a DataTable
User Profile
Collapse
-
how to save the data in a datatable
-
Thank for your replys....
actually i am taking the id from one table that displays in datagrid and inserting to other table.. while inserting to other table it should not take the duplicate values... -
how to avoid duplicate ids to store in database
hi friends...
i am inserting Employee id to database through form...
how to find that the id is already there in the database.. if its already present then one message should come .. and the Emp id should not store in the database...
how to do this
i am using sql server 2005, C# and Asp.net
i have assigned the primary key to Emp Id...
but i also want to write a code in the appl... -
-
but it ll display only that particular fromdate and todate reports, but i want the reports from that start date to enddate, i.e it should display the reports b/w these dates including the start and end date...Leave a comment:
-
selecting a date range using query
hi friends..
i am using sql server 2005 reporting services..
in database the table contains startdate row and enddate row...
i want the query which display all the contents between these dates... when i externaly pass the startdate and enddate
SELECT *
FROM tmpFilePendStat Post
Where seccd=@seccd
GROUP BY
HAVING (fromdate = CONVERT(smallda tetime, @stdt,... -
Thanxs for your reply...
but its giving error
Cannot open database "D:\company.mdf " requested by the login. The login failed.
Login failed for user 'N0C7G6\Rekha'.Leave a comment:
-
VB.NET,winform- difficulties in datagridview
hi,
i was using .net1.1.. now i am using .net2.0 and sqlserver2005
in my form i have a datagrid and i want view the contents of contents of table how write the code in vb.net 2.0.. i tried the following code but its not working
plz help me
Code:Imports System.Data.SqlClient Public Class Form1 Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs)
-
how to insert values to the database using C# in Windows Application
i am using the database SQLSERver 2005, i m new to this i worked in sql server2000... but using sqlserver 2005 i dont know how to insert the values...
i write the code but the values is not storing in the database if anybody knows plz help me...
sql server2005
server type: database Engine
authentication :windows authentication
here is my code
private void butinsert_Click (object sender, EventArgs... -
how to generate a file in windows application using C#
plz help me its very very urgent
i want to know about the file generation using C# in windows application ..
back end is sql server 2005 plz help me -
hi..
thanx for your reply...
i corrected that error but its showing new errors
ERROR: OVERFLOW at
Please Enter Properly::Syste m.Data.OleDb.Ol eDbException: Overflow at System.Data.Ole Db.OleDbCommand .ExecuteCommand TextErrorHandli ng(OleDbHResult hr) at System.Data.Ole Db.OleDbCommand .ExecuteCommand TextForSingleRe sult(tagDBPARAM S dbParams, Object& executeResult) at System.Data.Ole Db.OleDbCommand .ExecuteCommand Text(Object&...Leave a comment:
-
hi...
the error is data type mismatch
Please Enter ProperlySystem. Data.OleDb.OleD bException: Data type mismatch in criteria expression. at System.Data.Ole Db.OleDbCommand .ExecuteCommand TextErrorHandli ng(OleDbHResult hr) at System.Data.Ole Db.OleDbCommand .ExecuteCommand TextForSingleRe sult(tagDBPARAM S dbParams, Object& executeResult) at System.Data.Ole Db.OleDbCommand .ExecuteCommand Text(Object& executeResult)...Leave a comment:
-
Inserting Values to Database
Front end: Asp.net
Code: C#
Backend:Msacces s
i am doing project on loan, i have to insert the customer values to the database, its showing errors in cmd.executenonq uery,
public partial class _Default : System.Web.UI.P age
{
OleDbConnection con;
OleDbCommand cmd;
protected void Page_Load(objec t sender, EventArgs e)
{
con=new... -
Its urgent plz help me, i need correct ans for these questions
if you know the ans plz heighlite that ans
3. Interoperabilit y classes include
a. System.Runtime. InteropServices
b. System.Runtime. InteropServices .CustomMarshall ers
c. System.Runtime. InteropServices .Expando
d. All the above
4. The Component’s __________ interface helps to maintain a reference count of the number of clients using the component.
a. Collection
b. IUnknown
... -
i didn't find the thread which is posted today
i didn't find the thread which is posted today, where shall i search for my thread... -
How to make .NET programs work in Linux
How to make .NET programs work in Linux -
-
commission updation
hi..
can anyone help me to write the code for commission updation..am doing project for a store in which there is a scheme as tree,one person should be member of that scheme, he is like a root node of that scheme, under him there will be two members like child nodes of that root..again two node are added to the child nodes and so on..
the root node gets 500/- as commission for first two child nodes.. and child nodes gets... -
search a node in treeview
when i select a particular node in a combobox it should search that node and display only that node and corresponding nodes in the treeview if any one know the code for this plz give the code
thank u -
To count the ChildNodes
In my proj it will dynamically add the nodes, but i want to count the child nodes when i select the parent node ... it should display the number of child nodes in the form ... i will attach the prog where should i modify to count the child nodes....
if any one knows that plz modify that...........
No activity results to display
Show More
Leave a comment: