Create Datatable with 6 columns
1 Column should have a unique field which is used to update the datas from second database table.
Query the first Database and create the rows through code.
query the second Database and compare the each and every row compare with datatable and update the 3 columns in datatable.
You will get 6 column Datatable. If you wants to bind with anyother control just...
User Profile
Collapse
-
work it out as follows its sort out your problem
Copy the following code in Page load
[code=vbnet]
DataTable mydatatable = new DataTable();
DataColumn mydatacol = new DataColumn("Nam e", Type.GetType("S ystem.String")) ;
mydatatable.Col umns.Add(mydata col);
DataRow Mydatarow;
Mydatarow = mydatatable.New Row();
Mydatarow["Name"]...Leave a comment:
-
I am not finding anything like this.If you know please forward me.
Thanks in advanceLeave a comment:
-
-
thenmozhivasanraj replied to In LINQ stored procedures have Fast or LINQ Queries are Fast Access to Data Basein .NETStored procedures have the fast access to database becaz its the precompiled one.Leave a comment:
-
thenmozhivasanraj replied to VB.NET 2005 DataGridView Checkbox - Check Event need to know check statusin .NETFor this first we have to get the row of the grid in object
like this
for (int i = 0; i <= bl_ctrlgridview result.Rows.Cou nt-1; i++)
{
GridViewRow bl_gridviewrow;
bl_gridviewrow = bl_ctrlgridview result.Rows[i];
CheckBox cb = (CheckBox)bl_gr idviewrow.FindC ontrol("chkDele te");
if (cb.Checked)
...Leave a comment:
-
First think you have to create the backend table with 3 columns
id - Auto increment
Username, varchar
Password varchar
then in front end you have to design the page with 2 textboxes and one button.
first textbox with normal text and next one should be in pass word text mode.
create a connection string in web config to access the databse.
On button click you have to save the...Leave a comment:
-
using System.Web.Mail ;
MailMessage mailobj = new MailMessage();
mailobj.To = "a@a.com";
mailobj.From = "x@x.com";
mailobj.Subject = "Hi this is the test mail";
mailobj.BodyFor mat = MailFormat.Html ;
string strBody = "hi this is the test mail;
mailobj.Body = strBody;
...Leave a comment:
-
If you want to pass the values to html you can use like the following
For Example i have to pass the value to textbox in html
in code behind i will write a function
[code=cpp]
public string putvalue()
{
string bl_mystr="Sampl e Program";
return bl_mystr;
}
[/code]
in HTML source view
[code=asp]
<asp:textbox runat="server"...Leave a comment:
-
include the style property to position the table refer the following code
<asp:table id="Table2" runat="server" BorderStyle="So lid" BorderWidth="1" Width="607px" style="z-index: 100; left: 28px; position: absolute; top: 29px">
<asp:TableRow >
<asp:TableCel l Width="90px" Font-Bold="True" HorizontalAlign ="Center" Text="Title"></asp:TableCell>...Leave a comment:
-
Edit CSS file in C# .net
How to edit the CSS File class in asp .net using C#
No activity results to display
Show More
Leave a comment: