Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: vbscript empty memory from defined variable Pin
Mohammad Daba'an17-Mar-07 0:47
Mohammad Daba'an17-Mar-07 0:47 
GeneralRe: vbscript empty memory from defined variable Pin
PlayByTheRules17-Mar-07 1:15
PlayByTheRules17-Mar-07 1:15 
GeneralRe: vbscript empty memory from defined variable Pin
Mohammad Daba'an17-Mar-07 1:18
Mohammad Daba'an17-Mar-07 1:18 
GeneralRe: vbscript empty memory from defined variable Pin
Dave Kreskowiak17-Mar-07 4:03
mveDave Kreskowiak17-Mar-07 4:03 
QuestionCannot find the assembly, error on events - remoting Pin
panalprasad16-Mar-07 21:15
panalprasad16-Mar-07 21:15 
QuestionAccess individual items from a binding source Pin
12425616-Mar-07 20:30
12425616-Mar-07 20:30 
QuestionSimple Search Pin
tampasounds16-Mar-07 19:29
tampasounds16-Mar-07 19:29 
AnswerRe: Simple Search Pin
Naveed Kamboh18-Mar-07 4:34
Naveed Kamboh18-Mar-07 4:34 
Hope following method will help.


public void BindDataGrid(string sql, GridView GV)
{
//connect to database
dbConnect();
try
{
mysqlCommand = new MySqlCommand(sql);

mysqlCommand.Connection = connection;
mysqlAdapter = new MySqlDataAdapter(mysqlCommand);
dataset = new DataSet();
mysqlAdapter.Fill(dataset, "Table");
GV.DataSource = dataset;
GV.DataBind();
}
catch (Exception)
{

}
finally
{
connection.Close();
connection.Dispose();
}
}

Naveed Kamboh
Complexity kills, Write easy code for your self.
isolutionteam,Write easy code for your self.

Questionhow to convert from string(text) to binary representation Pin
Hasan ACAR16-Mar-07 17:55
Hasan ACAR16-Mar-07 17:55 
AnswerRe: how to convert from string(text) to binary representation Pin
Christian Graus16-Mar-07 18:43
protectorChristian Graus16-Mar-07 18:43 
QuestionDouble type Pin
Dothanhnam16-Mar-07 17:37
Dothanhnam16-Mar-07 17:37 
AnswerRe: Double type Pin
Christian Graus16-Mar-07 17:58
protectorChristian Graus16-Mar-07 17:58 
AnswerRe: Double type Pin
Leslie Sanford16-Mar-07 18:10
Leslie Sanford16-Mar-07 18:10 
Questionits multithreading not enough?? Pin
duke_tj16-Mar-07 16:04
duke_tj16-Mar-07 16:04 
Questiondot net remoting problem Pin
Tauseef A16-Mar-07 15:52
Tauseef A16-Mar-07 15:52 
AnswerRe: dot net remoting problem Pin
Karthik Kalyanasundaram16-Mar-07 16:06
Karthik Kalyanasundaram16-Mar-07 16:06 
QuestionRe: dot net remoting problem Pin
Tauseef A17-Mar-07 10:44
Tauseef A17-Mar-07 10:44 
AnswerRe: dot net remoting problem Pin
Karthik Kalyanasundaram18-Mar-07 5:31
Karthik Kalyanasundaram18-Mar-07 5:31 
QuestionHow to create a non-visual component? Pin
Tim Huetz16-Mar-07 13:42
Tim Huetz16-Mar-07 13:42 
AnswerRe: How to create a non-visual component? Pin
Daniel Grunwald16-Mar-07 14:23
Daniel Grunwald16-Mar-07 14:23 
GeneralRe: How to create a non-visual component? Pin
Tim Huetz17-Mar-07 0:53
Tim Huetz17-Mar-07 0:53 
Questionhow to wait for button press Pin
bluefl4me16-Mar-07 12:28
bluefl4me16-Mar-07 12:28 
AnswerRe: how to wait for button press Pin
Christian Graus16-Mar-07 12:52
protectorChristian Graus16-Mar-07 12:52 
QuestionRe: how to wait for button press Pin
bluefl4me17-Mar-07 2:30
bluefl4me17-Mar-07 2:30 
QuestionHow to query a website and get results Pin
trilokjain16-Mar-07 12:18
trilokjain16-Mar-07 12:18 

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.