Click here to Skip to main content
15,908,112 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionVB.Net 2003 std / ASP.NET made www-pages to server ? Pin
porsti8-Jan-07 23:14
porsti8-Jan-07 23:14 
AnswerRe: VB.Net 2003 std / ASP.NET made www-pages to server ? Pin
Guffa8-Jan-07 23:28
Guffa8-Jan-07 23:28 
GeneralRe: VB.Net 2003 std / ASP.NET made www-pages to server ? Pin
porsti9-Jan-07 1:19
porsti9-Jan-07 1:19 
QuestionActive TextBox Backcolor Pin
varshavmane8-Jan-07 22:55
varshavmane8-Jan-07 22:55 
AnswerRe: Active TextBox Backcolor Pin
Venkatesh Mookkan8-Jan-07 23:20
Venkatesh Mookkan8-Jan-07 23:20 
GeneralRe: Active TextBox Backcolor Pin
varshavmane8-Jan-07 23:39
varshavmane8-Jan-07 23:39 
QuestionWindows-Shutdown via Website Pin
Bombenleger8-Jan-07 22:22
Bombenleger8-Jan-07 22:22 
QuestionCould be wrong? Pin
nclauder8-Jan-07 22:09
nclauder8-Jan-07 22:09 
Hi,
I'm just wondering if I'm on the write truck. this code is ment to look
for an ID number in the datagrid that matches the the ID number that is
in the textbox I created.
But it's not selecting neither is it showing me any error. could some
one help me please?

private void bttok_click(object sender, System.EventArgs e)
{
con.Open();
try
{
using (SqlCommand myCommand = new SqlCommand("select * from employee where txtname.text=@id",con))
{
SqlParameter myparam = new SqlParameter("@id",SqlDbType.Text);
myparam.Value=ID;
myCommand.Parameters.Add(myparam);
using (SqlDataAdapter myAdapter=new SqlDataAdapter(myCommand))
{
DataSet ds = new DataSet();
myAdapter.Fill(ds);

datagrid1.DataSource=ds;
datagrid1.DataBind();
}
}
}
catch(Exception err)
{
err.ToString();
}
finally
{
con.Close();
}

}
AnswerRe: Could be wrong? Pin
Guffa8-Jan-07 22:26
Guffa8-Jan-07 22:26 
GeneralRe: Could be wrong? Pin
nclauder8-Jan-07 22:45
nclauder8-Jan-07 22:45 
GeneralRe: Could be wrong? Pin
Guffa8-Jan-07 23:24
Guffa8-Jan-07 23:24 
GeneralRe: Could be wrong? [modified] Pin
nclauder8-Jan-07 23:54
nclauder8-Jan-07 23:54 
QuestionCrystal Toolbar icons Pin
Blue_Boy8-Jan-07 21:56
Blue_Boy8-Jan-07 21:56 
QuestionProblem with ClientScript.RegisterStartupScript( ) [modified] Pin
Jay_se8-Jan-07 20:48
Jay_se8-Jan-07 20:48 
AnswerRe: Problem with ClientScript.RegisterStartupScript( ) Pin
szukuro8-Jan-07 23:33
szukuro8-Jan-07 23:33 
Questionhow to validate textbox in datagrid Pin
chinnivinay8-Jan-07 20:47
chinnivinay8-Jan-07 20:47 
AnswerRe: how to validate textbox in datagrid Pin
varshavmane9-Jan-07 18:32
varshavmane9-Jan-07 18:32 
Questionis it better way saving multiselect option listbox Pin
mohd imran abdul aziz8-Jan-07 20:42
mohd imran abdul aziz8-Jan-07 20:42 
QuestionMultithreaded application works in VS2005, not in production Pin
travich8-Jan-07 20:24
travich8-Jan-07 20:24 
QuestionSearch Facility Pin
Bulky Fellow8-Jan-07 19:46
Bulky Fellow8-Jan-07 19:46 
QuestionChanging Master Pages Dynamically in asp.net Pin
chohanpk8-Jan-07 19:37
chohanpk8-Jan-07 19:37 
AnswerRe: Changing Master Pages Dynamically in asp.net Pin
szukuro8-Jan-07 23:22
szukuro8-Jan-07 23:22 
QuestionGAC information Pin
mailto_nasar8-Jan-07 19:01
mailto_nasar8-Jan-07 19:01 
AnswerRe: GAC information Pin
Vikramaditya S Shekhawat8-Jan-07 19:45
Vikramaditya S Shekhawat8-Jan-07 19:45 
QuestionCreating dynamic columns in crystal report using C# 2005 Pin
ptvce8-Jan-07 18:49
ptvce8-Jan-07 18:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.