Click here to Skip to main content
16,011,784 members
Home / Discussions / C#
   

C#

 
AnswerRe: WinForms - Detect End of RichTextBox Pin
BobJanova16-Nov-11 6:07
BobJanova16-Nov-11 6:07 
GeneralRe: WinForms - Detect End of RichTextBox Pin
Matt U.16-Nov-11 8:20
Matt U.16-Nov-11 8:20 
GeneralRe: WinForms - Detect End of RichTextBox Pin
Pete O'Hanlon16-Nov-11 8:45
mvePete O'Hanlon16-Nov-11 8:45 
GeneralRe: WinForms - Detect End of RichTextBox Pin
Matt U.16-Nov-11 8:50
Matt U.16-Nov-11 8:50 
GeneralRe: WinForms - Detect End of RichTextBox Pin
BobJanova16-Nov-11 23:16
BobJanova16-Nov-11 23:16 
AnswerRe: WinForms - Detect End of RichTextBox Pin
BillWoodruff16-Nov-11 14:41
professionalBillWoodruff16-Nov-11 14:41 
QuestionBug in ShowWindow in Windows 7 Pin
Axonn Echysttas16-Nov-11 2:08
Axonn Echysttas16-Nov-11 2:08 
Questionproblem: popup image onclick gridview image using model popup and web service Pin
Rohit Sharma70616-Nov-11 1:38
Rohit Sharma70616-Nov-11 1:38 
I am sending image path(as image save in folder) from web service like

[System.Web.Services.WebMethod(), System.Web.Script.Services.ScriptMethodAttribute()]
public static string GetDynamicContent(string contextKey)
{
string constr = "Data Source=Subhasish-PC;Initial Catalog=testabhijit;Integrated Security=SSPI;";
string query = "SELECT ImagePath FROM imagetable WHERE id = " + contextKey;


SqlDataAdapter da = new SqlDataAdapter(query, constr);
DataTable table = new DataTable();

da.Fill(table);
string x = table.Rows[0]["ImagePath"].ToString();


return x.ToString();

}

Now at .aspx page i am taking panel and image control, like below

<asp:Panel runat="server" CssClass="modalPopup" ID="panSaving" Style="display: none">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<asp:Image ID="imgClose" runat="server" ImageUrl='' Height="336" Width="430"/>
</td>
</tr>

</table>
</asp:Panel>

My problem is how i will bind ImageUrl of image control......so that which path is sending at web service i can access. Thank you.
QuestionUpdating the password handling Pin
Bernhard Hiller15-Nov-11 20:32
Bernhard Hiller15-Nov-11 20:32 
AnswerRe: Updating the password handling PinPopular
Peter_in_278015-Nov-11 20:45
professionalPeter_in_278015-Nov-11 20:45 
GeneralRe: Updating the password handling Pin
OriginalGriff16-Nov-11 0:13
mveOriginalGriff16-Nov-11 0:13 
GeneralRe: Updating the password handling Pin
Reiss16-Nov-11 2:57
professionalReiss16-Nov-11 2:57 
GeneralRe: Updating the password handling Pin
Peter_in_278016-Nov-11 9:53
professionalPeter_in_278016-Nov-11 9:53 
GeneralRe: Updating the password handling Pin
Bernhard Hiller16-Nov-11 21:45
Bernhard Hiller16-Nov-11 21:45 
AnswerRe: Updating the password handling Pin
BobJanova16-Nov-11 3:04
BobJanova16-Nov-11 3:04 
AnswerRe: Updating the password handling Pin
Luc Pattyn16-Nov-11 4:03
sitebuilderLuc Pattyn16-Nov-11 4:03 
GeneralRe: Updating the password handling Pin
Peter_in_278016-Nov-11 10:02
professionalPeter_in_278016-Nov-11 10:02 
GeneralRe: Updating the password handling Pin
Bernhard Hiller16-Nov-11 23:02
Bernhard Hiller16-Nov-11 23:02 
QuestionReading next block of data on button click event Pin
MumbleB15-Nov-11 18:55
MumbleB15-Nov-11 18:55 
AnswerRe: Reading next block of data on button click event Pin
RobCroll15-Nov-11 19:40
RobCroll15-Nov-11 19:40 
AnswerRe: Reading next block of data on button click event Pin
Wayne Gaylard15-Nov-11 19:42
professionalWayne Gaylard15-Nov-11 19:42 
AnswerRe: Reading next block of data on button click event Pin
BobJanova16-Nov-11 3:09
BobJanova16-Nov-11 3:09 
QuestionTimers & editing controls Pin
Krylosac15-Nov-11 16:35
Krylosac15-Nov-11 16:35 
AnswerRe: Timers & editing controls Pin
Wayne Gaylard15-Nov-11 17:06
professionalWayne Gaylard15-Nov-11 17:06 
GeneralRe: Timers & editing controls Pin
Krylosac15-Nov-11 17:39
Krylosac15-Nov-11 17:39 

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.