Code:
foreach (DataRow row in ds.Tables[0].Rows)
{
if (row.ItemArray[1].ToString() == searchString)
{
blnFound = true;
}
}
foreach (DataRow row in ds.Tables[0].Rows)
{
if (row.ItemArray[1].ToString() == searchString)
{
blnFound = true;
}
}
DataSet ds = new DataSet(); SqlCommand cmd = new SqlCommand(selectString, conn); SqlDataAdapter
dsDataSet.Tables.Add("view")
strCommand = "Select * from view" objConnection = New SqlClient.SqlConnection(strconnect) objCommand = New SqlClient.SqlDataAdapter(strCommand, objConnection) objCommand.Fill(dsDataSet, "view")
<body>
<form id="form1" runat="server">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" style="background-image:url('~/images/header.jpg');
Leave a comment: